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

Unified Diff: src/full-codegen.cc

Issue 902093002: Add basic compilation support for modules (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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
« src/compiler.cc ('K') | « src/debug.cc ('k') | src/parser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/full-codegen.cc
diff --git a/src/full-codegen.cc b/src/full-codegen.cc
index e72dc7c5fdb3f832c76440affd7545bbc0035ea2..6098e547ee365322f4718ad832c0dbe7bb434d68 100644
--- a/src/full-codegen.cc
+++ b/src/full-codegen.cc
@@ -726,8 +726,8 @@ void FullCodeGenerator::VisitDeclarations(
if (scope_->num_modules() != 0) {
// Initialize modules from descriptor array.
- DCHECK(module_index_ == modules_->length());
- DeclareModules(modules_);
+ // DCHECK(module_index_ == modules_->length());
+ // DeclareModules(modules_);
rossberg 2015/02/06 12:36:56 Is this stray? Or a TODO?
adamk 2015/02/06 17:29:08 Oops. This is a TODO, I thought I'd managed to fix
modules_ = saved_modules;
module_index_ = saved_module_index;
}
« src/compiler.cc ('K') | « src/debug.cc ('k') | src/parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698