8136525: Generate interpreter entries only once and avoid unnecessary jump to jump

Reviewed-by: coleenp, twisti, aph
This commit is contained in:
Martin Doerr 2015-09-17 09:03:57 +02:00
parent ff77d8762c
commit 99c37e9ee2
26 changed files with 129 additions and 175 deletions

View file

@ -241,15 +241,6 @@ void InterpreterGenerator::generate_counter_overflow(Label& Lcontinue) {
// Various method entries
address InterpreterGenerator::generate_jump_to_normal_entry(void) {
address entry = __ pc();
assert(Interpreter::entry_for_kind(Interpreter::zerolocals) != NULL, "should already be generated");
AddressLiteral al(Interpreter::entry_for_kind(Interpreter::zerolocals));
__ jump_to(al, G3_scratch);
__ delayed()->nop();
return entry;
}
// Abstract method entry
// Attempt to execute abstract method. Throw exception
//