diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-02-24 12:37:21 -0500 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-02-24 12:37:21 -0500 |
commit | ebaec26046c54995f597d2043e2d3b3a3413bc18 (patch) | |
tree | d32e158f09e6d6117f238d976d6767ba3631f8ca | |
parent | eae16f56ebede3dfbf584df5b3c968be0a8dfbab (diff) | |
download | roux-ebaec26046c54995f597d2043e2d3b3a3413bc18.tar.gz |
do not print null offsets
-rw-r--r-- | lisc/emit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisc/emit.c b/lisc/emit.c index 512f68d..876d9ef 100644 --- a/lisc/emit.c +++ b/lisc/emit.c @@ -257,6 +257,7 @@ Next: m->base = TMP(RBP); } if (m->offset.type != CUndef) + if (m->offset.bits.i != 0) emitcon(&m->offset, f); if (req(m->base, R) && req(m->index, R)) break; |