--- old/src/share/vm/shark/sharkStack.cpp 2012-11-21 21:56:04.810034142 +0100 +++ new/src/share/vm/shark/sharkStack.cpp 2012-11-21 21:56:04.710034308 +0100 @@ -75,7 +75,7 @@ _method_slot_offset = offset++; if (setup_sp_and_method) { builder()->CreateStore( - method, slot_addr(method_slot_offset(), SharkType::Method*_type())); + method, slot_addr(method_slot_offset(), SharkType::Method_type())); } // Unextended SP @@ -163,7 +163,7 @@ } Value* SharkStack::slot_addr(int offset, - const Type* type, + Type* type, const char* name) const { bool needs_cast = type && type != SharkType::intptr_type();