comparison src/share/vm/c1/c1_Instruction.hpp @ 2014:4de5f4101cfd

Merge
author iveresov
date Wed, 08 Dec 2010 17:50:49 -0800
parents ac637b7220d1
children 403dc4c1d7f5
comparison
equal deleted inserted replaced
1990:401fbd7ff77c 2014:4de5f4101cfd
2108 }; 2108 };
2109 2109
2110 2110
2111 LEAF(UnsafeGetRaw, UnsafeRawOp) 2111 LEAF(UnsafeGetRaw, UnsafeRawOp)
2112 private: 2112 private:
2113 bool _may_be_unaligned; // For OSREntry 2113 bool _may_be_unaligned, _is_wide; // For OSREntry
2114 2114
2115 public: 2115 public:
2116 UnsafeGetRaw(BasicType basic_type, Value addr, bool may_be_unaligned) 2116 UnsafeGetRaw(BasicType basic_type, Value addr, bool may_be_unaligned, bool is_wide = false)
2117 : UnsafeRawOp(basic_type, addr, false) { 2117 : UnsafeRawOp(basic_type, addr, false) {
2118 _may_be_unaligned = may_be_unaligned; 2118 _may_be_unaligned = may_be_unaligned;
2119 } 2119 _is_wide = is_wide;
2120 2120 }
2121 UnsafeGetRaw(BasicType basic_type, Value base, Value index, int log2_scale, bool may_be_unaligned) 2121
2122 UnsafeGetRaw(BasicType basic_type, Value base, Value index, int log2_scale, bool may_be_unaligned, bool is_wide = false)
2122 : UnsafeRawOp(basic_type, base, index, log2_scale, false) { 2123 : UnsafeRawOp(basic_type, base, index, log2_scale, false) {
2123 _may_be_unaligned = may_be_unaligned; 2124 _may_be_unaligned = may_be_unaligned;
2124 } 2125 _is_wide = is_wide;
2125 2126 }
2126 bool may_be_unaligned() { return _may_be_unaligned; } 2127
2128 bool may_be_unaligned() { return _may_be_unaligned; }
2129 bool is_wide() { return _is_wide; }
2127 }; 2130 };
2128 2131
2129 2132
2130 LEAF(UnsafePutRaw, UnsafeRawOp) 2133 LEAF(UnsafePutRaw, UnsafeRawOp)
2131 private: 2134 private: