Mercurial > hg > truffle
comparison src/share/vm/c1/c1_LIRGenerator.cpp @ 6848:8e47bac5643a
7054512: Compress class pointers after perm gen removal
Summary: support of compress class pointers in the compilers.
Reviewed-by: kvn, twisti
author | roland |
---|---|
date | Tue, 09 Oct 2012 10:11:38 +0200 |
parents | 8a02ca5e5576 |
children | e522a00b91aa 1e41b0bc58a0 |
comparison
equal
deleted
inserted
replaced
6847:65d07d9ee446 | 6848:8e47bac5643a |
---|---|
1284 // need to perform the null check on the rcvr | 1284 // need to perform the null check on the rcvr |
1285 CodeEmitInfo* info = NULL; | 1285 CodeEmitInfo* info = NULL; |
1286 if (x->needs_null_check()) { | 1286 if (x->needs_null_check()) { |
1287 info = state_for(x); | 1287 info = state_for(x); |
1288 } | 1288 } |
1289 __ move(new LIR_Address(rcvr.result(), oopDesc::klass_offset_in_bytes(), UseCompressedKlassPointers ? T_OBJECT : T_ADDRESS), result, info); | 1289 __ move(new LIR_Address(rcvr.result(), oopDesc::klass_offset_in_bytes(), T_ADDRESS), result, info); |
1290 __ move_wide(new LIR_Address(result, in_bytes(Klass::java_mirror_offset()), T_OBJECT), result); | 1290 __ move_wide(new LIR_Address(result, in_bytes(Klass::java_mirror_offset()), T_OBJECT), result); |
1291 } | 1291 } |
1292 | 1292 |
1293 | 1293 |
1294 // Example: Thread.currentThread() | 1294 // Example: Thread.currentThread() |