Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 341e2d771bc412f41dcc17cd75370cae0302c9eb..c3361de7176777fcfc5bb4c7419ad9be287699cf 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -430,7 +430,7 @@ bool GenerateUnoptimizedCode(CompilationInfo* info) { |
!info->shared_info()->is_asm_wasm_broken() && !info->is_debug()) { |
EnsureFeedbackMetadata(info); |
MaybeHandle<FixedArray> wasm_data; |
- wasm_data = AsmJs::ConvertAsmToWasm(info->parse_info()); |
+ wasm_data = AsmJs::CompileAsmViaWasm(info->parse_info()); |
if (!wasm_data.is_null()) { |
info->shared_info()->set_asm_wasm_data(*wasm_data.ToHandleChecked()); |
info->SetCode(info->isolate()->builtins()->InstantiateAsmJs()); |