diff options
Diffstat (limited to 'deps/v8/src/handles/global-handles.cc')
-rw-r--r-- | deps/v8/src/handles/global-handles.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/v8/src/handles/global-handles.cc b/deps/v8/src/handles/global-handles.cc index df4042e8ebd..e6dbd6ad450 100644 --- a/deps/v8/src/handles/global-handles.cc +++ b/deps/v8/src/handles/global-handles.cc @@ -381,10 +381,11 @@ namespace { void ExtractInternalFields(JSObject jsobject, void** embedder_fields, int len) { int field_count = jsobject.GetEmbedderFieldCount(); + const Isolate* isolate = GetIsolateForPtrCompr(jsobject); for (int i = 0; i < len; ++i) { if (field_count == i) break; void* pointer; - if (EmbedderDataSlot(jsobject, i).ToAlignedPointer(&pointer)) { + if (EmbedderDataSlot(jsobject, i).ToAlignedPointer(isolate, &pointer)) { embedder_fields[i] = pointer; } } |