equal
deleted
inserted
replaced
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 |