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

Side by Side Diff: src/mips64/deoptimizer-mips64.cc

Issue 1010413003: CodeCleanup: eliminate unnecessary base class and make the children unvirtual. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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/mips/deoptimizer-mips.cc ('k') | src/ppc/deoptimizer-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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/codegen.h" 7 #include "src/codegen.h"
8 #include "src/deoptimizer.h" 8 #include "src/deoptimizer.h"
9 #include "src/full-codegen.h" 9 #include "src/full-codegen.h"
10 #include "src/safepoint-table.h" 10 #include "src/safepoint-table.h"
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 // There is no dynamic alignment padding on MIPS in the input frame. 124 // There is no dynamic alignment padding on MIPS in the input frame.
125 return false; 125 return false;
126 } 126 }
127 127
128 128
129 #define __ masm()-> 129 #define __ masm()->
130 130
131 131
132 // This code tries to be close to ia32 code so that any changes can be 132 // This code tries to be close to ia32 code so that any changes can be
133 // easily ported. 133 // easily ported.
134 void Deoptimizer::EntryGenerator::Generate() { 134 void Deoptimizer::TableEntryGenerator::Generate() {
135 GeneratePrologue(); 135 GeneratePrologue();
136 136
137 // Unlike on ARM we don't save all the registers, just the useful ones. 137 // Unlike on ARM we don't save all the registers, just the useful ones.
138 // For the rest, there are gaps on the stack, so the offsets remain the same. 138 // For the rest, there are gaps on the stack, so the offsets remain the same.
139 const int kNumberOfRegisters = Register::kNumRegisters; 139 const int kNumberOfRegisters = Register::kNumRegisters;
140 140
141 RegList restored_regs = kJSCallerSaved | kCalleeSaved; 141 RegList restored_regs = kJSCallerSaved | kCalleeSaved;
142 RegList saved_regs = restored_regs | sp.bit() | ra.bit(); 142 RegList saved_regs = restored_regs | sp.bit() | ra.bit();
143 143
144 const int kDoubleRegsSize = 144 const int kDoubleRegsSize =
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { 405 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) {
406 // No out-of-line constant pool support. 406 // No out-of-line constant pool support.
407 UNREACHABLE(); 407 UNREACHABLE();
408 } 408 }
409 409
410 410
411 #undef __ 411 #undef __
412 412
413 413
414 } } // namespace v8::internal 414 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/mips/deoptimizer-mips.cc ('k') | src/ppc/deoptimizer-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698