Index: src/runtime/runtime-debug.cc |
diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc |
index 18c59d98ca93edad88770ade1abee578f0054011..21043d1b941d664ae2eff629213d084c5de0508d 100644 |
--- a/src/runtime/runtime-debug.cc |
+++ b/src/runtime/runtime-debug.cc |
@@ -332,10 +332,14 @@ RUNTIME_FUNCTION(Runtime_DebugGetPropertyDetails) { |
details->set( |
2, isolate->heap()->ToBoolean(it.state() == LookupIterator::INTERCEPTOR)); |
if (has_js_accessors) { |
- AccessorPair* accessors = AccessorPair::cast(*maybe_pair); |
+ Handle<AccessorPair> accessors = Handle<AccessorPair>::cast(maybe_pair); |
details->set(3, isolate->heap()->ToBoolean(has_caught)); |
- details->set(4, accessors->GetComponent(ACCESSOR_GETTER)); |
- details->set(5, accessors->GetComponent(ACCESSOR_SETTER)); |
+ Handle<Object> getter = |
+ AccessorPair::GetComponent(accessors, ACCESSOR_GETTER); |
+ Handle<Object> setter = |
+ AccessorPair::GetComponent(accessors, ACCESSOR_SETTER); |
+ details->set(4, *getter); |
+ details->set(5, *setter); |
} |
return *isolate->factory()->NewJSArrayWithElements(details); |