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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 protected: | 251 protected: |
252 virtual void GeneratePrologue(); | 252 virtual void GeneratePrologue(); |
253 | 253 |
254 private: | 254 private: |
255 int count() const { return count_; } | 255 int count() const { return count_; } |
256 | 256 |
257 int count_; | 257 int count_; |
258 }; | 258 }; |
259 | 259 |
260 private: | 260 private: |
261 static const int kNumberOfEntries = 4096; | 261 static const int kNumberOfEntries = 8192; |
262 | 262 |
263 Deoptimizer(Isolate* isolate, | 263 Deoptimizer(Isolate* isolate, |
264 JSFunction* function, | 264 JSFunction* function, |
265 BailoutType type, | 265 BailoutType type, |
266 unsigned bailout_id, | 266 unsigned bailout_id, |
267 Address from, | 267 Address from, |
268 int fp_to_sp_delta, | 268 int fp_to_sp_delta, |
269 Code* optimized_code); | 269 Code* optimized_code); |
270 void DeleteFrameDescriptions(); | 270 void DeleteFrameDescriptions(); |
271 | 271 |
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
741 Object** parameters_; | 741 Object** parameters_; |
742 Object** expression_stack_; | 742 Object** expression_stack_; |
743 | 743 |
744 friend class Deoptimizer; | 744 friend class Deoptimizer; |
745 }; | 745 }; |
746 #endif | 746 #endif |
747 | 747 |
748 } } // namespace v8::internal | 748 } } // namespace v8::internal |
749 | 749 |
750 #endif // V8_DEOPTIMIZER_H_ | 750 #endif // V8_DEOPTIMIZER_H_ |
OLD | NEW |