| Index: src/ia32/ic-ia32.cc
|
| ===================================================================
|
| --- src/ia32/ic-ia32.cc (revision 6184)
|
| +++ src/ia32/ic-ia32.cc (working copy)
|
| @@ -1723,9 +1723,7 @@
|
| Address encoded_offsets_address = test_instruction_address + 1;
|
| int encoded_offsets = *reinterpret_cast<int*>(encoded_offsets_address);
|
| int delta_to_map_check = -(encoded_offsets & 0xFFFF);
|
| -#ifdef ENABLE_CARDMARKING_WRITE_BARRIER
|
| int delta_to_record_write = encoded_offsets >> 16;
|
| -#endif
|
|
|
| // Patch the map to check. The map address is the last 4 bytes of
|
| // the 7-byte operand-immediate compare instruction.
|
| @@ -1744,7 +1742,6 @@
|
| (offset == 0 && map == Heap::null_value()));
|
| *reinterpret_cast<int*>(offset_address) = offset - kHeapObjectTag;
|
|
|
| -#ifdef ENABLE_CARDMARKING_WRITE_BARRIER
|
| // Patch the offset in the write-barrier code. The offset is the
|
| // last 4 bytes of a six byte lea instruction.
|
| offset_address = map_check_address + delta_to_record_write + 2;
|
| @@ -1754,7 +1751,6 @@
|
| *reinterpret_cast<int*>(offset_address) == -1 ||
|
| (offset == 0 && map == Heap::null_value()));
|
| *reinterpret_cast<int*>(offset_address) = offset - kHeapObjectTag;
|
| -#endif
|
|
|
| return true;
|
| }
|
|
|