Index: src/messages.cc |
diff --git a/src/messages.cc b/src/messages.cc |
index c9b26f2927451fba4cd30b33a5df8dd841e76a53..9e47ebabe2068767de54d2087e105e8768cf5501 100644 |
--- a/src/messages.cc |
+++ b/src/messages.cc |
@@ -7,6 +7,7 @@ |
#include "src/api.h" |
#include "src/execution.h" |
#include "src/isolate-inl.h" |
+#include "src/keys.h" |
#include "src/string-builder.h" |
namespace v8 { |
@@ -271,7 +272,8 @@ Handle<Object> CallSite::GetMethodName() { |
if (!current->IsJSObject()) break; |
Handle<JSObject> current_obj = Handle<JSObject>::cast(current); |
if (current_obj->IsAccessCheckNeeded()) break; |
- Handle<FixedArray> keys = JSObject::GetEnumPropertyKeys(current_obj); |
+ Handle<FixedArray> keys = |
+ KeyAccumulator::GetEnumPropertyKeys(isolate_, current_obj); |
for (int i = 0; i < keys->length(); i++) { |
HandleScope inner_scope(isolate_); |
if (!keys->get(i)->IsName()) continue; |