src/share/vm/adlc/formssel.cpp

changeset 3052
1af104d6cf99
parent 3051
11211f7cb5a0
child 3161
ae839d1e7d4c
equal deleted inserted replaced
3051:11211f7cb5a0 3052:1af104d6cf99
3388 "CompareAndSwapI", "CompareAndSwapL", "CompareAndSwapP", "CompareAndSwapN", 3388 "CompareAndSwapI", "CompareAndSwapL", "CompareAndSwapP", "CompareAndSwapN",
3389 "StoreCM", 3389 "StoreCM",
3390 "ClearArray" 3390 "ClearArray"
3391 }; 3391 };
3392 int cnt = sizeof(needs_ideal_memory_list)/sizeof(char*); 3392 int cnt = sizeof(needs_ideal_memory_list)/sizeof(char*);
3393 if( strcmp(_opType,"PrefetchRead")==0 || strcmp(_opType,"PrefetchWrite")==0 ) 3393 if( strcmp(_opType,"PrefetchRead")==0 ||
3394 strcmp(_opType,"PrefetchWrite")==0 ||
3395 strcmp(_opType,"PrefetchAllocation")==0 )
3394 return 1; 3396 return 1;
3395 if( _lChild ) { 3397 if( _lChild ) {
3396 const char *opType = _lChild->_opType; 3398 const char *opType = _lChild->_opType;
3397 for( int i=0; i<cnt; i++ ) 3399 for( int i=0; i<cnt; i++ )
3398 if( strcmp(opType,needs_ideal_memory_list[i]) == 0 ) 3400 if( strcmp(opType,needs_ideal_memory_list[i]) == 0 )

mercurial