Mercurial > hg > graal-compiler
comparison src/cpu/x86/vm/interp_masm_x86_32.cpp @ 1108:85f13cdfbc1d
6829192: JSR 292 needs to support 64-bit x86
Summary: changes for method handles and invokedynamic
Reviewed-by: kvn
author | twisti |
---|---|
date | Wed, 16 Dec 2009 12:48:04 +0100 |
parents | 6918603297f7 |
children | 87684f1a88b5 |
comparison
equal
deleted
inserted
replaced
1102:6dc5471e0f66 | 1108:85f13cdfbc1d |
---|---|
194 if (!giant_index) { | 194 if (!giant_index) { |
195 load_unsigned_short(reg, Address(rsi, bcp_offset)); | 195 load_unsigned_short(reg, Address(rsi, bcp_offset)); |
196 } else { | 196 } else { |
197 assert(EnableInvokeDynamic, "giant index used only for EnableInvokeDynamic"); | 197 assert(EnableInvokeDynamic, "giant index used only for EnableInvokeDynamic"); |
198 movl(reg, Address(rsi, bcp_offset)); | 198 movl(reg, Address(rsi, bcp_offset)); |
199 // Check if the secondary index definition is still ~x, otherwise | |
200 // we have to change the following assembler code to calculate the | |
201 // plain index. | |
199 assert(constantPoolCacheOopDesc::decode_secondary_index(~123) == 123, "else change next line"); | 202 assert(constantPoolCacheOopDesc::decode_secondary_index(~123) == 123, "else change next line"); |
200 notl(reg); // convert to plain index | 203 notl(reg); // convert to plain index |
201 } | 204 } |
202 } | 205 } |
203 | 206 |