| OLD | NEW |
| 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 "v8.h" | 5 #include "v8.h" |
| 6 | 6 |
| 7 #include "codegen.h" | 7 #include "codegen.h" |
| 8 #include "deoptimizer.h" | 8 #include "deoptimizer.h" |
| 9 #include "full-codegen.h" | 9 #include "full-codegen.h" |
| 10 #include "safepoint-table.h" | 10 #include "safepoint-table.h" |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 | 103 |
| 104 | 104 |
| 105 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) { | 105 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) { |
| 106 for (int i = 0; i < DoubleRegister::kMaxNumRegisters; ++i) { | 106 for (int i = 0; i < DoubleRegister::kMaxNumRegisters; ++i) { |
| 107 double double_value = input_->GetDoubleRegister(i); | 107 double double_value = input_->GetDoubleRegister(i); |
| 108 output_frame->SetDoubleRegister(i, double_value); | 108 output_frame->SetDoubleRegister(i, double_value); |
| 109 } | 109 } |
| 110 } | 110 } |
| 111 | 111 |
| 112 | 112 |
| 113 Code* Deoptimizer::NotifyStubFailureBuiltin() { | |
| 114 return isolate_->builtins()->builtin(Builtins::kNotifyStubFailureSaveDoubles); | |
| 115 } | |
| 116 | |
| 117 | |
| 118 #define __ masm-> | 113 #define __ masm-> |
| 119 | 114 |
| 120 static void CopyRegisterDumpToFrame(MacroAssembler* masm, | 115 static void CopyRegisterDumpToFrame(MacroAssembler* masm, |
| 121 Register frame, | 116 Register frame, |
| 122 CPURegList reg_list, | 117 CPURegList reg_list, |
| 123 Register scratch1, | 118 Register scratch1, |
| 124 Register scratch2, | 119 Register scratch2, |
| 125 int src_offset, | 120 int src_offset, |
| 126 int dst_offset) { | 121 int dst_offset) { |
| 127 int offset0, offset1; | 122 int offset0, offset1; |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 | 376 |
| 382 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { | 377 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { |
| 383 // No out-of-line constant pool support. | 378 // No out-of-line constant pool support. |
| 384 UNREACHABLE(); | 379 UNREACHABLE(); |
| 385 } | 380 } |
| 386 | 381 |
| 387 | 382 |
| 388 #undef __ | 383 #undef __ |
| 389 | 384 |
| 390 } } // namespace v8::internal | 385 } } // namespace v8::internal |
| OLD | NEW |