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

Unified Diff: src/objects-debug.cc

Issue 2302783002: [modules] Basic support of exports (Closed)
Patch Set: . Created 4 years, 3 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 7d426a045eb9b2584e22e207ee0607ca39191e7a..66e5bde4e09225d0cf214ff6dac5b21fb4c19d63 100644
--- a/src/objects-debug.cc
+++ b/src/objects-debug.cc
@@ -166,6 +166,9 @@ void HeapObject::HeapObjectVerify() {
case JS_PROXY_TYPE:
JSProxy::cast(this)->JSProxyVerify();
break;
+ case JS_MODULE_TYPE:
+ JSModule::cast(this)->JSModuleVerify();
+ break;
case FOREIGN_TYPE:
Foreign::cast(this)->ForeignVerify();
break;
@@ -831,6 +834,7 @@ void JSRegExp::JSRegExpVerify() {
}
}
+void JSModule::JSModuleVerify() { CHECK(IsJSModule()); }
void JSProxy::JSProxyVerify() {
CHECK(IsJSProxy());
« src/interpreter/bytecode-generator.cc ('K') | « src/objects.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698