hotspot/src/cpu/x86/vm/templateInterpreter_x86_32.cpp
changeset 4094 1f424b2b2171
parent 2570 ecc7862946d4
child 4429 d7eb4e2099aa
equal deleted inserted replaced
4093:56d7f1c2102c 4094:1f424b2b2171
    90                               InterpreterRuntime::throw_ClassCastException),
    90                               InterpreterRuntime::throw_ClassCastException),
    91              rax);
    91              rax);
    92   return entry;
    92   return entry;
    93 }
    93 }
    94 
    94 
    95 // Arguments are: required type at TOS+8, failing object (or NULL) at TOS+4.
    95 // Arguments are: required type at TOS+4, failing object (or NULL) at TOS.
    96 // pc at TOS (just for debugging)
       
    97 address TemplateInterpreterGenerator::generate_WrongMethodType_handler() {
    96 address TemplateInterpreterGenerator::generate_WrongMethodType_handler() {
    98   address entry = __ pc();
    97   address entry = __ pc();
    99 
    98 
   100   __ pop(rbx);                  // actual failing object is at TOS
    99   __ pop(rbx);                  // actual failing object is at TOS
   101   __ pop(rax);                  // required type is at TOS+4
   100   __ pop(rax);                  // required type is at TOS+4