Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 05ca9bb349757fa9d1759d2112209c91bdd69e9c..a143edc50467c3239327d26293125449511d91bf 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -415,7 +415,7 @@ CompilationJob::Status FinalizeUnoptimizedCompilationJob(CompilationJob* job) { |
bool GenerateUnoptimizedCode(CompilationInfo* info) { |
if (FLAG_validate_asm && info->scope()->asm_module() && |
- !info->shared_info()->is_asm_wasm_broken()) { |
+ !info->shared_info()->is_asm_wasm_broken() && !info->is_debug()) { |
EnsureFeedbackMetadata(info); |
MaybeHandle<FixedArray> wasm_data; |
wasm_data = AsmJs::ConvertAsmToWasm(info->parse_info()); |