comparison src/cpu/x86/vm/interp_masm_x86_64.cpp @ 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 f8199438385b
children 0fbdb4381b99 afa80fa86d22 56aae7be60d4
comparison
equal deleted inserted replaced
516:fc7ab6287598 520:52a431267315
28 28
29 // Implementation of InterpreterMacroAssembler 29 // Implementation of InterpreterMacroAssembler
30 30
31 #ifdef CC_INTERP 31 #ifdef CC_INTERP
32 void InterpreterMacroAssembler::get_method(Register reg) { 32 void InterpreterMacroAssembler::get_method(Register reg) {
33 movptr(reg, Address(rbp, -(sizeof(BytecodeInterpreter) + 2 * wordSize))); 33 movptr(reg, Address(rbp, -((int)sizeof(BytecodeInterpreter) + 2 * wordSize)));
34 movptr(reg, Address(reg, byte_offset_of(BytecodeInterpreter, _method))); 34 movptr(reg, Address(reg, byte_offset_of(BytecodeInterpreter, _method)));
35 } 35 }
36 #endif // CC_INTERP 36 #endif // CC_INTERP
37 37
38 #ifndef CC_INTERP 38 #ifndef CC_INTERP