comparison src/cpu/x86/vm/assembler_x86.cpp @ 1506:2338d41fbd81

6943304: remove tagged stack interpreter Reviewed-by: coleenp, never, gbenson
author twisti
date Fri, 30 Apr 2010 08:37:24 -0700
parents c640000b7cc1
children df736661d0c8
comparison
equal deleted inserted replaced
1505:0c5b3cf3c1f5 1506:2338d41fbd81
7738 7738
7739 7739
7740 Address MacroAssembler::argument_address(RegisterOrConstant arg_slot, 7740 Address MacroAssembler::argument_address(RegisterOrConstant arg_slot,
7741 int extra_slot_offset) { 7741 int extra_slot_offset) {
7742 // cf. TemplateTable::prepare_invoke(), if (load_receiver). 7742 // cf. TemplateTable::prepare_invoke(), if (load_receiver).
7743 int stackElementSize = Interpreter::stackElementSize(); 7743 int stackElementSize = Interpreter::stackElementSize;
7744 int offset = Interpreter::expr_offset_in_bytes(extra_slot_offset+0); 7744 int offset = Interpreter::expr_offset_in_bytes(extra_slot_offset+0);
7745 #ifdef ASSERT 7745 #ifdef ASSERT
7746 int offset1 = Interpreter::expr_offset_in_bytes(extra_slot_offset+1); 7746 int offset1 = Interpreter::expr_offset_in_bytes(extra_slot_offset+1);
7747 assert(offset1 - offset == stackElementSize, "correct arithmetic"); 7747 assert(offset1 - offset == stackElementSize, "correct arithmetic");
7748 #endif 7748 #endif