| OLD | NEW | 
|---|
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #include "src/x87/codegen-x87.h" | 5 #include "src/x87/codegen-x87.h" | 
| 6 | 6 | 
| 7 #if V8_TARGET_ARCH_X87 | 7 #if V8_TARGET_ARCH_X87 | 
| 8 | 8 | 
| 9 #include "src/codegen.h" | 9 #include "src/codegen.h" | 
| 10 #include "src/heap/heap.h" | 10 #include "src/heap/heap.h" | 
| (...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 584                                   index, | 584                                   index, | 
| 585                                   times_1, | 585                                   times_1, | 
| 586                                   SeqOneByteString::kHeaderSize)); | 586                                   SeqOneByteString::kHeaderSize)); | 
| 587   __ bind(&done); | 587   __ bind(&done); | 
| 588 } | 588 } | 
| 589 | 589 | 
| 590 | 590 | 
| 591 #undef __ | 591 #undef __ | 
| 592 | 592 | 
| 593 | 593 | 
| 594 CodeAgingHelper::CodeAgingHelper() { | 594 CodeAgingHelper::CodeAgingHelper(Isolate* isolate) { | 
|  | 595   USE(isolate); | 
| 595   DCHECK(young_sequence_.length() == kNoCodeAgeSequenceLength); | 596   DCHECK(young_sequence_.length() == kNoCodeAgeSequenceLength); | 
| 596   CodePatcher patcher(young_sequence_.start(), young_sequence_.length()); | 597   CodePatcher patcher(young_sequence_.start(), young_sequence_.length()); | 
| 597   patcher.masm()->push(ebp); | 598   patcher.masm()->push(ebp); | 
| 598   patcher.masm()->mov(ebp, esp); | 599   patcher.masm()->mov(ebp, esp); | 
| 599   patcher.masm()->push(esi); | 600   patcher.masm()->push(esi); | 
| 600   patcher.masm()->push(edi); | 601   patcher.masm()->push(edi); | 
| 601 } | 602 } | 
| 602 | 603 | 
| 603 | 604 | 
| 604 #ifdef DEBUG | 605 #ifdef DEBUG | 
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 643     CodePatcher patcher(sequence, young_length); | 644     CodePatcher patcher(sequence, young_length); | 
| 644     patcher.masm()->call(stub->instruction_start(), RelocInfo::NONE32); | 645     patcher.masm()->call(stub->instruction_start(), RelocInfo::NONE32); | 
| 645   } | 646   } | 
| 646 } | 647 } | 
| 647 | 648 | 
| 648 | 649 | 
| 649 }  // namespace internal | 650 }  // namespace internal | 
| 650 }  // namespace v8 | 651 }  // namespace v8 | 
| 651 | 652 | 
| 652 #endif  // V8_TARGET_ARCH_X87 | 653 #endif  // V8_TARGET_ARCH_X87 | 
| OLD | NEW | 
|---|