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

Unified Diff: src/objects.cc

Issue 7152002: Change the representation of catch contexts. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 6 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
Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index 871913f64da3a1f43ba32d007d52ba4e9b37c809..4b8a8aa98887da423cbb6e4c3f287ea077504ec4 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -3230,7 +3230,7 @@ bool JSObject::ReferencesObject(Object* obj) {
// Check the context extension if any.
if (context->has_extension()) {
- return context->extension()->ReferencesObject(obj);
+ return JSObject::cast(context->extension())->ReferencesObject(obj);
}
}

Powered by Google App Engine
This is Rietveld 408576698