Mercurial > hg > graal-compiler
diff src/share/vm/compiler/oopMap.hpp @ 8151:b8f261ba79c6
Minimize diff to plain HotSpot version.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 07 Mar 2013 21:00:29 +0100 |
parents | 06f017f7daa7 |
children | 82ff6c8c8f6e |
line wrap: on
line diff
--- a/src/share/vm/compiler/oopMap.hpp Thu Mar 07 15:17:51 2013 +0100 +++ b/src/share/vm/compiler/oopMap.hpp Thu Mar 07 21:00:29 2013 +0100 @@ -47,7 +47,7 @@ class OopMapValue: public StackObj { friend class VMStructs; private: - int _value; + short _value; int value() const { return _value; } void set_value(int value) { _value = value; } short _content_reg; @@ -55,7 +55,7 @@ public: // Constants enum { type_bits = 5, - register_bits = BitsPerJavaInteger - type_bits }; + register_bits = BitsPerShort - type_bits }; enum { type_shift = 0, register_shift = type_bits };