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

Side by Side Diff: src/arm64/deoptimizer-arm64.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/arm/deoptimizer-arm.cc ('k') | src/deoptimizer.h » ('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/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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 for (int i = 0; i < DoubleRegister::kMaxNumRegisters; ++i) { 108 for (int i = 0; i < DoubleRegister::kMaxNumRegisters; ++i) {
109 double double_value = input_->GetDoubleRegister(i); 109 double double_value = input_->GetDoubleRegister(i);
110 output_frame->SetDoubleRegister(i, double_value); 110 output_frame->SetDoubleRegister(i, double_value);
111 } 111 }
112 } 112 }
113 113
114 114
115 115
116 #define __ masm()-> 116 #define __ masm()->
117 117
118 void Deoptimizer::EntryGenerator::Generate() { 118 void Deoptimizer::TableEntryGenerator::Generate() {
119 GeneratePrologue(); 119 GeneratePrologue();
120 120
121 // TODO(all): This code needs to be revisited. We probably only need to save 121 // TODO(all): This code needs to be revisited. We probably only need to save
122 // caller-saved registers here. Callee-saved registers can be stored directly 122 // caller-saved registers here. Callee-saved registers can be stored directly
123 // in the input frame. 123 // in the input frame.
124 124
125 // Save all allocatable floating point registers. 125 // Save all allocatable floating point registers.
126 CPURegList saved_fp_registers(CPURegister::kFPRegister, kDRegSizeInBits, 126 CPURegList saved_fp_registers(CPURegister::kFPRegister, kDRegSizeInBits,
127 FPRegister::kAllocatableFPRegisters); 127 FPRegister::kAllocatableFPRegisters);
128 __ PushCPURegList(saved_fp_registers); 128 __ PushCPURegList(saved_fp_registers);
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 355
356 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { 356 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) {
357 // No out-of-line constant pool support. 357 // No out-of-line constant pool support.
358 UNREACHABLE(); 358 UNREACHABLE();
359 } 359 }
360 360
361 361
362 #undef __ 362 #undef __
363 363
364 } } // namespace v8::internal 364 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/deoptimizer-arm.cc ('k') | src/deoptimizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698