| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 Code* replacement_code); | 179 Code* replacement_code); |
| 180 | 180 |
| 181 // Change all patched stack guard checks in the unoptimized code | 181 // Change all patched stack guard checks in the unoptimized code |
| 182 // back to a normal stack guard check. | 182 // back to a normal stack guard check. |
| 183 static void RevertStackCheckCode(Code* unoptimized_code, | 183 static void RevertStackCheckCode(Code* unoptimized_code, |
| 184 Code* check_code, | 184 Code* check_code, |
| 185 Code* replacement_code); | 185 Code* replacement_code); |
| 186 | 186 |
| 187 // Change all patched stack guard checks in the unoptimized code | 187 // Change all patched stack guard checks in the unoptimized code |
| 188 // back to a normal stack guard check. | 188 // back to a normal stack guard check. |
| 189 static void RevertStackCheckCodeAt(Address pc_after, | 189 static void RevertStackCheckCodeAt(Code* unoptimized_code, |
| 190 Address pc_after, |
| 190 Code* check_code, | 191 Code* check_code, |
| 191 Code* replacement_code); | 192 Code* replacement_code); |
| 192 | 193 |
| 193 ~Deoptimizer(); | 194 ~Deoptimizer(); |
| 194 | 195 |
| 195 void MaterializeHeapNumbers(); | 196 void MaterializeHeapNumbers(); |
| 196 #ifdef ENABLE_DEBUGGER_SUPPORT | 197 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 197 void MaterializeHeapNumbersForDebuggerInspectableFrame( | 198 void MaterializeHeapNumbersForDebuggerInspectableFrame( |
| 198 Address top, uint32_t size, DeoptimizedFrameInfo* info); | 199 Address top, uint32_t size, DeoptimizedFrameInfo* info); |
| 199 #endif | 200 #endif |
| (...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 727 Object** parameters_; | 728 Object** parameters_; |
| 728 Object** expression_stack_; | 729 Object** expression_stack_; |
| 729 | 730 |
| 730 friend class Deoptimizer; | 731 friend class Deoptimizer; |
| 731 }; | 732 }; |
| 732 #endif | 733 #endif |
| 733 | 734 |
| 734 } } // namespace v8::internal | 735 } } // namespace v8::internal |
| 735 | 736 |
| 736 #endif // V8_DEOPTIMIZER_H_ | 737 #endif // V8_DEOPTIMIZER_H_ |
| OLD | NEW |