Mercurial > hg > truffle
diff src/share/vm/shark/sharkIntrinsics.cpp @ 4988:eb5b24d1499f
Merge
author | Christian Haeubl <christian.haeubl@oracle.com> |
---|---|
date | Mon, 27 Feb 2012 15:06:36 -0800 |
parents | 069ab3f976d3 |
children | 2cd5e15048e6 |
line wrap: on
line diff
--- a/src/share/vm/shark/sharkIntrinsics.cpp Mon Feb 27 14:50:58 2012 -0800 +++ b/src/share/vm/shark/sharkIntrinsics.cpp Mon Feb 27 15:06:36 2012 -0800 @@ -213,17 +213,11 @@ SharkType::oop_type(), "klass"); - Value *klass_part = builder()->CreateAddressOfStructEntry( - klass, - in_ByteSize(klassOopDesc::klass_part_offset_in_bytes()), - SharkType::klass_type(), - "klass_part"); - state()->push( SharkValue::create_jobject( builder()->CreateValueOfStructEntry( - klass_part, - in_ByteSize(Klass::java_mirror_offset_in_bytes()), + klass, + Klass::java_mirror_offset(), SharkType::oop_type(), "java_mirror"), true));