Mercurial > hg > truffle
comparison src/cpu/x86/vm/frame_x86.cpp @ 4824:5dbed2f542ff
7120468: SPARC/x86: use frame::describe to enhance trace_method_handle
Summary: improvements of TraceMethodHandles for JSR292
Reviewed-by: never, twisti
author | bdelsart |
---|---|
date | Thu, 26 Jan 2012 16:49:22 +0100 |
parents | 82e5a84b7436 |
children | 5f17b16b3219 |
comparison
equal
deleted
inserted
replaced
4823:9a28ddfc1f4a | 4824:5dbed2f542ff |
---|---|
649 intptr_t* frame::interpreter_frame_tos_at(jint offset) const { | 649 intptr_t* frame::interpreter_frame_tos_at(jint offset) const { |
650 int index = (Interpreter::expr_offset_in_bytes(offset)/wordSize); | 650 int index = (Interpreter::expr_offset_in_bytes(offset)/wordSize); |
651 return &interpreter_frame_tos_address()[index]; | 651 return &interpreter_frame_tos_address()[index]; |
652 } | 652 } |
653 | 653 |
654 #ifdef ASSERT | 654 #ifndef PRODUCT |
655 | 655 |
656 #define DESCRIBE_FP_OFFSET(name) \ | 656 #define DESCRIBE_FP_OFFSET(name) \ |
657 values.describe(frame_no, fp() + frame::name##_offset, #name) | 657 values.describe(frame_no, fp() + frame::name##_offset, #name) |
658 | 658 |
659 void frame::describe_pd(FrameValues& values, int frame_no) { | 659 void frame::describe_pd(FrameValues& values, int frame_no) { |