| 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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 static const int kMaxNumberOfEntries = 16384; | 328 static const int kMaxNumberOfEntries = 16384; |
| 329 | 329 |
| 330 Deoptimizer(Isolate* isolate, | 330 Deoptimizer(Isolate* isolate, |
| 331 JSFunction* function, | 331 JSFunction* function, |
| 332 BailoutType type, | 332 BailoutType type, |
| 333 unsigned bailout_id, | 333 unsigned bailout_id, |
| 334 Address from, | 334 Address from, |
| 335 int fp_to_sp_delta, | 335 int fp_to_sp_delta, |
| 336 Code* optimized_code); | 336 Code* optimized_code); |
| 337 Code* FindOptimizedCode(JSFunction* function, Code* optimized_code); | 337 Code* FindOptimizedCode(JSFunction* function, Code* optimized_code); |
| 338 void Trace(); | |
| 339 void PrintFunctionName(); | 338 void PrintFunctionName(); |
| 340 void DeleteFrameDescriptions(); | 339 void DeleteFrameDescriptions(); |
| 341 | 340 |
| 342 void DoComputeOutputFrames(); | 341 void DoComputeOutputFrames(); |
| 343 void DoComputeOsrOutputFrame(); | 342 void DoComputeOsrOutputFrame(); |
| 344 void DoComputeJSFrame(TranslationIterator* iterator, int frame_index); | 343 void DoComputeJSFrame(TranslationIterator* iterator, int frame_index); |
| 345 void DoComputeArgumentsAdaptorFrame(TranslationIterator* iterator, | 344 void DoComputeArgumentsAdaptorFrame(TranslationIterator* iterator, |
| 346 int frame_index); | 345 int frame_index); |
| 347 void DoComputeConstructStubFrame(TranslationIterator* iterator, | 346 void DoComputeConstructStubFrame(TranslationIterator* iterator, |
| 348 int frame_index); | 347 int frame_index); |
| (...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 932 Object** expression_stack_; | 931 Object** expression_stack_; |
| 933 int source_position_; | 932 int source_position_; |
| 934 | 933 |
| 935 friend class Deoptimizer; | 934 friend class Deoptimizer; |
| 936 }; | 935 }; |
| 937 #endif | 936 #endif |
| 938 | 937 |
| 939 } } // namespace v8::internal | 938 } } // namespace v8::internal |
| 940 | 939 |
| 941 #endif // V8_DEOPTIMIZER_H_ | 940 #endif // V8_DEOPTIMIZER_H_ |
| OLD | NEW |