Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1128)

Unified Diff: src/compiler/wasm-compiler.cc

Issue 1717993002: [wasm] Fix bug in CallImport. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/mjsunit/wasm/import-table.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « no previous file | test/mjsunit/wasm/import-table.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698