Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index 9d10d308b24252a419b2362d944142bad3b81f7d..0d3dc92cc16552f8084b94808c7a1f5e612b4364 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -1120,6 +1120,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. |