Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1457)

Unified Diff: src/runtime.cc

Issue 9592048: Caught yet another escaped hole. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime.cc
diff --git a/src/runtime.cc b/src/runtime.cc
index 1da4f630380c69361029dccea9f69facf1ef3cf9..bdf541c03e3e95605b841a3151e72a8779c5907f 100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -10493,9 +10493,10 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_DebugGetPropertyDetails) {
details->set(0, *value);
details->set(1, property_details);
if (hasJavaScriptAccessors) {
+ AccessorPair* accessors = AccessorPair::cast(*result_callback_obj);
details->set(2, isolate->heap()->ToBoolean(caught_exception));
- details->set(3, AccessorPair::cast(*result_callback_obj)->getter());
- details->set(4, AccessorPair::cast(*result_callback_obj)->setter());
+ details->set(3, accessors->SafeGet(ACCESSOR_GETTER));
+ details->set(4, accessors->SafeGet(ACCESSOR_SETTER));
}
return *isolate->factory()->NewJSArrayWithElements(details);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698