Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index e7b40c48b802a6241a66a94a3345b57ad7ec34a9..60cbdc32712144ec48efeb4a8c979b8019bf4dbf 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -11912,6 +11912,20 @@ Handle<Object> JSObject::SetElementWithInterceptor( |
} |
+// TODO(ishell): Temporary wrapper until handlified. |
+Handle<Object> JSObject::GetElementWithCallback( |
+ Handle<JSObject> object, |
+ Handle<Object> receiver, |
+ Handle<Object> structure, |
+ uint32_t index, |
+ Handle<Object> holder) { |
+ CALL_HEAP_FUNCTION(object->GetIsolate(), |
+ object->GetElementWithCallback( |
+ *receiver, *structure, index, *holder), |
+ Object); |
+} |
+ |
+ |
MaybeObject* JSObject::GetElementWithCallback(Object* receiver, |
Object* structure, |
uint32_t index, |
@@ -12598,12 +12612,12 @@ Handle<Object> JSObject::SetElementWithoutInterceptor( |
Isolate* isolate = object->GetIsolate(); |
if (FLAG_trace_external_array_abuse && |
IsExternalArrayElementsKind(object->GetElementsKind())) { |
- CheckArrayAbuse(*object, "external elements write", index); |
+ CheckArrayAbuse(object, "external elements write", index); |
} |
if (FLAG_trace_js_array_abuse && |
!IsExternalArrayElementsKind(object->GetElementsKind())) { |
if (object->IsJSArray()) { |
- CheckArrayAbuse(*object, "elements write", index, true); |
+ CheckArrayAbuse(object, "elements write", index, true); |
} |
} |
switch (object->GetElementsKind()) { |