1998 default: |
1998 default: |
1999 break; |
1999 break; |
2000 } |
2000 } |
2001 } |
2001 } |
2002 |
2002 |
|
2003 #ifdef ASSERT |
|
2004 if( n->is_Mem() ) { |
|
2005 Compile* C = Compile::current(); |
|
2006 int alias_idx = C->get_alias_index(n->as_Mem()->adr_type()); |
|
2007 assert( n->in(0) != NULL || alias_idx != Compile::AliasIdxRaw || |
|
2008 // oop will be recorded in oop map if load crosses safepoint |
|
2009 n->is_Load() && (n->as_Load()->bottom_type()->isa_oopptr() || |
|
2010 LoadNode::is_immutable_value(n->in(MemNode::Address))), |
|
2011 "raw memory operations should have control edge"); |
|
2012 } |
|
2013 #endif |
2003 // Count FPU ops and common calls, implements item (3) |
2014 // Count FPU ops and common calls, implements item (3) |
2004 switch( nop ) { |
2015 switch( nop ) { |
2005 // Count all float operations that may use FPU |
2016 // Count all float operations that may use FPU |
2006 case Op_AddF: |
2017 case Op_AddF: |
2007 case Op_SubF: |
2018 case Op_SubF: |