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

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: 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
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 5732 matching lines...) Expand 10 before | Expand all | Expand 10 after
5866 __ Push(at, ToRegister(instr->function())); 5866 __ Push(at, ToRegister(instr->function()));
5867 CallRuntime(Runtime::kPushBlockContext, instr); 5867 CallRuntime(Runtime::kPushBlockContext, instr);
5868 RecordSafepoint(Safepoint::kNoLazyDeopt); 5868 RecordSafepoint(Safepoint::kNoLazyDeopt);
5869 } 5869 }
5870 5870
5871 5871
5872 #undef __ 5872 #undef __
5873 5873
5874 } // namespace internal 5874 } // namespace internal
5875 } // namespace v8 5875 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698