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

Side by Side Diff: src/ia32/deoptimizer-ia32.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/deoptimizer.cc ('k') | src/mips/deoptimizer-mips.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_IA32 5 #if V8_TARGET_ARCH_IA32
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/ia32/frames-ia32.h" 10 #include "src/ia32/frames-ia32.h"
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 } 179 }
180 180
181 181
182 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) { 182 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) {
183 for (int i = 0; i < XMMRegister::kMaxNumRegisters; ++i) { 183 for (int i = 0; i < XMMRegister::kMaxNumRegisters; ++i) {
184 double double_value = input_->GetDoubleRegister(i); 184 double double_value = input_->GetDoubleRegister(i);
185 output_frame->SetDoubleRegister(i, double_value); 185 output_frame->SetDoubleRegister(i, double_value);
186 } 186 }
187 } 187 }
188 188
189 bool Deoptimizer::HasAlignmentPadding(SharedFunctionInfo* shared) {
190 // There is no dynamic alignment padding on ia32 in the input frame.
191 return false;
192 }
193
194
195 #define __ masm()-> 189 #define __ masm()->
196 190
197 void Deoptimizer::TableEntryGenerator::Generate() { 191 void Deoptimizer::TableEntryGenerator::Generate() {
198 GeneratePrologue(); 192 GeneratePrologue();
199 193
200 // Save all general purpose registers before messing with them. 194 // Save all general purpose registers before messing with them.
201 const int kNumberOfRegisters = Register::kNumRegisters; 195 const int kNumberOfRegisters = Register::kNumRegisters;
202 196
203 const int kDoubleRegsSize = kDoubleSize * XMMRegister::kMaxNumRegisters; 197 const int kDoubleRegsSize = kDoubleSize * XMMRegister::kMaxNumRegisters;
204 __ sub(esp, Immediate(kDoubleRegsSize)); 198 __ sub(esp, Immediate(kDoubleRegsSize));
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 } 380 }
387 381
388 382
389 #undef __ 383 #undef __
390 384
391 385
392 } // namespace internal 386 } // namespace internal
393 } // namespace v8 387 } // namespace v8
394 388
395 #endif // V8_TARGET_ARCH_IA32 389 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/deoptimizer.cc ('k') | src/mips/deoptimizer-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698