< prev index next >
src/hotspot/share/adlc/formssel.cpp
Print this page
rev 59103 : imported patch hotspot
@@ -1041,15 +1041,11 @@
const char *result = NULL;
const char *name = NULL;
const char *opType = NULL;
while (_matrule->base_operand(position, globals, result, name, opType)) {
if ( strcmp(opType,"ConP") == 0 ) {
-#ifdef SPARC
- reloc_entries += 2; // 1 for sethi + 1 for setlo
-#else
++reloc_entries;
-#endif
}
++position;
}
}
@@ -1079,17 +1075,11 @@
// and require relocatable addresses for access
// !!!!!
// Check for any component being an immediate float or double.
Form::DataType data_type = is_chain_of_constant(globals);
if( data_type==idealD || data_type==idealF ) {
-#ifdef SPARC
- // sparc required more relocation entries for floating constants
- // (expires 9/98)
- reloc_entries += 6;
-#else
reloc_entries++;
-#endif
}
return reloc_entries;
}
< prev index next >