| 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 #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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 } | 121 } |
| 122 } | 122 } |
| 123 | 123 |
| 124 | 124 |
| 125 bool Deoptimizer::HasAlignmentPadding(JSFunction* function) { | 125 bool Deoptimizer::HasAlignmentPadding(JSFunction* function) { |
| 126 // There is no dynamic alignment padding on ARM in the input frame. | 126 // There is no dynamic alignment padding on ARM in the input frame. |
| 127 return false; | 127 return false; |
| 128 } | 128 } |
| 129 | 129 |
| 130 | 130 |
| 131 Code* Deoptimizer::NotifyStubFailureBuiltin() { | |
| 132 return isolate_->builtins()->builtin(Builtins::kNotifyStubFailureSaveDoubles); | |
| 133 } | |
| 134 | |
| 135 | |
| 136 #define __ masm()-> | 131 #define __ masm()-> |
| 137 | 132 |
| 138 // This code tries to be close to ia32 code so that any changes can be | 133 // This code tries to be close to ia32 code so that any changes can be |
| 139 // easily ported. | 134 // easily ported. |
| 140 void Deoptimizer::EntryGenerator::Generate() { | 135 void Deoptimizer::EntryGenerator::Generate() { |
| 141 GeneratePrologue(); | 136 GeneratePrologue(); |
| 142 | 137 |
| 143 // Save all general purpose registers before messing with them. | 138 // Save all general purpose registers before messing with them. |
| 144 const int kNumberOfRegisters = Register::kNumRegisters; | 139 const int kNumberOfRegisters = Register::kNumRegisters; |
| 145 | 140 |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 | 348 |
| 354 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { | 349 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { |
| 355 ASSERT(FLAG_enable_ool_constant_pool); | 350 ASSERT(FLAG_enable_ool_constant_pool); |
| 356 SetFrameSlot(offset, value); | 351 SetFrameSlot(offset, value); |
| 357 } | 352 } |
| 358 | 353 |
| 359 | 354 |
| 360 #undef __ | 355 #undef __ |
| 361 | 356 |
| 362 } } // namespace v8::internal | 357 } } // namespace v8::internal |
| OLD | NEW |