| 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 "src/v8.h" | 5 #include "src/v8.h" |
| 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.h" | 9 #include "src/full-codegen.h" |
| 10 #include "src/safepoint-table.h" | 10 #include "src/safepoint-table.h" |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 for (int i = 0; i < DoubleRegister::kMaxNumRegisters; ++i) { | 108 for (int i = 0; i < DoubleRegister::kMaxNumRegisters; ++i) { |
| 109 double double_value = input_->GetDoubleRegister(i); | 109 double double_value = input_->GetDoubleRegister(i); |
| 110 output_frame->SetDoubleRegister(i, double_value); | 110 output_frame->SetDoubleRegister(i, double_value); |
| 111 } | 111 } |
| 112 } | 112 } |
| 113 | 113 |
| 114 | 114 |
| 115 | 115 |
| 116 #define __ masm()-> | 116 #define __ masm()-> |
| 117 | 117 |
| 118 void Deoptimizer::EntryGenerator::Generate() { | 118 void Deoptimizer::TableEntryGenerator::Generate() { |
| 119 GeneratePrologue(); | 119 GeneratePrologue(); |
| 120 | 120 |
| 121 // TODO(all): This code needs to be revisited. We probably only need to save | 121 // TODO(all): This code needs to be revisited. We probably only need to save |
| 122 // caller-saved registers here. Callee-saved registers can be stored directly | 122 // caller-saved registers here. Callee-saved registers can be stored directly |
| 123 // in the input frame. | 123 // in the input frame. |
| 124 | 124 |
| 125 // Save all allocatable floating point registers. | 125 // Save all allocatable floating point registers. |
| 126 CPURegList saved_fp_registers(CPURegister::kFPRegister, kDRegSizeInBits, | 126 CPURegList saved_fp_registers(CPURegister::kFPRegister, kDRegSizeInBits, |
| 127 FPRegister::kAllocatableFPRegisters); | 127 FPRegister::kAllocatableFPRegisters); |
| 128 __ PushCPURegList(saved_fp_registers); | 128 __ PushCPURegList(saved_fp_registers); |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 | 355 |
| 356 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { | 356 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { |
| 357 // No out-of-line constant pool support. | 357 // No out-of-line constant pool support. |
| 358 UNREACHABLE(); | 358 UNREACHABLE(); |
| 359 } | 359 } |
| 360 | 360 |
| 361 | 361 |
| 362 #undef __ | 362 #undef __ |
| 363 | 363 |
| 364 } } // namespace v8::internal | 364 } } // namespace v8::internal |
| OLD | NEW |