equal
deleted
inserted
replaced
129 } |
129 } |
130 |
130 |
131 void NativeCall::verify() { |
131 void NativeCall::verify() { |
132 NativeInstruction::verify(); |
132 NativeInstruction::verify(); |
133 // make sure code pattern is actually a call instruction |
133 // make sure code pattern is actually a call instruction |
134 if (!is_op(long_at(0), Assembler::call_op)) { |
134 int x = long_at(0); |
135 fatal("not a call"); |
135 if (!is_op(x, Assembler::call_op)) { |
|
136 fatal("not a call: 0x%x @ " INTPTR_FORMAT, x, p2i(instruction_address())); |
136 } |
137 } |
137 } |
138 } |
138 |
139 |
139 void NativeCall::print() { |
140 void NativeCall::print() { |
140 tty->print_cr(INTPTR_FORMAT ": call " INTPTR_FORMAT, p2i(instruction_address()), p2i(destination())); |
141 tty->print_cr(INTPTR_FORMAT ": call " INTPTR_FORMAT, p2i(instruction_address()), p2i(destination())); |