| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 } | 120 } |
| 121 } | 121 } |
| 122 | 122 |
| 123 | 123 |
| 124 bool Deoptimizer::HasAlignmentPadding(JSFunction* function) { | 124 bool Deoptimizer::HasAlignmentPadding(JSFunction* function) { |
| 125 // There is no dynamic alignment padding on ARM in the input frame. | 125 // There is no dynamic alignment padding on ARM in the input frame. |
| 126 return false; | 126 return false; |
| 127 } | 127 } |
| 128 | 128 |
| 129 | 129 |
| 130 Code* Deoptimizer::NotifyStubFailureBuiltin() { |
| 131 return isolate_->builtins()->builtin(Builtins::kNotifyStubFailureSaveDoubles); |
| 132 } |
| 133 |
| 134 |
| 130 #define __ masm()-> | 135 #define __ masm()-> |
| 131 | 136 |
| 132 // This code tries to be close to ia32 code so that any changes can be | 137 // This code tries to be close to ia32 code so that any changes can be |
| 133 // easily ported. | 138 // easily ported. |
| 134 void Deoptimizer::EntryGenerator::Generate() { | 139 void Deoptimizer::EntryGenerator::Generate() { |
| 135 GeneratePrologue(); | 140 GeneratePrologue(); |
| 136 | 141 |
| 137 // Save all general purpose registers before messing with them. | 142 // Save all general purpose registers before messing with them. |
| 138 const int kNumberOfRegisters = Register::kNumRegisters; | 143 const int kNumberOfRegisters = Register::kNumRegisters; |
| 139 | 144 |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 | 346 |
| 342 | 347 |
| 343 void FrameDescription::SetCallerFp(unsigned offset, intptr_t value) { | 348 void FrameDescription::SetCallerFp(unsigned offset, intptr_t value) { |
| 344 SetFrameSlot(offset, value); | 349 SetFrameSlot(offset, value); |
| 345 } | 350 } |
| 346 | 351 |
| 347 | 352 |
| 348 #undef __ | 353 #undef __ |
| 349 | 354 |
| 350 } } // namespace v8::internal | 355 } } // namespace v8::internal |
| OLD | NEW |