| 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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 static void RevertInterruptCodeAt(Code* unoptimized_code, | 255 static void RevertInterruptCodeAt(Code* unoptimized_code, |
| 256 Address pc_after, | 256 Address pc_after, |
| 257 Code* interrupt_code); | 257 Code* interrupt_code); |
| 258 | 258 |
| 259 #ifdef DEBUG | 259 #ifdef DEBUG |
| 260 static InterruptPatchState GetInterruptPatchState(Isolate* isolate, | 260 static InterruptPatchState GetInterruptPatchState(Isolate* isolate, |
| 261 Code* unoptimized_code, | 261 Code* unoptimized_code, |
| 262 Address pc_after); | 262 Address pc_after); |
| 263 | 263 |
| 264 // Verify that all back edges of a certain loop depth are patched. | 264 // Verify that all back edges of a certain loop depth are patched. |
| 265 static void VerifyInterruptCode(Isolate* isolate, | 265 static bool VerifyInterruptCode(Isolate* isolate, |
| 266 Code* unoptimized_code, | 266 Code* unoptimized_code, |
| 267 int loop_nesting_level); | 267 int loop_nesting_level); |
| 268 #endif // DEBUG | 268 #endif // DEBUG |
| 269 | 269 |
| 270 ~Deoptimizer(); | 270 ~Deoptimizer(); |
| 271 | 271 |
| 272 void MaterializeHeapObjects(JavaScriptFrameIterator* it); | 272 void MaterializeHeapObjects(JavaScriptFrameIterator* it); |
| 273 #ifdef ENABLE_DEBUGGER_SUPPORT | 273 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 274 void MaterializeHeapNumbersForDebuggerInspectableFrame( | 274 void MaterializeHeapNumbersForDebuggerInspectableFrame( |
| 275 Address parameters_top, | 275 Address parameters_top, |
| (...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1004 Object** expression_stack_; | 1004 Object** expression_stack_; |
| 1005 int source_position_; | 1005 int source_position_; |
| 1006 | 1006 |
| 1007 friend class Deoptimizer; | 1007 friend class Deoptimizer; |
| 1008 }; | 1008 }; |
| 1009 #endif | 1009 #endif |
| 1010 | 1010 |
| 1011 } } // namespace v8::internal | 1011 } } // namespace v8::internal |
| 1012 | 1012 |
| 1013 #endif // V8_DEOPTIMIZER_H_ | 1013 #endif // V8_DEOPTIMIZER_H_ |
| OLD | NEW |