551 return TypeFunc::make(domain, range);
552 }
553
554 const TypeFunc *OptoRuntime::g1_wb_post_Type() {
555
556 const Type **fields = TypeTuple::fields(2);
557 fields[TypeFunc::Parms+0] = TypeRawPtr::NOTNULL; // Card addr
558 fields[TypeFunc::Parms+1] = TypeRawPtr::NOTNULL; // thread
559 const TypeTuple *domain = TypeTuple::make(TypeFunc::Parms+2, fields);
560
561 // create result type (range)
562 fields = TypeTuple::fields(0);
563 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms, fields);
564
565 return TypeFunc::make(domain, range);
566 }
567
568 const TypeFunc *OptoRuntime::uncommon_trap_Type() {
569 // create input type (domain)
570 const Type **fields = TypeTuple::fields(1);
571 // Symbol* name of class to be loaded
572 fields[TypeFunc::Parms+0] = TypeInt::INT;
573 const TypeTuple *domain = TypeTuple::make(TypeFunc::Parms+1, fields);
574
575 // create result type (range)
576 fields = TypeTuple::fields(0);
577 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms+0, fields);
578
579 return TypeFunc::make(domain, range);
580 }
581
582 # ifdef ENABLE_ZAP_DEAD_LOCALS
583 // Type used for stub generation for zap_dead_locals.
584 // No inputs or outputs
585 const TypeFunc *OptoRuntime::zap_dead_locals_Type() {
586 // create input type (domain)
587 const Type **fields = TypeTuple::fields(0);
588 const TypeTuple *domain = TypeTuple::make(TypeFunc::Parms,fields);
589
590 // create result type (range)
591 fields = TypeTuple::fields(0);
592 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms,fields);
|
551 return TypeFunc::make(domain, range);
552 }
553
554 const TypeFunc *OptoRuntime::g1_wb_post_Type() {
555
556 const Type **fields = TypeTuple::fields(2);
557 fields[TypeFunc::Parms+0] = TypeRawPtr::NOTNULL; // Card addr
558 fields[TypeFunc::Parms+1] = TypeRawPtr::NOTNULL; // thread
559 const TypeTuple *domain = TypeTuple::make(TypeFunc::Parms+2, fields);
560
561 // create result type (range)
562 fields = TypeTuple::fields(0);
563 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms, fields);
564
565 return TypeFunc::make(domain, range);
566 }
567
568 const TypeFunc *OptoRuntime::uncommon_trap_Type() {
569 // create input type (domain)
570 const Type **fields = TypeTuple::fields(1);
571 fields[TypeFunc::Parms+0] = TypeInt::INT; // trap_reason (deopt reason and action)
572 const TypeTuple *domain = TypeTuple::make(TypeFunc::Parms+1, fields);
573
574 // create result type (range)
575 fields = TypeTuple::fields(0);
576 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms+0, fields);
577
578 return TypeFunc::make(domain, range);
579 }
580
581 # ifdef ENABLE_ZAP_DEAD_LOCALS
582 // Type used for stub generation for zap_dead_locals.
583 // No inputs or outputs
584 const TypeFunc *OptoRuntime::zap_dead_locals_Type() {
585 // create input type (domain)
586 const Type **fields = TypeTuple::fields(0);
587 const TypeTuple *domain = TypeTuple::make(TypeFunc::Parms,fields);
588
589 // create result type (range)
590 fields = TypeTuple::fields(0);
591 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms,fields);
|