comparison src/cpu/ppc/vm/templateInterpreter_ppc.cpp @ 18857:5214669b01f2

moved generate_deopt_entry_for to InterpreterGenerator for all architectures Contributed-by: Igor Ignatyev <igor.ignatyev@oracle.com>
author Doug Simon <doug.simon@oracle.com>
date Tue, 13 Jan 2015 13:08:26 +0100
parents 0bf37f737702
children 7848fc12602b
comparison
equal deleted inserted replaced
18856:e86659e1f813 18857:5214669b01f2
181 __ add(R15_esp, R15_esp, size); 181 __ add(R15_esp, R15_esp, size);
182 __ dispatch_next(state, step); 182 __ dispatch_next(state, step);
183 return entry; 183 return entry;
184 } 184 }
185 185
186 address TemplateInterpreterGenerator::generate_deopt_entry_for(TosState state, int step) { 186 address InterpreterGenerator::generate_deopt_entry_for(TosState state, int step) {
187 address entry = __ pc(); 187 address entry = __ pc();
188 // If state != vtos, we're returning from a native method, which put it's result 188 // If state != vtos, we're returning from a native method, which put it's result
189 // into the result register. So move the value out of the return register back 189 // into the result register. So move the value out of the return register back
190 // to the TOS cache of current frame. 190 // to the TOS cache of current frame.
191 191