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

Side by Side Diff: src/x64/deoptimizer-x64.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/s390/deoptimizer-s390.cc ('k') | src/x87/deoptimizer-x87.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 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 #if V8_TARGET_ARCH_X64 5 #if V8_TARGET_ARCH_X64
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/full-codegen.h" 9 #include "src/full-codegen/full-codegen.h"
10 #include "src/register-configuration.h" 10 #include "src/register-configuration.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 } 98 }
99 99
100 100
101 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) { 101 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) {
102 for (int i = 0; i < XMMRegister::kMaxNumRegisters; ++i) { 102 for (int i = 0; i < XMMRegister::kMaxNumRegisters; ++i) {
103 double double_value = input_->GetDoubleRegister(i); 103 double double_value = input_->GetDoubleRegister(i);
104 output_frame->SetDoubleRegister(i, double_value); 104 output_frame->SetDoubleRegister(i, double_value);
105 } 105 }
106 } 106 }
107 107
108 bool Deoptimizer::HasAlignmentPadding(SharedFunctionInfo* shared) {
109 // There is no dynamic alignment padding on x64 in the input frame.
110 return false;
111 }
112
113
114 #define __ masm()-> 108 #define __ masm()->
115 109
116 void Deoptimizer::TableEntryGenerator::Generate() { 110 void Deoptimizer::TableEntryGenerator::Generate() {
117 GeneratePrologue(); 111 GeneratePrologue();
118 112
119 // Save all general purpose registers before messing with them. 113 // Save all general purpose registers before messing with them.
120 const int kNumberOfRegisters = Register::kNumRegisters; 114 const int kNumberOfRegisters = Register::kNumRegisters;
121 115
122 const int kDoubleRegsSize = kDoubleSize * XMMRegister::kMaxNumRegisters; 116 const int kDoubleRegsSize = kDoubleSize * XMMRegister::kMaxNumRegisters;
123 __ subp(rsp, Immediate(kDoubleRegsSize)); 117 __ subp(rsp, Immediate(kDoubleRegsSize));
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 } 327 }
334 328
335 329
336 #undef __ 330 #undef __
337 331
338 332
339 } // namespace internal 333 } // namespace internal
340 } // namespace v8 334 } // namespace v8
341 335
342 #endif // V8_TARGET_ARCH_X64 336 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/s390/deoptimizer-s390.cc ('k') | src/x87/deoptimizer-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698