| Index: src/x64/codegen-x64.cc
|
| diff --git a/src/x64/codegen-x64.cc b/src/x64/codegen-x64.cc
|
| index 53738276561b1efa4a6f90127bb5cbfac016095b..2002608429fb50dfd447919f3593fc00b0d09836 100644
|
| --- a/src/x64/codegen-x64.cc
|
| +++ b/src/x64/codegen-x64.cc
|
| @@ -675,8 +675,6 @@ void MathExpGenerator::EmitMathExp(MacroAssembler* masm,
|
| #undef __
|
|
|
|
|
| -static const int kNoCodeAgeSequenceLength = 6;
|
| -
|
| static byte* GetNoCodeAgeSequence(uint32_t* length) {
|
| static bool initialized = false;
|
| static byte sequence[kNoCodeAgeSequenceLength];
|
| @@ -733,11 +731,8 @@ void Code::PatchPlatformCodeAge(Isolate* isolate,
|
| Code* stub = GetCodeAgeStub(isolate, age, parity);
|
| CodePatcher patcher(sequence, young_length);
|
| patcher.masm()->call(stub->instruction_start());
|
| - for (int i = 0;
|
| - i < kNoCodeAgeSequenceLength - Assembler::kShortCallInstructionLength;
|
| - i++) {
|
| - patcher.masm()->nop();
|
| - }
|
| + patcher.masm()->Nop(
|
| + kNoCodeAgeSequenceLength - Assembler::kShortCallInstructionLength);
|
| }
|
| }
|
|
|
|
|