| 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 #ifndef V8_DEOPTIMIZER_H_ | 5 #ifndef V8_DEOPTIMIZER_H_ |
| 6 #define V8_DEOPTIMIZER_H_ | 6 #define V8_DEOPTIMIZER_H_ |
| 7 | 7 |
| 8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/macro-assembler.h" | 9 #include "src/macro-assembler.h" |
| 10 | 10 |
| (...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 579 BailoutType type, | 579 BailoutType type, |
| 580 unsigned bailout_id, | 580 unsigned bailout_id, |
| 581 Address from, | 581 Address from, |
| 582 int fp_to_sp_delta, | 582 int fp_to_sp_delta, |
| 583 Code* optimized_code); | 583 Code* optimized_code); |
| 584 Code* FindOptimizedCode(JSFunction* function, Code* optimized_code); | 584 Code* FindOptimizedCode(JSFunction* function, Code* optimized_code); |
| 585 void PrintFunctionName(); | 585 void PrintFunctionName(); |
| 586 void DeleteFrameDescriptions(); | 586 void DeleteFrameDescriptions(); |
| 587 | 587 |
| 588 void DoComputeOutputFrames(); | 588 void DoComputeOutputFrames(); |
| 589 void DoComputeJSFrame(TranslationIterator* iterator, int frame_index); | 589 void DoComputeJSFrame(int frame_index); |
| 590 void DoComputeArgumentsAdaptorFrame(TranslationIterator* iterator, | 590 void DoComputeArgumentsAdaptorFrame(int frame_index); |
| 591 int frame_index); | 591 void DoComputeConstructStubFrame(int frame_index); |
| 592 void DoComputeConstructStubFrame(TranslationIterator* iterator, | 592 void DoComputeAccessorStubFrame(int frame_index, bool is_setter_stub_frame); |
| 593 int frame_index); | 593 void DoComputeCompiledStubFrame(int frame_index); |
| 594 void DoComputeAccessorStubFrame(TranslationIterator* iterator, | |
| 595 int frame_index, | |
| 596 bool is_setter_stub_frame); | |
| 597 void DoComputeCompiledStubFrame(TranslationIterator* iterator, | |
| 598 int frame_index); | |
| 599 | 594 |
| 600 void WriteTranslatedValueToOutput( | 595 void WriteTranslatedValueToOutput( |
| 601 TranslatedFrame::iterator* iterator, int* input_index, int frame_index, | 596 TranslatedFrame::iterator* iterator, int* input_index, int frame_index, |
| 602 unsigned output_offset, const char* debug_hint_string = nullptr, | 597 unsigned output_offset, const char* debug_hint_string = nullptr, |
| 603 Address output_address_for_materialization = nullptr); | 598 Address output_address_for_materialization = nullptr); |
| 604 void WriteValueToOutput(Object* value, int input_index, int frame_index, | 599 void WriteValueToOutput(Object* value, int input_index, int frame_index, |
| 605 unsigned output_offset, | 600 unsigned output_offset, |
| 606 const char* debug_hint_string); | 601 const char* debug_hint_string); |
| 607 void DebugPrintOutputSlot(intptr_t value, int frame_index, | 602 void DebugPrintOutputSlot(intptr_t value, int frame_index, |
| 608 unsigned output_offset, | 603 unsigned output_offset, |
| (...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1135 Object** expression_stack_; | 1130 Object** expression_stack_; |
| 1136 int source_position_; | 1131 int source_position_; |
| 1137 | 1132 |
| 1138 friend class Deoptimizer; | 1133 friend class Deoptimizer; |
| 1139 }; | 1134 }; |
| 1140 | 1135 |
| 1141 } // namespace internal | 1136 } // namespace internal |
| 1142 } // namespace v8 | 1137 } // namespace v8 |
| 1143 | 1138 |
| 1144 #endif // V8_DEOPTIMIZER_H_ | 1139 #endif // V8_DEOPTIMIZER_H_ |
| OLD | NEW |