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

Side by Side Diff: src/crankshaft/mips/lithium-codegen-mips.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.7 1 // Copyright 2012 the V8 project authors. All rights reserved.7
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 // cp: Callee's context. 138 // cp: Callee's context.
139 // fp: Caller's frame pointer. 139 // fp: Caller's frame pointer.
140 // lr: Caller's pc. 140 // lr: Caller's pc.
141 } 141 }
142 142
143 info()->set_prologue_offset(masm_->pc_offset()); 143 info()->set_prologue_offset(masm_->pc_offset());
144 if (NeedsEagerFrame()) { 144 if (NeedsEagerFrame()) {
145 if (info()->IsStub()) { 145 if (info()->IsStub()) {
146 __ StubPrologue(); 146 __ StubPrologue();
147 } else { 147 } else {
148 __ Prologue(info()->IsCodePreAgingActive()); 148 __ Prologue(info()->GeneratePreagedPrologue());
149 } 149 }
150 frame_is_built_ = true; 150 frame_is_built_ = true;
151 } 151 }
152 152
153 // Reserve space for the stack slots needed by the code. 153 // Reserve space for the stack slots needed by the code.
154 int slots = GetStackSlotCount(); 154 int slots = GetStackSlotCount();
155 if (slots > 0) { 155 if (slots > 0) {
156 if (FLAG_debug_code) { 156 if (FLAG_debug_code) {
157 __ Subu(sp, sp, Operand(slots * kPointerSize)); 157 __ Subu(sp, sp, Operand(slots * kPointerSize));
158 __ Push(a0, a1); 158 __ Push(a0, a1);
(...skipping 5502 matching lines...) Expand 10 before | Expand all | Expand 10 after
5661 __ Push(at, ToRegister(instr->function())); 5661 __ Push(at, ToRegister(instr->function()));
5662 CallRuntime(Runtime::kPushBlockContext, instr); 5662 CallRuntime(Runtime::kPushBlockContext, instr);
5663 RecordSafepoint(Safepoint::kNoLazyDeopt); 5663 RecordSafepoint(Safepoint::kNoLazyDeopt);
5664 } 5664 }
5665 5665
5666 5666
5667 #undef __ 5667 #undef __
5668 5668
5669 } // namespace internal 5669 } // namespace internal
5670 } // namespace v8 5670 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698