Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index 2e552e10f3b1256ab9b8bf6b0c87bd070900515e..596ddf3d096b8b620dc49b508d0abfacc126cf30 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -1113,6 +1113,7 @@ void* Parser::ParseSourceElements(ZoneList<Statement*>* processor, |
// Store the usage count; The actual use counter on the isolate is |
// incremented after parsing is done. |
++use_counts_[v8::Isolate::kUseAsm]; |
+ scope_->SetAsmModule(); |
} |
} else { |
// End of the directive prologue. |