diff options
Diffstat (limited to 'deps/v8/src/builtins/object-fromentries.tq')
-rw-r--r-- | deps/v8/src/builtins/object-fromentries.tq | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/deps/v8/src/builtins/object-fromentries.tq b/deps/v8/src/builtins/object-fromentries.tq index 2557b082a7..93851d4e11 100644 --- a/deps/v8/src/builtins/object-fromentries.tq +++ b/deps/v8/src/builtins/object-fromentries.tq @@ -42,9 +42,7 @@ namespace object { } label IfSlow { const result: JSObject = NewJSObject(); - const fastIteratorResultMap: Map = - Cast<Map>(LoadNativeContext(context)[ITERATOR_RESULT_MAP_INDEX]) - otherwise unreachable; + const fastIteratorResultMap: Map = GetIteratorResultMap(); let i: iterator::IteratorRecord = iterator::GetIterator(iterable); try { assert(!IsNullOrUndefined(i.object)); |