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

Side by Side Diff: src/crankshaft/mips64/lithium-codegen-mips64.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/mips/lithium-codegen-mips.cc ('k') | src/crankshaft/ppc/lithium-codegen-ppc.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 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/crankshaft/mips64/lithium-codegen-mips64.h" 5 #include "src/crankshaft/mips64/lithium-codegen-mips64.h"
6 6
7 #include "src/code-factory.h" 7 #include "src/code-factory.h"
8 #include "src/code-stubs.h" 8 #include "src/code-stubs.h"
9 #include "src/crankshaft/hydrogen-osr.h" 9 #include "src/crankshaft/hydrogen-osr.h"
10 #include "src/crankshaft/mips64/lithium-gap-resolver-mips64.h" 10 #include "src/crankshaft/mips64/lithium-gap-resolver-mips64.h"
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 // cp: Callee's context. 113 // cp: Callee's context.
114 // fp: Caller's frame pointer. 114 // fp: Caller's frame pointer.
115 // lr: Caller's pc. 115 // lr: Caller's pc.
116 } 116 }
117 117
118 info()->set_prologue_offset(masm_->pc_offset()); 118 info()->set_prologue_offset(masm_->pc_offset());
119 if (NeedsEagerFrame()) { 119 if (NeedsEagerFrame()) {
120 if (info()->IsStub()) { 120 if (info()->IsStub()) {
121 __ StubPrologue(); 121 __ StubPrologue();
122 } else { 122 } else {
123 __ Prologue(info()->IsCodePreAgingActive()); 123 __ Prologue(info()->GeneratePreagedPrologue());
124 } 124 }
125 frame_is_built_ = true; 125 frame_is_built_ = true;
126 } 126 }
127 127
128 // Reserve space for the stack slots needed by the code. 128 // Reserve space for the stack slots needed by the code.
129 int slots = GetStackSlotCount(); 129 int slots = GetStackSlotCount();
130 if (slots > 0) { 130 if (slots > 0) {
131 if (FLAG_debug_code) { 131 if (FLAG_debug_code) {
132 __ Dsubu(sp, sp, Operand(slots * kPointerSize)); 132 __ Dsubu(sp, sp, Operand(slots * kPointerSize));
133 __ Push(a0, a1); 133 __ Push(a0, a1);
(...skipping 5699 matching lines...) Expand 10 before | Expand all | Expand 10 after
5833 __ Push(at, ToRegister(instr->function())); 5833 __ Push(at, ToRegister(instr->function()));
5834 CallRuntime(Runtime::kPushBlockContext, instr); 5834 CallRuntime(Runtime::kPushBlockContext, instr);
5835 RecordSafepoint(Safepoint::kNoLazyDeopt); 5835 RecordSafepoint(Safepoint::kNoLazyDeopt);
5836 } 5836 }
5837 5837
5838 5838
5839 #undef __ 5839 #undef __
5840 5840
5841 } // namespace internal 5841 } // namespace internal
5842 } // namespace v8 5842 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/mips/lithium-codegen-mips.cc ('k') | src/crankshaft/ppc/lithium-codegen-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698