Mercurial > hg > truffle
comparison src/cpu/x86/vm/frame_x86.cpp @ 18854:b8d3f84740c7
guarded use of 64-bit only code with #ifdefs
Contributed-by: Igor Ignatyev <igor.ignatyev@oracle.com>
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 13 Jan 2015 12:59:48 +0100 |
parents | 52b4284cb496 |
children | 6fe49fc03fae |
comparison
equal
deleted
inserted
replaced
18853:90fb04cda7d6 | 18854:b8d3f84740c7 |
---|---|
694 DESCRIBE_FP_OFFSET(interpreter_frame_mdx); | 694 DESCRIBE_FP_OFFSET(interpreter_frame_mdx); |
695 DESCRIBE_FP_OFFSET(interpreter_frame_cache); | 695 DESCRIBE_FP_OFFSET(interpreter_frame_cache); |
696 DESCRIBE_FP_OFFSET(interpreter_frame_locals); | 696 DESCRIBE_FP_OFFSET(interpreter_frame_locals); |
697 DESCRIBE_FP_OFFSET(interpreter_frame_bcx); | 697 DESCRIBE_FP_OFFSET(interpreter_frame_bcx); |
698 DESCRIBE_FP_OFFSET(interpreter_frame_initial_sp); | 698 DESCRIBE_FP_OFFSET(interpreter_frame_initial_sp); |
699 #ifdef AMD64 | |
699 } else if (is_entry_frame()) { | 700 } else if (is_entry_frame()) { |
700 // This could be more descriptive if we use the enum in | 701 // This could be more descriptive if we use the enum in |
701 // stubGenerator to map to real names but it's most important to | 702 // stubGenerator to map to real names but it's most important to |
702 // claim these frame slots so the error checking works. | 703 // claim these frame slots so the error checking works. |
703 for (int i = 0; i < entry_frame_after_call_words; i++) { | 704 for (int i = 0; i < entry_frame_after_call_words; i++) { |
704 values.describe(frame_no, fp() - i, err_msg("call_stub word fp - %d", i)); | 705 values.describe(frame_no, fp() - i, err_msg("call_stub word fp - %d", i)); |
705 } | 706 } |
706 } | 707 } |
707 } | 708 #endif // AMD64 |
708 #endif | 709 } |
710 #endif // !PRODUCT | |
709 | 711 |
710 intptr_t *frame::initial_deoptimization_info() { | 712 intptr_t *frame::initial_deoptimization_info() { |
711 // used to reset the saved FP | 713 // used to reset the saved FP |
712 return fp(); | 714 return fp(); |
713 } | 715 } |