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

Side by Side Diff: src/crankshaft/arm64/lithium-codegen-arm64.cc

Issue 1577193003: Change the CompilationInfo::IsCodePreAgingActive() predicate to CompilationInfo::GeneratePreagingPr… (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Comment cleanup. Created 4 years, 11 months 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/crankshaft/arm/lithium-codegen-arm.cc ('k') | src/crankshaft/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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/crankshaft/arm64/lithium-codegen-arm64.h" 5 #include "src/crankshaft/arm64/lithium-codegen-arm64.h"
6 6
7 #include "src/arm64/frames-arm64.h" 7 #include "src/arm64/frames-arm64.h"
8 #include "src/base/bits.h" 8 #include "src/base/bits.h"
9 #include "src/code-factory.h" 9 #include "src/code-factory.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 } 613 }
614 #endif 614 #endif
615 } 615 }
616 616
617 DCHECK(__ StackPointer().Is(jssp)); 617 DCHECK(__ StackPointer().Is(jssp));
618 info()->set_prologue_offset(masm_->pc_offset()); 618 info()->set_prologue_offset(masm_->pc_offset());
619 if (NeedsEagerFrame()) { 619 if (NeedsEagerFrame()) {
620 if (info()->IsStub()) { 620 if (info()->IsStub()) {
621 __ StubPrologue(); 621 __ StubPrologue();
622 } else { 622 } else {
623 __ Prologue(info()->IsCodePreAgingActive()); 623 __ Prologue(info()->GeneratePreagedPrologue());
624 } 624 }
625 frame_is_built_ = true; 625 frame_is_built_ = true;
626 } 626 }
627 627
628 // Reserve space for the stack slots needed by the code. 628 // Reserve space for the stack slots needed by the code.
629 int slots = GetStackSlotCount(); 629 int slots = GetStackSlotCount();
630 if (slots > 0) { 630 if (slots > 0) {
631 __ Claim(slots, kPointerSize); 631 __ Claim(slots, kPointerSize);
632 } 632 }
633 633
(...skipping 5145 matching lines...) Expand 10 before | Expand all | Expand 10 after
5779 Handle<ScopeInfo> scope_info = instr->scope_info(); 5779 Handle<ScopeInfo> scope_info = instr->scope_info();
5780 __ Push(scope_info); 5780 __ Push(scope_info);
5781 __ Push(ToRegister(instr->function())); 5781 __ Push(ToRegister(instr->function()));
5782 CallRuntime(Runtime::kPushBlockContext, instr); 5782 CallRuntime(Runtime::kPushBlockContext, instr);
5783 RecordSafepoint(Safepoint::kNoLazyDeopt); 5783 RecordSafepoint(Safepoint::kNoLazyDeopt);
5784 } 5784 }
5785 5785
5786 5786
5787 } // namespace internal 5787 } // namespace internal
5788 } // namespace v8 5788 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/arm/lithium-codegen-arm.cc ('k') | src/crankshaft/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698