Index: src/compiler/wasm-compiler.cc |
diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc |
index 42dcdeb5e17198a4c9c46311d1ec77cb55530a03..4392896c644b8796b013903a81c22a5804f71e5b 100644 |
--- a/src/compiler/wasm-compiler.cc |
+++ b/src/compiler/wasm-compiler.cc |
@@ -3385,7 +3385,7 @@ Handle<Code> WasmCompilationUnit::FinishCompilation() { |
function_->name_offset, function_->name_length); |
SNPrintF(buffer, "Compiling WASM function #%d:%.*s failed:", |
function_->func_index, name.length(), name.start()); |
- thrower_->Failed(buffer.start(), graph_construction_result_); |
+ thrower_->CompileFailed(buffer.start(), graph_construction_result_); |
} |
return Handle<Code>::null(); |