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

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

Issue 1764593002: [deoptimizer] Removed dynamic frame alignment support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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/ppc/deoptimizer-ppc.cc ('k') | src/x64/deoptimizer-x64.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/deoptimizer.h" 5 #include "src/deoptimizer.h"
6 #include "src/codegen.h" 6 #include "src/codegen.h"
7 #include "src/full-codegen/full-codegen.h" 7 #include "src/full-codegen/full-codegen.h"
8 #include "src/register-configuration.h" 8 #include "src/register-configuration.h"
9 #include "src/safepoint-table.h" 9 #include "src/safepoint-table.h"
10 10
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 output_frame->SetRegister(r3.code(), handler); 93 output_frame->SetRegister(r3.code(), handler);
94 } 94 }
95 95
96 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) { 96 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) {
97 for (int i = 0; i < DoubleRegister::kNumRegisters; ++i) { 97 for (int i = 0; i < DoubleRegister::kNumRegisters; ++i) {
98 double double_value = input_->GetDoubleRegister(i); 98 double double_value = input_->GetDoubleRegister(i);
99 output_frame->SetDoubleRegister(i, double_value); 99 output_frame->SetDoubleRegister(i, double_value);
100 } 100 }
101 } 101 }
102 102
103 bool Deoptimizer::HasAlignmentPadding(SharedFunctionInfo* shared) {
104 // There is no dynamic alignment padding on S390 in the input frame.
105 return false;
106 }
107
108 #define __ masm()-> 103 #define __ masm()->
109 104
110 // This code tries to be close to ia32 code so that any changes can be 105 // This code tries to be close to ia32 code so that any changes can be
111 // easily ported. 106 // easily ported.
112 void Deoptimizer::TableEntryGenerator::Generate() { 107 void Deoptimizer::TableEntryGenerator::Generate() {
113 GeneratePrologue(); 108 GeneratePrologue();
114 109
115 // Save all the registers onto the stack 110 // Save all the registers onto the stack
116 const int kNumberOfRegisters = Register::kNumRegisters; 111 const int kNumberOfRegisters = Register::kNumRegisters;
117 112
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 322
328 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { 323 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) {
329 // No out-of-line constant pool support. 324 // No out-of-line constant pool support.
330 UNREACHABLE(); 325 UNREACHABLE();
331 } 326 }
332 327
333 #undef __ 328 #undef __
334 329
335 } // namespace internal 330 } // namespace internal
336 } // namespace v8 331 } // namespace v8
OLDNEW
« no previous file with comments | « src/ppc/deoptimizer-ppc.cc ('k') | src/x64/deoptimizer-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698