| OLD | NEW |
| 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 #include "v8.h" | 5 #include "v8.h" |
| 6 | 6 |
| 7 #if V8_TARGET_ARCH_X64 | 7 #if V8_TARGET_ARCH_X64 |
| 8 | 8 |
| 9 #include "codegen.h" | 9 #include "codegen.h" |
| 10 #include "deoptimizer.h" | 10 #include "deoptimizer.h" |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 } | 122 } |
| 123 } | 123 } |
| 124 | 124 |
| 125 | 125 |
| 126 bool Deoptimizer::HasAlignmentPadding(JSFunction* function) { | 126 bool Deoptimizer::HasAlignmentPadding(JSFunction* function) { |
| 127 // There is no dynamic alignment padding on x64 in the input frame. | 127 // There is no dynamic alignment padding on x64 in the input frame. |
| 128 return false; | 128 return false; |
| 129 } | 129 } |
| 130 | 130 |
| 131 | 131 |
| 132 Code* Deoptimizer::NotifyStubFailureBuiltin() { | |
| 133 return isolate_->builtins()->builtin(Builtins::kNotifyStubFailureSaveDoubles); | |
| 134 } | |
| 135 | |
| 136 | |
| 137 #define __ masm()-> | 132 #define __ masm()-> |
| 138 | 133 |
| 139 void Deoptimizer::EntryGenerator::Generate() { | 134 void Deoptimizer::EntryGenerator::Generate() { |
| 140 GeneratePrologue(); | 135 GeneratePrologue(); |
| 141 | 136 |
| 142 // Save all general purpose registers before messing with them. | 137 // Save all general purpose registers before messing with them. |
| 143 const int kNumberOfRegisters = Register::kNumRegisters; | 138 const int kNumberOfRegisters = Register::kNumRegisters; |
| 144 | 139 |
| 145 const int kDoubleRegsSize = kDoubleSize * | 140 const int kDoubleRegsSize = kDoubleSize * |
| 146 XMMRegister::NumAllocatableRegisters(); | 141 XMMRegister::NumAllocatableRegisters(); |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 UNREACHABLE(); | 346 UNREACHABLE(); |
| 352 } | 347 } |
| 353 | 348 |
| 354 | 349 |
| 355 #undef __ | 350 #undef __ |
| 356 | 351 |
| 357 | 352 |
| 358 } } // namespace v8::internal | 353 } } // namespace v8::internal |
| 359 | 354 |
| 360 #endif // V8_TARGET_ARCH_X64 | 355 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |