hotspot/src/share/vm/opto/subnode.cpp
changeset 12739 09f26b73ae66
parent 11446 fd87432a895b
child 12945 e63d6176cbd1
equal deleted inserted replaced
12623:09fcb0dc71ad 12739:09f26b73ae66
  1312   const Type *t2 = phase->type( in(2) );
  1312   const Type *t2 = phase->type( in(2) );
  1313   if( t2 == Type::TOP ) return Type::TOP;
  1313   if( t2 == Type::TOP ) return Type::TOP;
  1314   if( t2->base() != Type::DoubleCon ) return Type::DOUBLE;
  1314   if( t2->base() != Type::DoubleCon ) return Type::DOUBLE;
  1315   double d1 = t1->getd();
  1315   double d1 = t1->getd();
  1316   double d2 = t2->getd();
  1316   double d2 = t2->getd();
  1317   if( d1 < 0.0 ) return Type::DOUBLE;
       
  1318   if( d2 < 0.0 ) return Type::DOUBLE;
       
  1319   return TypeD::make( StubRoutines::intrinsic_pow( d1, d2 ) );
  1317   return TypeD::make( StubRoutines::intrinsic_pow( d1, d2 ) );
  1320 }
  1318 }