Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Side by Side Diff: src/x87/codegen-x87.cc

Issue 1480573002: Pass Isolate to CodeAgingHelper (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/x64/codegen-x64.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/x64/codegen-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698