--- a/src/hotspot/cpu/x86/interp_masm_x86.hpp Wed Apr 18 15:57:19 2018 +0200
+++ b/src/hotspot/cpu/x86/interp_masm_x86.hpp Wed Apr 18 10:39:40 2018 -0400
@@ -122,7 +122,7 @@
size_t index_size = sizeof(u2));
// load cpool->resolved_references(index);
- void load_resolved_reference_at_index(Register result, Register index);
+ void load_resolved_reference_at_index(Register result, Register index, Register tmp = rscratch2);
// load cpool->resolved_klass_at(index)
void load_resolved_klass_at_index(Register cpool, // the constant pool (corrupted on return)