summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-compiler/core/codegen.c
diff options
context:
space:
mode:
authorJohn Bampton <[email protected]>2020-12-15 19:34:01 +1000
committerJohn Bampton <[email protected]>2020-12-15 19:44:02 +1000
commit4fa3359d44471cf301fe6755dd281a87304d5d01 (patch)
tree5161a88ea84758ea3dca9b5271745207964015e0 /mrbgems/mruby-compiler/core/codegen.c
parente9fe337b952731226449027a4c34471af27b23e6 (diff)
downloadmruby-4fa3359d44471cf301fe6755dd281a87304d5d01.tar.gz
mruby-4fa3359d44471cf301fe6755dd281a87304d5d01.zip
refactor: remove trailing whitespace from C, Header, Ruby and YAML files
Lint
Diffstat (limited to 'mrbgems/mruby-compiler/core/codegen.c')
-rw-r--r--mrbgems/mruby-compiler/core/codegen.c2
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;