Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 447c1a3af5e9db22ca550cd72db54915dc866ccc..ed3a120ac7079564173bd8fcaad094ab577b8cdf 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -1352,6 +1352,7 @@ bool Compiler::EnsureBytecode(CompilationInfo* info) { |
if (!info->shared_info()->HasBytecodeArray()) { |
Handle<Code> original_code(info->shared_info()->code()); |
if (GetUnoptimizedCode(info).is_null()) return false; |
+ if (info->shared_info()->HasAsmWasmData()) return false; |
DCHECK(info->shared_info()->is_compiled()); |
if (original_code->kind() == Code::FUNCTION) { |
// Generating bytecode will install the {InterpreterEntryTrampoline} as |