| 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/v8.h" | 8 #include "src/v8.h" | 
| 9 | 9 | 
| 10 #include "src/allocation.h" | 10 #include "src/allocation.h" | 
| (...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 639   void DoComputeArgumentsAdaptorFrame(TranslationIterator* iterator, | 639   void DoComputeArgumentsAdaptorFrame(TranslationIterator* iterator, | 
| 640                                       int frame_index); | 640                                       int frame_index); | 
| 641   void DoComputeConstructStubFrame(TranslationIterator* iterator, | 641   void DoComputeConstructStubFrame(TranslationIterator* iterator, | 
| 642                                    int frame_index); | 642                                    int frame_index); | 
| 643   void DoComputeAccessorStubFrame(TranslationIterator* iterator, | 643   void DoComputeAccessorStubFrame(TranslationIterator* iterator, | 
| 644                                   int frame_index, | 644                                   int frame_index, | 
| 645                                   bool is_setter_stub_frame); | 645                                   bool is_setter_stub_frame); | 
| 646   void DoComputeCompiledStubFrame(TranslationIterator* iterator, | 646   void DoComputeCompiledStubFrame(TranslationIterator* iterator, | 
| 647                                   int frame_index); | 647                                   int frame_index); | 
| 648 | 648 | 
| 649   void WriteValueToOutput(TranslatedFrame::iterator* iterator, int* input_index, | 649   void WriteTranslatedValueToOutput( | 
| 650                           int frame_index, unsigned output_offset, | 650       TranslatedFrame::iterator* iterator, int* input_index, int frame_index, | 
| 651                           Address output_address_for_materialization = nullptr); | 651       unsigned output_offset, const char* debug_hint_string = nullptr, | 
|  | 652       Address output_address_for_materialization = nullptr); | 
|  | 653   void WriteValueToOutput(Object* value, int input_index, int frame_index, | 
|  | 654                           unsigned output_offset, | 
|  | 655                           const char* debug_hint_string); | 
|  | 656   void DebugPrintOutputSlot(intptr_t value, int frame_index, | 
|  | 657                             unsigned output_offset, | 
|  | 658                             const char* debug_hint_string); | 
| 652 | 659 | 
| 653   unsigned ComputeInputFrameSize() const; | 660   unsigned ComputeInputFrameSize() const; | 
| 654   unsigned ComputeFixedSize(JSFunction* function) const; | 661   unsigned ComputeFixedSize(JSFunction* function) const; | 
| 655 | 662 | 
| 656   unsigned ComputeIncomingArgumentSize(JSFunction* function) const; | 663   unsigned ComputeIncomingArgumentSize(JSFunction* function) const; | 
| 657   unsigned ComputeOutgoingArgumentSize() const; | 664   unsigned ComputeOutgoingArgumentSize() const; | 
| 658 | 665 | 
| 659   Object* ComputeLiteral(int index) const; | 666   Object* ComputeLiteral(int index) const; | 
| 660 | 667 | 
| 661   static void GenerateDeoptimizationEntries( | 668   static void GenerateDeoptimizationEntries( | 
| (...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1181   Object** expression_stack_; | 1188   Object** expression_stack_; | 
| 1182   int source_position_; | 1189   int source_position_; | 
| 1183 | 1190 | 
| 1184   friend class Deoptimizer; | 1191   friend class Deoptimizer; | 
| 1185 }; | 1192 }; | 
| 1186 | 1193 | 
| 1187 }  // namespace internal | 1194 }  // namespace internal | 
| 1188 }  // namespace v8 | 1195 }  // namespace v8 | 
| 1189 | 1196 | 
| 1190 #endif  // V8_DEOPTIMIZER_H_ | 1197 #endif  // V8_DEOPTIMIZER_H_ | 
| OLD | NEW | 
|---|