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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 // Change all patched stack guard checks in the unoptimized code | 185 // Change all patched stack guard checks in the unoptimized code |
186 // back to a normal stack guard check. | 186 // back to a normal stack guard check. |
187 static void RevertStackCheckCodeAt(Address pc_after, | 187 static void RevertStackCheckCodeAt(Address pc_after, |
188 Code* check_code, | 188 Code* check_code, |
189 Code* replacement_code); | 189 Code* replacement_code); |
190 | 190 |
191 ~Deoptimizer(); | 191 ~Deoptimizer(); |
192 | 192 |
193 void InsertHeapNumberValues(int index, JavaScriptFrame* frame); | 193 void InsertHeapNumberValues(int index, JavaScriptFrame* frame); |
194 | 194 |
195 static void ComputeOutputFrames(Deoptimizer* deoptimizer, Isolate* isolate); | 195 static void ComputeOutputFrames(Deoptimizer* deoptimizer); |
196 | 196 |
197 static Address GetDeoptimizationEntry(int id, BailoutType type); | 197 static Address GetDeoptimizationEntry(int id, BailoutType type); |
198 static int GetDeoptimizationId(Address addr, BailoutType type); | 198 static int GetDeoptimizationId(Address addr, BailoutType type); |
199 static int GetOutputInfo(DeoptimizationOutputData* data, | 199 static int GetOutputInfo(DeoptimizationOutputData* data, |
200 unsigned node_id, | 200 unsigned node_id, |
201 SharedFunctionInfo* shared); | 201 SharedFunctionInfo* shared); |
202 | 202 |
203 // Code generation support. | 203 // Code generation support. |
204 static int input_offset() { return OFFSET_OF(Deoptimizer, input_); } | 204 static int input_offset() { return OFFSET_OF(Deoptimizer, input_); } |
205 static int output_count_offset() { | 205 static int output_count_offset() { |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
548 Handle<Code> code_; | 548 Handle<Code> code_; |
549 | 549 |
550 // Next pointer for linked list. | 550 // Next pointer for linked list. |
551 DeoptimizingCodeListNode* next_; | 551 DeoptimizingCodeListNode* next_; |
552 }; | 552 }; |
553 | 553 |
554 | 554 |
555 } } // namespace v8::internal | 555 } } // namespace v8::internal |
556 | 556 |
557 #endif // V8_DEOPTIMIZER_H_ | 557 #endif // V8_DEOPTIMIZER_H_ |
OLD | NEW |