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

Unified Diff: src/objects-debug.cc

Issue 2367623004: [modules] Detect and throw exceptions for cyclic dependencies (Closed)
Patch Set: Handled review comments, added a test 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
« no previous file with comments | « src/objects.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-debug.cc
diff --git a/src/objects-debug.cc b/src/objects-debug.cc
index ccb4b8d2a46899a8704ded3c34e13359299b613a..fee4ab36cce480e8d4bec0455ab318c488c7d08c 100644
--- a/src/objects-debug.cc
+++ b/src/objects-debug.cc
@@ -928,6 +928,7 @@ void Module::ModuleVerify() {
requested_modules()->ObjectVerify();
VerifySmiField(kFlagsOffset);
embedder_data()->ObjectVerify();
+ CHECK(shared()->name()->IsSymbol());
// TODO(neis): Check more.
}
« no previous file with comments | « src/objects.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698