comparison src/share/vm/prims/methodHandles.hpp @ 2088:8d0b933dda2d

7007377: JSR 292 MethodHandlesTest.testCastFailure fails on SPARC with -Xcomp +DeoptimizeALot Reviewed-by: kvn, jrose
author twisti
date Wed, 22 Dec 2010 02:02:53 -0800
parents f95d63e2154a
children d810e9a3fc33
comparison
equal deleted inserted replaced
2087:352765ed11a1 2088:8d0b933dda2d
292 int skip, objArrayOop results); 292 int skip, objArrayOop results);
293 // bit values for suppress argument to expand_MemberName: 293 // bit values for suppress argument to expand_MemberName:
294 enum { _suppress_defc = 1, _suppress_name = 2, _suppress_type = 4 }; 294 enum { _suppress_defc = 1, _suppress_name = 2, _suppress_type = 4 };
295 295
296 // Generate MethodHandles adapters. 296 // Generate MethodHandles adapters.
297 static void generate_adapters(); 297 static void generate_adapters(TRAPS);
298 298
299 // Called from InterpreterGenerator and MethodHandlesAdapterGenerator. 299 // Called from InterpreterGenerator and MethodHandlesAdapterGenerator.
300 static address generate_method_handle_interpreter_entry(MacroAssembler* _masm); 300 static address generate_method_handle_interpreter_entry(MacroAssembler* _masm);
301 static void generate_method_handle_stub(MacroAssembler* _masm, EntryKind ek); 301 static void generate_method_handle_stub(MacroAssembler* _masm, EntryKind ek, TRAPS);
302 302
303 // argument list parsing 303 // argument list parsing
304 static int argument_slot(oop method_type, int arg); 304 static int argument_slot(oop method_type, int arg);
305 static int argument_slot_count(oop method_type) { return argument_slot(method_type, -1); } 305 static int argument_slot_count(oop method_type) { return argument_slot(method_type, -1); }
306 static int argument_slot_to_argnum(oop method_type, int argslot); 306 static int argument_slot_to_argnum(oop method_type, int argslot);
528 // 528 //
529 class MethodHandlesAdapterGenerator : public StubCodeGenerator { 529 class MethodHandlesAdapterGenerator : public StubCodeGenerator {
530 public: 530 public:
531 MethodHandlesAdapterGenerator(CodeBuffer* code) : StubCodeGenerator(code) {} 531 MethodHandlesAdapterGenerator(CodeBuffer* code) : StubCodeGenerator(code) {}
532 532
533 void generate(); 533 void generate(TRAPS);
534 }; 534 };
535 535
536 #endif // SHARE_VM_PRIMS_METHODHANDLES_HPP 536 #endif // SHARE_VM_PRIMS_METHODHANDLES_HPP