Index: src/compiler/wasm-compiler.cc |
diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc |
index fe1b4a9881ef116779ec77326ac7d6603c46862e..80637d63035391f0e1b4b802ad69c0c4390be48f 100644 |
--- a/src/compiler/wasm-compiler.cc |
+++ b/src/compiler/wasm-compiler.cc |
@@ -1509,7 +1509,7 @@ Node* WasmGraphBuilder::CallImport(uint32_t index, Node** args) { |
// Add code object as constant. |
args[0] = Constant(module_->GetImportCode(index)); |
- wasm::FunctionSig* sig = module_->GetFunctionSignature(index); |
+ wasm::FunctionSig* sig = module_->GetImportSignature(index); |
return BuildWasmCall(sig, args); |
} |