src/share/vm/shark/sharkStack.cpp

Print this page
rev 3850 : [mq]: shark.patch

*** 73,83 **** // Method pointer _method_slot_offset = offset++; if (setup_sp_and_method) { builder()->CreateStore( ! method, slot_addr(method_slot_offset(), SharkType::Method*_type())); } // Unextended SP builder()->CreateStore(stack_pointer, slot_addr(offset++)); --- 73,83 ---- // Method pointer _method_slot_offset = offset++; if (setup_sp_and_method) { builder()->CreateStore( ! method, slot_addr(method_slot_offset(), SharkType::Method_type())); } // Unextended SP builder()->CreateStore(stack_pointer, slot_addr(offset++));
*** 161,171 **** return sp; } Value* SharkStack::slot_addr(int offset, ! const Type* type, const char* name) const { bool needs_cast = type && type != SharkType::intptr_type(); Value* result = builder()->CreateStructGEP( _frame, offset, needs_cast ? "" : name); --- 161,171 ---- return sp; } Value* SharkStack::slot_addr(int offset, ! Type* type, const char* name) const { bool needs_cast = type && type != SharkType::intptr_type(); Value* result = builder()->CreateStructGEP( _frame, offset, needs_cast ? "" : name);