Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 2183fb434a9d24400ec9814a941daa0d120de2db..e47b28259eafc1dbc5091336ecee28fa4a8f755b 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -12123,7 +12123,8 @@ Handle<Object> JSObject::SetElement(Handle<JSObject> object, |
if (object->HasExternalArrayElements()) { |
if (!value->IsNumber() && !value->IsUndefined()) { |
bool has_exception; |
- Handle<Object> number = Execution::ToNumber(value, &has_exception); |
+ Handle<Object> number = |
+ Execution::ToNumber(object->GetIsolate(), value, &has_exception); |
if (has_exception) return Handle<Object>(); |
value = number; |
} |