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/mips/deoptimizer-mips.cc

Issue 2652303002: [deoptimizer] Preserve double bit patterns correctly. (Closed)
Patch Set: Created 3 years, 11 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/ia32/deoptimizer-ia32.cc ('k') | src/mips64/deoptimizer-mips64.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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/codegen.h" 5 #include "src/codegen.h"
6 #include "src/deoptimizer.h" 6 #include "src/deoptimizer.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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 ExternalReference xref(&function, ExternalReference::BUILTIN_CALL, isolate_); 86 ExternalReference xref(&function, ExternalReference::BUILTIN_CALL, isolate_);
87 intptr_t handler = reinterpret_cast<intptr_t>(xref.address()); 87 intptr_t handler = reinterpret_cast<intptr_t>(xref.address());
88 int params = descriptor->GetHandlerParameterCount(); 88 int params = descriptor->GetHandlerParameterCount();
89 output_frame->SetRegister(a0.code(), params); 89 output_frame->SetRegister(a0.code(), params);
90 output_frame->SetRegister(a1.code(), handler); 90 output_frame->SetRegister(a1.code(), handler);
91 } 91 }
92 92
93 93
94 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) { 94 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) {
95 for (int i = 0; i < DoubleRegister::kMaxNumRegisters; ++i) { 95 for (int i = 0; i < DoubleRegister::kMaxNumRegisters; ++i) {
96 double double_value = input_->GetDoubleRegister(i); 96 Float64 double_value = input_->GetDoubleRegister(i);
97 output_frame->SetDoubleRegister(i, double_value); 97 output_frame->SetDoubleRegister(i, double_value);
98 } 98 }
99 } 99 }
100 100
101 #define __ masm()-> 101 #define __ masm()->
102 102
103 103
104 // This code tries to be close to ia32 code so that any changes can be 104 // This code tries to be close to ia32 code so that any changes can be
105 // easily ported. 105 // easily ported.
106 void Deoptimizer::TableEntryGenerator::Generate() { 106 void Deoptimizer::TableEntryGenerator::Generate() {
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 // No embedded constant pool support. 382 // No embedded constant pool support.
383 UNREACHABLE(); 383 UNREACHABLE();
384 } 384 }
385 385
386 386
387 #undef __ 387 #undef __
388 388
389 389
390 } // namespace internal 390 } // namespace internal
391 } // namespace v8 391 } // namespace v8
OLDNEW
« no previous file with comments | « src/ia32/deoptimizer-ia32.cc ('k') | src/mips64/deoptimizer-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698