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

Unified Diff: src/objects-debug.cc

Issue 10876067: Introduce global contexts to represent lexical global scope(s). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 4 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-debug.cc
diff --git a/src/objects-debug.cc b/src/objects-debug.cc
index 4343ad1893ff2d9c2e330e3b12564fc73f8c637c..6f02849b6362016cd647efb637d2ef99b27e65c6 100644
--- a/src/objects-debug.cc
+++ b/src/objects-debug.cc
@@ -382,7 +382,8 @@ void FixedDoubleArray::FixedDoubleArrayVerify() {
void JSModule::JSModuleVerify() {
VerifyObjectField(kContextOffset);
VerifyObjectField(kScopeInfoOffset);
- CHECK(context()->IsUndefined() || context()->IsModuleContext());
+ CHECK(context()->IsUndefined() ||
+ Context::cast(context())->IsModuleContext());
}

Powered by Google App Engine
This is Rietveld 408576698