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

Unified Diff: test/cctest/wasm/wasm-run-utils.h

Issue 2463743002: [wasm] Use correct parameter type in wasm-run-utils.h (Closed)
Patch Set: Created 4 years, 1 month 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 | « test/cctest/wasm/test-run-wasm.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/wasm/wasm-run-utils.h
diff --git a/test/cctest/wasm/wasm-run-utils.h b/test/cctest/wasm/wasm-run-utils.h
index 4045356ff63def74cc5418c36277556c558d80ce..4f997106cad90bc3cc255a5edbd74a2784e0c018 100644
--- a/test/cctest/wasm/wasm-run-utils.h
+++ b/test/cctest/wasm/wasm-run-utils.h
@@ -355,7 +355,7 @@ class WasmFunctionWrapper : public HandleAndZoneScope,
}
if (p1 != MachineType::None()) {
parameters[parameter_count] = graph()->NewNode(
- machine()->Load(p0),
+ machine()->Load(p1),
graph()->NewNode(common()->Parameter(1), graph()->start()),
graph()->NewNode(common()->Int32Constant(0)), effect,
graph()->start());
@@ -363,7 +363,7 @@ class WasmFunctionWrapper : public HandleAndZoneScope,
}
if (p2 != MachineType::None()) {
parameters[parameter_count] = graph()->NewNode(
- machine()->Load(p0),
+ machine()->Load(p2),
graph()->NewNode(common()->Parameter(2), graph()->start()),
graph()->NewNode(common()->Int32Constant(0)), effect,
graph()->start());
@@ -371,7 +371,7 @@ class WasmFunctionWrapper : public HandleAndZoneScope,
}
if (p3 != MachineType::None()) {
parameters[parameter_count] = graph()->NewNode(
- machine()->Load(p0),
+ machine()->Load(p3),
graph()->NewNode(common()->Parameter(3), graph()->start()),
graph()->NewNode(common()->Int32Constant(0)), effect,
graph()->start());
« no previous file with comments | « test/cctest/wasm/test-run-wasm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698