hotspot/src/share/vm/ci/ciTypeArray.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot-comp Cdiff hotspot/src/share/vm/ci/ciTypeArray.cpp

hotspot/src/share/vm/ci/ciTypeArray.cpp

Print this page
rev 4963 : imported patch stable

*** 37,43 **** // // Implementation of the char_at method. jchar ciTypeArray::char_at(int index) { VM_ENTRY_MARK; assert(index >= 0 && index < length(), "out of range"); ! return get_typeArrayOop()->char_at(index); } --- 37,48 ---- // // Implementation of the char_at method. jchar ciTypeArray::char_at(int index) { VM_ENTRY_MARK; assert(index >= 0 && index < length(), "out of range"); ! jchar c = element_value(index).as_char(); ! #ifdef ASSERT ! jchar d = get_typeArrayOop()->char_at(index); ! assert(c == d, ""); ! #endif //ASSERT ! return c; }
hotspot/src/share/vm/ci/ciTypeArray.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File