equal
deleted
inserted
replaced
475 } |
475 } |
476 |
476 |
477 const TypeFunc *OptoRuntime::uncommon_trap_Type() { |
477 const TypeFunc *OptoRuntime::uncommon_trap_Type() { |
478 // create input type (domain) |
478 // create input type (domain) |
479 const Type **fields = TypeTuple::fields(1); |
479 const Type **fields = TypeTuple::fields(1); |
480 // symbolOop name of class to be loaded |
480 // Symbol* name of class to be loaded |
481 fields[TypeFunc::Parms+0] = TypeInt::INT; |
481 fields[TypeFunc::Parms+0] = TypeInt::INT; |
482 const TypeTuple *domain = TypeTuple::make(TypeFunc::Parms+1, fields); |
482 const TypeTuple *domain = TypeTuple::make(TypeFunc::Parms+1, fields); |
483 |
483 |
484 // create result type (range) |
484 // create result type (range) |
485 fields = TypeTuple::fields(0); |
485 fields = TypeTuple::fields(0); |
584 } |
584 } |
585 |
585 |
586 const TypeFunc *OptoRuntime::Math_D_D_Type() { |
586 const TypeFunc *OptoRuntime::Math_D_D_Type() { |
587 // create input type (domain) |
587 // create input type (domain) |
588 const Type **fields = TypeTuple::fields(2); |
588 const Type **fields = TypeTuple::fields(2); |
589 // symbolOop name of class to be loaded |
589 // Symbol* name of class to be loaded |
590 fields[TypeFunc::Parms+0] = Type::DOUBLE; |
590 fields[TypeFunc::Parms+0] = Type::DOUBLE; |
591 fields[TypeFunc::Parms+1] = Type::HALF; |
591 fields[TypeFunc::Parms+1] = Type::HALF; |
592 const TypeTuple *domain = TypeTuple::make(TypeFunc::Parms+2, fields); |
592 const TypeTuple *domain = TypeTuple::make(TypeFunc::Parms+2, fields); |
593 |
593 |
594 // create result type (range) |
594 // create result type (range) |