Commit 754368ca authored by Manos Koukoutos's avatar Manos Koukoutos Committed by Commit Bot

[wasm] Fix inconsistencies in compiler interface API types

Change-Id: I29ab5285b3284ebecb97902703f5f1c0cc8f8961
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2317354Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
Commit-Queue: Manos Koukoutos <manoskouk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#69067}
parent dda133ad
......@@ -899,7 +899,8 @@ struct ControlBase {
F(LoadMem, LoadType type, const MemoryAccessImmediate<validate>& imm, \
const Value& index, Value* result) \
F(LoadTransform, LoadType type, LoadTransformationKind transform, \
MemoryAccessImmediate<validate>& imm, const Value& index, Value* result) \
const MemoryAccessImmediate<validate>& imm, const Value& index, \
Value* result) \
F(StoreMem, StoreType type, const MemoryAccessImmediate<validate>& imm, \
const Value& index, const Value& value) \
F(CurrentMemoryPages, Value* result) \
......
......@@ -499,7 +499,7 @@ class WasmGraphBuildingInterface {
}
void SimdLaneOp(FullDecoder* decoder, WasmOpcode opcode,
const SimdLaneImmediate<validate> imm, Vector<Value> inputs,
const SimdLaneImmediate<validate>& imm, Vector<Value> inputs,
Value* result) {
base::SmallVector<TFNode*, 8> nodes(inputs.size());
GetNodes(nodes.begin(), inputs);
......@@ -632,7 +632,7 @@ class WasmGraphBuildingInterface {
}
void TableGrow(FullDecoder* decoder, const TableIndexImmediate<validate>& imm,
Value& value, Value& delta, Value* result) {
const Value& value, const Value& delta, Value* result) {
result->node = BUILD(TableGrow, imm.index, value.node, delta.node);
}
......@@ -642,7 +642,7 @@ class WasmGraphBuildingInterface {
}
void TableFill(FullDecoder* decoder, const TableIndexImmediate<validate>& imm,
Value& start, Value& value, Value& count) {
const Value& start, const Value& value, const Value& count) {
BUILD(TableFill, imm.index, start.node, value.node, count.node);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment