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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 int frame_index); | 344 int frame_index); |
345 void DoComputeConstructStubFrame(TranslationIterator* iterator, | 345 void DoComputeConstructStubFrame(TranslationIterator* iterator, |
346 int frame_index); | 346 int frame_index); |
347 void DoComputeAccessorStubFrame(TranslationIterator* iterator, | 347 void DoComputeAccessorStubFrame(TranslationIterator* iterator, |
348 int frame_index, | 348 int frame_index, |
349 bool is_setter_stub_frame); | 349 bool is_setter_stub_frame); |
350 void DoComputeCompiledStubFrame(TranslationIterator* iterator, | 350 void DoComputeCompiledStubFrame(TranslationIterator* iterator, |
351 int frame_index); | 351 int frame_index); |
352 void DoTranslateCommand(TranslationIterator* iterator, | 352 void DoTranslateCommand(TranslationIterator* iterator, |
353 int frame_index, | 353 int frame_index, |
354 unsigned output_offset); | 354 unsigned output_offset, |
| 355 bool is_native_value = false); |
| 356 |
355 // Translate a command for OSR. Updates the input offset to be used for | 357 // Translate a command for OSR. Updates the input offset to be used for |
356 // the next command. Returns false if translation of the command failed | 358 // the next command. Returns false if translation of the command failed |
357 // (e.g., a number conversion failed) and may or may not have updated the | 359 // (e.g., a number conversion failed) and may or may not have updated the |
358 // input offset. | 360 // input offset. |
359 bool DoOsrTranslateCommand(TranslationIterator* iterator, | 361 bool DoOsrTranslateCommand(TranslationIterator* iterator, |
360 int* input_offset); | 362 int* input_offset); |
361 | 363 |
362 unsigned ComputeInputFrameSize() const; | 364 unsigned ComputeInputFrameSize() const; |
363 unsigned ComputeFixedSize(JSFunction* function) const; | 365 unsigned ComputeFixedSize(JSFunction* function) const; |
364 | 366 |
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
888 Object** expression_stack_; | 890 Object** expression_stack_; |
889 int source_position_; | 891 int source_position_; |
890 | 892 |
891 friend class Deoptimizer; | 893 friend class Deoptimizer; |
892 }; | 894 }; |
893 #endif | 895 #endif |
894 | 896 |
895 } } // namespace v8::internal | 897 } } // namespace v8::internal |
896 | 898 |
897 #endif // V8_DEOPTIMIZER_H_ | 899 #endif // V8_DEOPTIMIZER_H_ |
OLD | NEW |