diff src/cpu/x86/vm/frame_x86.inline.hpp @ 520:52a431267315

6791168: Fix invalid code in bytecodeInterpreter that can cause gcc ICE Summary: Fix compilation errors from latest gcc in CC_INTERP including offending missing void* cast. Reviewed-by: xlu
author coleenp
date Tue, 13 Jan 2009 14:41:44 -0500
parents dc7f315e41f7
children 0fbdb4381b99
line wrap: on
line diff
--- a/src/cpu/x86/vm/frame_x86.inline.hpp	Fri Jan 09 14:39:07 2009 -0500
+++ b/src/cpu/x86/vm/frame_x86.inline.hpp	Tue Jan 13 14:41:44 2009 -0500
@@ -139,7 +139,7 @@
 #ifdef CC_INTERP
 
 inline interpreterState frame::get_interpreterState() const {
-  return ((interpreterState)addr_at( -sizeof(BytecodeInterpreter)/wordSize ));
+  return ((interpreterState)addr_at( -((int)sizeof(BytecodeInterpreter))/wordSize ));
 }
 
 inline intptr_t*    frame::sender_sp()        const {