src/cpu/x86/vm/templateInterpreter_x86_32.cpp

changeset 1474
987e948ebbc8
parent 1161
be93aad57795
child 1494
389049f3f393
equal deleted inserted replaced
1473:71fdc5052e49 1474:987e948ebbc8
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

mercurial