| 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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 | 260 |
| 261 private: | 261 private: |
| 262 int count() const { return count_; } | 262 int count() const { return count_; } |
| 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 | |
| 271 static const int kNumberOfEntries = 4096; | |
| 272 #else | |
| 273 static const int kNumberOfEntries = 16384; | 270 static const int kNumberOfEntries = 16384; |
| 274 #endif | |
| 275 | 271 |
| 276 Deoptimizer(Isolate* isolate, | 272 Deoptimizer(Isolate* isolate, |
| 277 JSFunction* function, | 273 JSFunction* function, |
| 278 BailoutType type, | 274 BailoutType type, |
| 279 unsigned bailout_id, | 275 unsigned bailout_id, |
| 280 Address from, | 276 Address from, |
| 281 int fp_to_sp_delta, | 277 int fp_to_sp_delta, |
| 282 Code* optimized_code); | 278 Code* optimized_code); |
| 283 void DeleteFrameDescriptions(); | 279 void DeleteFrameDescriptions(); |
| 284 | 280 |
| (...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 778 Object** expression_stack_; | 774 Object** expression_stack_; |
| 779 int source_position_; | 775 int source_position_; |
| 780 | 776 |
| 781 friend class Deoptimizer; | 777 friend class Deoptimizer; |
| 782 }; | 778 }; |
| 783 #endif | 779 #endif |
| 784 | 780 |
| 785 } } // namespace v8::internal | 781 } } // namespace v8::internal |
| 786 | 782 |
| 787 #endif // V8_DEOPTIMIZER_H_ | 783 #endif // V8_DEOPTIMIZER_H_ |
| OLD | NEW |