comparison src/share/vm/oops/constantPoolOop.cpp @ 4977:532be189cf09

Reducing diff to hsx24
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Mon, 27 Feb 2012 17:06:18 +0100
parents 33df1aeaebbf
children 957c266d8bc5
comparison
equal deleted inserted replaced
4976:8f01f899bccd 4977:532be189cf09
344 344
345 int constantPoolOopDesc::remap_instruction_operand_from_cache(int operand) { 345 int constantPoolOopDesc::remap_instruction_operand_from_cache(int operand) {
346 int cpc_index = operand; 346 int cpc_index = operand;
347 DEBUG_ONLY(cpc_index -= CPCACHE_INDEX_TAG); 347 DEBUG_ONLY(cpc_index -= CPCACHE_INDEX_TAG);
348 assert((int)(u2)cpc_index == cpc_index, "clean u2"); 348 assert((int)(u2)cpc_index == cpc_index, "clean u2");
349 assert(cache() != NULL, "cache not null, maybe class is resolved but not rewritten yet");
350 int member_index = cache()->entry_at(cpc_index)->constant_pool_index(); 349 int member_index = cache()->entry_at(cpc_index)->constant_pool_index();
351 return member_index; 350 return member_index;
352 } 351 }
353 352
354 353