mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 20:12:56 +02:00
[WebAssembly] Fix typos in mem.grow/memory.grow opcodes
This should be not 0x3f but 0x40. llvm-svn: 340373
This commit is contained in:
parent
b3bb3dc028
commit
5835a4ffcf
@ -475,14 +475,14 @@ defm MEMORY_GROW_I32 : I<(outs I32:$dst), (ins i32imm:$flags, I32:$delta),
|
||||
(int_wasm_memory_grow (i32 imm:$flags),
|
||||
I32:$delta))],
|
||||
"memory.grow\t$dst, $flags, $delta",
|
||||
"memory.grow\t$flags, $delta", 0x3f>,
|
||||
"memory.grow\t$flags, $delta", 0x40>,
|
||||
Requires<[HasAddr32]>;
|
||||
defm MEM_GROW_I32 : I<(outs I32:$dst), (ins i32imm:$flags, I32:$delta),
|
||||
(outs), (ins i32imm:$flags),
|
||||
[(set I32:$dst,
|
||||
(int_wasm_mem_grow (i32 imm:$flags), I32:$delta))],
|
||||
"mem.grow\t$dst, $flags, $delta", "mem.grow\t$flags",
|
||||
0x3f>,
|
||||
0x40>,
|
||||
Requires<[HasAddr32]>;
|
||||
defm GROW_MEMORY_I32 : I<(outs I32:$dst), (ins i32imm:$flags, I32:$delta),
|
||||
(outs), (ins i32imm:$flags),
|
||||
|
Loading…
Reference in New Issue
Block a user