mirror of
https://github.com/Noratrieb/riverdelta.git
synced 2026-01-17 09:55:02 +01:00
fix offset
This commit is contained in:
parent
93f478546e
commit
a0599342ea
2 changed files with 2 additions and 2 deletions
|
|
@ -215,7 +215,7 @@ function printBlockType(type: Blocktype, f: FmtCtx) {
|
|||
}
|
||||
|
||||
function printMemarg(arg: MemArg, f: FmtCtx) {
|
||||
if (arg.offset === undefined || arg.offset === 0) {
|
||||
if (arg.offset !== undefined && arg.offset !== 0) {
|
||||
f.word(`offset=${arg.offset}`);
|
||||
}
|
||||
if (arg.align !== undefined) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue