diff src/cpu/x86/vm/interpreter_x86_64.cpp @ 14676:d3f14809b051

8036146: make CPP interpreter build again Summary: fix build of CPP interpreter on x86 and sparc Reviewed-by: kvn
author roland
date Wed, 05 Mar 2014 15:14:25 +0100
parents cd3d6a6b95d9
children 92aa6797d639
line wrap: on
line diff
--- a/src/cpu/x86/vm/interpreter_x86_64.cpp	Wed Mar 05 02:41:57 2014 -0800
+++ b/src/cpu/x86/vm/interpreter_x86_64.cpp	Wed Mar 05 15:14:25 2014 +0100
@@ -310,10 +310,12 @@
 
   // abstract method entry
 
+#ifndef CC_INTERP
   //  pop return address, reset last_sp to NULL
   __ empty_expression_stack();
   __ restore_bcp();      // rsi must be correct for exception handler   (was destroyed)
   __ restore_locals();   // make sure locals pointer is correct as well (was destroyed)
+#endif
 
   // throw exception
   __ call_VM(noreg, CAST_FROM_FN_PTR(address,