| Index: src/x64/ic-x64.cc
|
| ===================================================================
|
| --- src/x64/ic-x64.cc (revision 2873)
|
| +++ src/x64/ic-x64.cc (working copy)
|
| @@ -166,7 +166,7 @@
|
| // Arguments are address of start of call sequence that called
|
| // the IC,
|
| Address test_instruction_address =
|
| - address + Assembler::kPatchReturnSequenceLength;
|
| + address + Assembler::kCallTargetAddressOffset;
|
| // The keyed load has a fast inlined case if the IC call instruction
|
| // is immediately followed by a test instruction.
|
| if (*test_instruction_address != kTestEaxByte) return false;
|
| @@ -891,7 +891,7 @@
|
| bool LoadIC::PatchInlinedLoad(Address address, Object* map, int offset) {
|
| // The address of the instruction following the call.
|
| Address test_instruction_address =
|
| - address + Assembler::kPatchReturnSequenceLength;
|
| + address + Assembler::kCallTargetAddressOffset;
|
| // If the instruction following the call is not a test eax, nothing
|
| // was inlined.
|
| if (*test_instruction_address != kTestEaxByte) return false;
|
|
|