diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-03-17 05:15:40 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-03-17 05:15:40 -0700 |
| commit | 7872bee70013ed0763942f6097ca0a61000fc92a (patch) | |
| tree | b6bcfbb9c90d42bfd906b5c458889524f8d6bfef /src/opcode.h | |
| parent | 526f4bf6400acdc69b214076946c65b09828f643 (diff) | |
| parent | 83ddef68800a7b269cb08dd987e2f8df6f291710 (diff) | |
| download | mruby-7872bee70013ed0763942f6097ca0a61000fc92a.tar.gz mruby-7872bee70013ed0763942f6097ca0a61000fc92a.zip | |
Merge pull request #1024 from crimsonwoods/remove_bitshifted_constants_larger_than_16bit
remove bit-shift operation.
Diffstat (limited to 'src/opcode.h')
| -rw-r--r-- | src/opcode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opcode.h b/src/opcode.h index d77e2451f..7c2ec204d 100644 --- a/src/opcode.h +++ b/src/opcode.h @@ -7,7 +7,7 @@ #ifndef OPCODE_H #define OPCODE_H -#define MAXARG_Bx ((1<<16)-1) +#define MAXARG_Bx (0xffff) #define MAXARG_sBx (MAXARG_Bx>>1) /* `sBx' is signed */ /* instructions OP:A:B:C = 7:9:9:7 (32 bits) */ |
