diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2015-10-26 19:47:43 +0100 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@gmail.com> | 2015-10-27 10:45:23 +0100 |
commit | 51e1489aaa6684298906b06ce0a6d95fa5b2fae5 (patch) | |
tree | 017d783408fa5e572f742c579f07424466aa32e9 /test/junit | |
parent | 4e994933c4b40a90555fe8acbe630f1c2fd03f55 (diff) | |
download | scala-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