comparison src/share/vm/adlc/forms.cpp @ 558:3b5ac9e7e6ea

6796746: rename LoadC (char) opcode class to LoadUS (unsigned short) Summary: Renaming LoadC to LoadUS would round up the planned introduction of LoadUB and LoadUI. Reviewed-by: phh, kvn
author twisti
date Mon, 26 Jan 2009 16:22:12 +0100
parents 4d9884b01ba6
children 0fbdb4381b99 dbbe28fc66b5
comparison
equal deleted inserted replaced
557:465813e0303a 558:3b5ac9e7e6ea
246 } 246 }
247 247
248 // True if 'opType', an ideal name, loads or stores. 248 // True if 'opType', an ideal name, loads or stores.
249 Form::DataType Form::is_load_from_memory(const char *opType) const { 249 Form::DataType Form::is_load_from_memory(const char *opType) const {
250 if( strcmp(opType,"LoadB")==0 ) return Form::idealB; 250 if( strcmp(opType,"LoadB")==0 ) return Form::idealB;
251 if( strcmp(opType,"LoadC")==0 ) return Form::idealC; 251 if( strcmp(opType,"LoadUS")==0 ) return Form::idealC;
252 if( strcmp(opType,"LoadD")==0 ) return Form::idealD; 252 if( strcmp(opType,"LoadD")==0 ) return Form::idealD;
253 if( strcmp(opType,"LoadD_unaligned")==0 ) return Form::idealD; 253 if( strcmp(opType,"LoadD_unaligned")==0 ) return Form::idealD;
254 if( strcmp(opType,"LoadF")==0 ) return Form::idealF; 254 if( strcmp(opType,"LoadF")==0 ) return Form::idealF;
255 if( strcmp(opType,"LoadI")==0 ) return Form::idealI; 255 if( strcmp(opType,"LoadI")==0 ) return Form::idealI;
256 if( strcmp(opType,"LoadKlass")==0 ) return Form::idealP; 256 if( strcmp(opType,"LoadKlass")==0 ) return Form::idealP;