Mercurial > hg > truffle
diff src/share/vm/c1/c1_LinearScan.hpp @ 4948:c7401dcad8bf
7143038: SIGSEGV in assert_equal / LinearScan::assign_reg_num
Summary: forced exit may destory global objects that are still in use.
Reviewed-by: twisti, never, kvn
author | roland |
---|---|
date | Thu, 16 Feb 2012 09:20:40 +0100 |
parents | 7588156f5cf9 |
children | b9a9ed0f8eeb |
line wrap: on
line diff
--- a/src/share/vm/c1/c1_LinearScan.hpp Wed Feb 15 21:37:49 2012 -0800 +++ b/src/share/vm/c1/c1_LinearScan.hpp Thu Feb 16 09:20:40 2012 +0100 @@ -160,11 +160,11 @@ // TODO: cached scope values for registers could be static ScopeValueArray _scope_value_cache; - static ConstantOopWriteValue _oop_null_scope_value; - static ConstantIntValue _int_m1_scope_value; - static ConstantIntValue _int_0_scope_value; - static ConstantIntValue _int_1_scope_value; - static ConstantIntValue _int_2_scope_value; + static ConstantOopWriteValue* _oop_null_scope_value; + static ConstantIntValue* _int_m1_scope_value; + static ConstantIntValue* _int_0_scope_value; + static ConstantIntValue* _int_1_scope_value; + static ConstantIntValue* _int_2_scope_value; // accessors IR* ir() const { return _ir; }