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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 | 263 |
264 int count_; | 264 int count_; |
265 }; | 265 }; |
266 | 266 |
267 int ConvertJSFrameIndexToFrameIndex(int jsframe_index); | 267 int ConvertJSFrameIndexToFrameIndex(int jsframe_index); |
268 | 268 |
269 private: | 269 private: |
270 #ifdef V8_TARGET_ARCH_MIPS | 270 #ifdef V8_TARGET_ARCH_MIPS |
271 static const int kNumberOfEntries = 4096; | 271 static const int kNumberOfEntries = 4096; |
272 #else | 272 #else |
273 static const int kNumberOfEntries = 8192; | 273 static const int kNumberOfEntries = 16384; |
274 #endif | 274 #endif |
275 | 275 |
276 Deoptimizer(Isolate* isolate, | 276 Deoptimizer(Isolate* isolate, |
277 JSFunction* function, | 277 JSFunction* function, |
278 BailoutType type, | 278 BailoutType type, |
279 unsigned bailout_id, | 279 unsigned bailout_id, |
280 Address from, | 280 Address from, |
281 int fp_to_sp_delta, | 281 int fp_to_sp_delta, |
282 Code* optimized_code); | 282 Code* optimized_code); |
283 void DeleteFrameDescriptions(); | 283 void DeleteFrameDescriptions(); |
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
778 Object** expression_stack_; | 778 Object** expression_stack_; |
779 int source_position_; | 779 int source_position_; |
780 | 780 |
781 friend class Deoptimizer; | 781 friend class Deoptimizer; |
782 }; | 782 }; |
783 #endif | 783 #endif |
784 | 784 |
785 } } // namespace v8::internal | 785 } } // namespace v8::internal |
786 | 786 |
787 #endif // V8_DEOPTIMIZER_H_ | 787 #endif // V8_DEOPTIMIZER_H_ |
OLD | NEW |