0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2025-01-19 04:16:07 -05:00
denoland-rusty-v8/src
Ben Noordhuis 3fa9fb36ed
Fix runtime assert when hashing module object (#522)
The blanket `std:#️⃣:Hash` impl for instances of `v8::Data` invokes
`v8::internal::Object::GetHash()` but that crashes for `v8::Module`
objects. Use a custom impl that calls `v8::Module::get_identity_hash()`.

Fixes the following runtime assertion:

    # Fatal error in ../../../v8/src/objects/objects-inl.h, line 1043
    # Debug check failed: object.IsJSReceiver().

Refs: https://github.com/denoland/deno/pull/8354#discussion_r522157813
2020-11-15 00:07:52 +01:00
..
platform Fix race condition in v8::platform::Task tests (#355) 2020-04-20 19:19:00 +02:00
array_buffer.rs Fix minor SharedPtr/SharedRef issues, and add unit tests (#450) 2020-09-02 17:25:21 +02:00
array_buffer_view.rs Rewrite the scope system from scratch (#406) 2020-06-26 01:42:00 +02:00
bigint.rs add Symbol, Private, BigInt (#466) 2020-09-29 20:20:07 -04:00
binding.cc Simplify Function::new_with_data() (#510) 2020-10-27 15:15:00 +01:00
context.rs Rewrite the scope system from scratch (#406) 2020-06-26 01:42:00 +02:00
data.rs Fix runtime assert when hashing module object (#522) 2020-11-15 00:07:52 +01:00
date.rs Add Date::new() and Date::value_of() (#452) 2020-09-01 22:28:08 -04:00
exception.rs Remove 'context' param from (almost) all public methods (#406) 2020-06-26 03:00:06 +02:00
external.rs 'External' handles can be created without entering a Context (#416) 2020-07-05 01:36:51 +02:00
external_references.rs Make Isolate take ownership of CreateParams (#357) 2020-04-20 21:18:03 +02:00
function.rs Fix typo in ReturnValue struct comment (#521) 2020-11-13 14:41:15 +01:00
handle.rs Implement the 'Hash' trait for local and global handles (#415) 2020-07-08 10:27:34 +02:00
inspector.rs Rewrite the scope system from scratch (#406) 2020-06-26 01:42:00 +02:00
isolate.rs Add Isolate::clear_kept_objects() (#507) 2020-10-21 08:00:44 +02:00
isolate_create_params.rs Add support for setting V8 heap limits and using a near-heap-limit callback (#427) 2020-07-30 18:40:18 +02:00
json.rs Remove 'context' param from (almost) all public methods (#406) 2020-06-26 03:00:06 +02:00
lib.rs Remove mut from Example in lib.rs (#523) 2020-11-13 21:55:52 +01:00
module.rs Fix runtime assert when hashing module object (#522) 2020-11-15 00:07:52 +01:00
name.rs Implement the 'Hash' trait for local and global handles (#415) 2020-07-08 10:27:34 +02:00
number.rs Add 'Value::same_value_zero()' (#414) 2020-07-04 07:11:04 +02:00
object.rs Add Object::get_private() and friends (#498) 2020-10-15 14:37:29 +02:00
primitive_array.rs Rewrite the scope system from scratch (#406) 2020-06-26 01:42:00 +02:00
primitives.rs Rewrite the scope system from scratch (#406) 2020-06-26 01:42:00 +02:00
private.rs add Symbol, Private, BigInt (#466) 2020-09-29 20:20:07 -04:00
promise.rs Fix PromiseRejectMessage::get_value() (#493) 2020-10-09 12:58:57 +02:00
property_attribute.rs Add Object::define_own_property() (#228) 2020-01-20 11:16:24 -05:00
proxy.rs Remove unnecessary 'DerefMut' impl from 'Local<T>' (#406) 2020-06-26 15:05:39 +02:00
scope.rs Add APIs to store/retrieve embedder data in a Context or Isolate snapshot (#449) 2020-09-10 02:39:49 +02:00
script.rs Remove unnecessary 'DerefMut' impl from 'Local<T>' (#406) 2020-06-26 15:05:39 +02:00
script_compiler.rs Rewrite the scope system from scratch (#406) 2020-06-26 01:42:00 +02:00
script_or_module.rs Add more comments explaining why Local::from_raw() is appropriate (#389) 2020-05-31 19:39:08 +02:00
shared_array_buffer.rs Rewrite the scope system from scratch (#406) 2020-06-26 01:42:00 +02:00
snapshot.rs Add APIs to store/retrieve embedder data in a Context or Isolate snapshot (#449) 2020-09-10 02:39:49 +02:00
string.rs Rewrite the scope system from scratch (#406) 2020-06-26 01:42:00 +02:00
support.h add basic serializer bindings (#442) 2020-10-06 18:39:38 +02:00
support.rs add basic serializer bindings (#442) 2020-10-06 18:39:38 +02:00
symbol.rs add Symbol, Private, BigInt (#466) 2020-09-29 20:20:07 -04:00
template.rs add Object + ObjectTemplate internal field support (#477) 2020-09-29 19:04:59 -04:00
typed_array.rs add all TypedArray constructors (#482) 2020-10-06 14:16:22 -04:00
V8.rs Add V8::set_entropy_source() (#460) 2020-09-08 03:01:36 +02:00
value.rs Add 'Value::same_value_zero()' (#414) 2020-07-04 07:11:04 +02:00
value_deserializer.rs add basic serializer bindings (#442) 2020-10-06 18:39:38 +02:00
value_serializer.rs add basic serializer bindings (#442) 2020-10-06 18:39:38 +02:00