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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 #ifdef ENABLE_DEBUGGER_SUPPORT | 106 #ifdef ENABLE_DEBUGGER_SUPPORT |
107 void Iterate(ObjectVisitor* v); | 107 void Iterate(ObjectVisitor* v); |
108 #endif | 108 #endif |
109 | 109 |
110 Code* FindDeoptimizingCode(Address addr); | 110 Code* FindDeoptimizingCode(Address addr); |
111 void RemoveDeoptimizingCode(Code* code); | 111 void RemoveDeoptimizingCode(Code* code); |
112 | 112 |
113 private: | 113 private: |
114 int eager_deoptimization_entry_code_entries_; | 114 int eager_deoptimization_entry_code_entries_; |
115 int lazy_deoptimization_entry_code_entries_; | 115 int lazy_deoptimization_entry_code_entries_; |
116 MemoryChunk* eager_deoptimization_entry_code_; | 116 VirtualMemory* eager_deoptimization_entry_code_; |
117 MemoryChunk* lazy_deoptimization_entry_code_; | 117 VirtualMemory* lazy_deoptimization_entry_code_; |
118 Deoptimizer* current_; | 118 Deoptimizer* current_; |
119 | 119 |
120 #ifdef ENABLE_DEBUGGER_SUPPORT | 120 #ifdef ENABLE_DEBUGGER_SUPPORT |
121 DeoptimizedFrameInfo* deoptimized_frame_info_; | 121 DeoptimizedFrameInfo* deoptimized_frame_info_; |
122 #endif | 122 #endif |
123 | 123 |
124 // List of deoptimized code which still have references from active stack | 124 // List of deoptimized code which still have references from active stack |
125 // frames. These code objects are needed by the deoptimizer when deoptimizing | 125 // frames. These code objects are needed by the deoptimizer when deoptimizing |
126 // a frame for which the code object for the function function has been | 126 // a frame for which the code object for the function function has been |
127 // changed from the code present when deoptimizing was done. | 127 // changed from the code present when deoptimizing was done. |
(...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
874 Object** expression_stack_; | 874 Object** expression_stack_; |
875 int source_position_; | 875 int source_position_; |
876 | 876 |
877 friend class Deoptimizer; | 877 friend class Deoptimizer; |
878 }; | 878 }; |
879 #endif | 879 #endif |
880 | 880 |
881 } } // namespace v8::internal | 881 } } // namespace v8::internal |
882 | 882 |
883 #endif // V8_DEOPTIMIZER_H_ | 883 #endif // V8_DEOPTIMIZER_H_ |
OLD | NEW |