summaryrefslogtreecommitdiff
path: root/test/junit
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@gmail.com>2015-10-26 19:47:43 +0100
committerLukas Rytz <lukas.rytz@gmail.com>2015-10-27 10:45:23 +0100
commit51e1489aaa6684298906b06ce0a6d95fa5b2fae5 (patch)
tree017d783408fa5e572f742c579f07424466aa32e9 /test/junit
parent4e994933c4b40a90555fe8acbe630f1c2fd03f55 (diff)
downloadscala-51e1489aaa6684298906b06ce0a6d95fa5b2fae5.tar.gz
scala-51e1489aaa6684298906b06ce0a6d95fa5b2fae5.tar.bz2
scala-51e1489aaa6684298906b06ce0a6d95fa5b2fae5.zip
Use a single Int for the prod / cons values of InstructionStackEffect
The maximal number of produced values of any instruction is 6, so we can safely encode the number of consumed and produced values into a single Int as (prod << 3) + cons.
Diffstat (limited to 'test/junit')
0 files changed, 0 insertions, 0 deletions