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

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

Issue 2652303002: [deoptimizer] Preserve double bit patterns correctly. (Closed)
Patch Set: Created 3 years, 10 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/arm64/frames-arm64.h" 5 #include "src/arm64/frames-arm64.h"
6 #include "src/codegen.h" 6 #include "src/codegen.h"
7 #include "src/deoptimizer.h" 7 #include "src/deoptimizer.h"
8 #include "src/full-codegen/full-codegen.h" 8 #include "src/full-codegen/full-codegen.h"
9 #include "src/register-configuration.h" 9 #include "src/register-configuration.h"
10 #include "src/safepoint-table.h" 10 #include "src/safepoint-table.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 ExternalReference xref(&function, ExternalReference::BUILTIN_CALL, isolate_); 71 ExternalReference xref(&function, ExternalReference::BUILTIN_CALL, isolate_);
72 intptr_t handler = reinterpret_cast<intptr_t>(xref.address()); 72 intptr_t handler = reinterpret_cast<intptr_t>(xref.address());
73 int params = descriptor->GetHandlerParameterCount(); 73 int params = descriptor->GetHandlerParameterCount();
74 output_frame->SetRegister(x0.code(), params); 74 output_frame->SetRegister(x0.code(), params);
75 output_frame->SetRegister(x1.code(), handler); 75 output_frame->SetRegister(x1.code(), handler);
76 } 76 }
77 77
78 78
79 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) { 79 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) {
80 for (int i = 0; i < DoubleRegister::kMaxNumRegisters; ++i) { 80 for (int i = 0; i < DoubleRegister::kMaxNumRegisters; ++i) {
81 double double_value = input_->GetDoubleRegister(i); 81 Float64 double_value = input_->GetDoubleRegister(i);
82 output_frame->SetDoubleRegister(i, double_value); 82 output_frame->SetDoubleRegister(i, double_value);
83 } 83 }
84 } 84 }
85 85
86 86
87 87
88 #define __ masm()-> 88 #define __ masm()->
89 89
90 void Deoptimizer::TableEntryGenerator::Generate() { 90 void Deoptimizer::TableEntryGenerator::Generate() {
91 GeneratePrologue(); 91 GeneratePrologue();
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { 339 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) {
340 // No embedded constant pool support. 340 // No embedded constant pool support.
341 UNREACHABLE(); 341 UNREACHABLE();
342 } 342 }
343 343
344 344
345 #undef __ 345 #undef __
346 346
347 } // namespace internal 347 } // namespace internal
348 } // namespace v8 348 } // namespace v8
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