equal
deleted
inserted
replaced
203 size_t index_size) { |
203 size_t index_size) { |
204 assert(bcp_offset > 0, "bcp is still pointing to start of bytecode"); |
204 assert(bcp_offset > 0, "bcp is still pointing to start of bytecode"); |
205 if (index_size == sizeof(u2)) { |
205 if (index_size == sizeof(u2)) { |
206 load_unsigned_short(index, Address(r13, bcp_offset)); |
206 load_unsigned_short(index, Address(r13, bcp_offset)); |
207 } else if (index_size == sizeof(u4)) { |
207 } else if (index_size == sizeof(u4)) { |
208 assert(EnableInvokeDynamic, "giant index used only for JSR 292"); |
|
209 movl(index, Address(r13, bcp_offset)); |
208 movl(index, Address(r13, bcp_offset)); |
210 // Check if the secondary index definition is still ~x, otherwise |
209 // Check if the secondary index definition is still ~x, otherwise |
211 // we have to change the following assembler code to calculate the |
210 // we have to change the following assembler code to calculate the |
212 // plain index. |
211 // plain index. |
213 assert(ConstantPool::decode_invokedynamic_index(~123) == 123, "else change next line"); |
212 assert(ConstantPool::decode_invokedynamic_index(~123) == 123, "else change next line"); |