equal
deleted
inserted
replaced
473 |
473 |
474 return TypeFunc::make(domain, range); |
474 return TypeFunc::make(domain, range); |
475 } |
475 } |
476 |
476 |
477 const TypeFunc* ShenandoahBarrierSetC2::shenandoah_load_reference_barrier_Type() { |
477 const TypeFunc* ShenandoahBarrierSetC2::shenandoah_load_reference_barrier_Type() { |
478 const Type **fields = TypeTuple::fields(1); |
478 const Type **fields = TypeTuple::fields(2); |
479 fields[TypeFunc::Parms+0] = TypeInstPtr::NOTNULL; // original field value |
479 fields[TypeFunc::Parms+0] = TypeInstPtr::NOTNULL; // original field value |
480 const TypeTuple *domain = TypeTuple::make(TypeFunc::Parms+1, fields); |
480 fields[TypeFunc::Parms+1] = TypeRawPtr::BOTTOM; // original load address |
|
481 |
|
482 const TypeTuple *domain = TypeTuple::make(TypeFunc::Parms+2, fields); |
481 |
483 |
482 // create result type (range) |
484 // create result type (range) |
483 fields = TypeTuple::fields(1); |
485 fields = TypeTuple::fields(1); |
484 fields[TypeFunc::Parms+0] = TypeInstPtr::NOTNULL; |
486 fields[TypeFunc::Parms+0] = TypeInstPtr::NOTNULL; |
485 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms+1, fields); |
487 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms+1, fields); |