diff 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
line wrap: on
line diff
--- a/src/cpu/x86/vm/frame_x86.cpp	Tue Jan 13 11:18:46 2015 +0100
+++ b/src/cpu/x86/vm/frame_x86.cpp	Tue Jan 13 12:59:48 2015 +0100
@@ -696,6 +696,7 @@
     DESCRIBE_FP_OFFSET(interpreter_frame_locals);
     DESCRIBE_FP_OFFSET(interpreter_frame_bcx);
     DESCRIBE_FP_OFFSET(interpreter_frame_initial_sp);
+#ifdef AMD64
   } else if (is_entry_frame()) {
     // This could be more descriptive if we use the enum in
     // stubGenerator to map to real names but it's most important to
@@ -704,8 +705,9 @@
       values.describe(frame_no, fp() - i, err_msg("call_stub word fp - %d", i));
     }
   }
+#endif // AMD64
 }
-#endif
+#endif // !PRODUCT
 
 intptr_t *frame::initial_deoptimization_info() {
   // used to reset the saved FP