Index: src/runtime/runtime-debug.cc |
diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc |
index f8c123867ae0493337a344499898dc32c33f0ba3..d765f9a432a53d5b51bce03cbc56e61e92327020 100644 |
--- a/src/runtime/runtime-debug.cc |
+++ b/src/runtime/runtime-debug.cc |
@@ -2371,7 +2371,7 @@ static int DebugReferencedBy(HeapIterator* iterator, JSObject* target, |
// checked in the context of functions using them. |
JSObject* obj = JSObject::cast(heap_obj); |
if (obj->IsJSContextExtensionObject() || |
- obj->map()->constructor() == arguments_function) { |
+ obj->map()->GetConstructor() == arguments_function) { |
continue; |
} |
@@ -2434,7 +2434,7 @@ RUNTIME_FUNCTION(Runtime_DebugReferencedBy) { |
// Get the constructor function for context extension and arguments array. |
Handle<JSFunction> arguments_function( |
- JSFunction::cast(isolate->sloppy_arguments_map()->constructor())); |
+ JSFunction::cast(isolate->sloppy_arguments_map()->GetConstructor())); |
// Get the number of referencing objects. |
int count; |
@@ -2482,7 +2482,7 @@ static int DebugConstructedBy(HeapIterator* iterator, JSFunction* constructor, |
// Only look at all JSObjects. |
if (heap_obj->IsJSObject()) { |
JSObject* obj = JSObject::cast(heap_obj); |
- if (obj->map()->constructor() == constructor) { |
+ if (obj->map()->GetConstructor() == constructor) { |
// Valid reference found add to instance array if supplied an update |
// count. |
if (instances != NULL && count < instances_size) { |