diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-12-15 22:30:38 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-12-15 22:30:38 +0900 |
| commit | 2f177dcd7232f8b8d1d1dd2c4ed3d71583139afe (patch) | |
| tree | 5161a88ea84758ea3dca9b5271745207964015e0 /mrbgems/mruby-compiler/core/codegen.c | |
| parent | e9fe337b952731226449027a4c34471af27b23e6 (diff) | |
| parent | 4fa3359d44471cf301fe6755dd281a87304d5d01 (diff) | |
| download | mruby-2f177dcd7232f8b8d1d1dd2c4ed3d71583139afe.tar.gz mruby-2f177dcd7232f8b8d1d1dd2c4ed3d71583139afe.zip | |
Merge pull request #5222 from jbampton/remove-trailing-whitespace
refactor: remove trailing whitespace from C, Header, Ruby and YAML files
Diffstat (limited to 'mrbgems/mruby-compiler/core/codegen.c')
| -rw-r--r-- | mrbgems/mruby-compiler/core/codegen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-compiler/core/codegen.c b/mrbgems/mruby-compiler/core/codegen.c index 28a484133..66763b953 100644 --- a/mrbgems/mruby-compiler/core/codegen.c +++ b/mrbgems/mruby-compiler/core/codegen.c @@ -2498,7 +2498,7 @@ codegen(codegen_scope *s, node *tree, int val) else { if (i < 0) { if (i == -1) genop_1(s, OP_LOADI__1, cursp()); - else if (i >= -0xff) genop_2(s, OP_LOADINEG, cursp(), (uint16_t)-i); + else if (i >= -0xff) genop_2(s, OP_LOADINEG, cursp(), (uint16_t)-i); else if (i >= INT16_MIN) genop_2S(s, OP_LOADI16, cursp(), (uint16_t)i); else if (i >= INT32_MIN) genop_2SS(s, OP_LOADI32, cursp(), (uint32_t)i); else goto lit_int; |
