| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_DEOPTIMIZER_H_ | 5 #ifndef V8_DEOPTIMIZER_H_ |
| 6 #define V8_DEOPTIMIZER_H_ | 6 #define V8_DEOPTIMIZER_H_ |
| 7 | 7 |
| 8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/macro-assembler.h" | 9 #include "src/macro-assembler.h" |
| 10 | 10 |
| (...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 V(kExpectedHeapNumber, "Expected heap number") \ | 333 V(kExpectedHeapNumber, "Expected heap number") \ |
| 334 V(kExpectedSmi, "Expected smi") \ | 334 V(kExpectedSmi, "Expected smi") \ |
| 335 V(kForcedDeoptToRuntime, "Forced deopt to runtime") \ | 335 V(kForcedDeoptToRuntime, "Forced deopt to runtime") \ |
| 336 V(kHole, "hole") \ | 336 V(kHole, "hole") \ |
| 337 V(kHoleyArrayDespitePackedElements_kindFeedback, \ | 337 V(kHoleyArrayDespitePackedElements_kindFeedback, \ |
| 338 "Holey array despite packed elements_kind feedback") \ | 338 "Holey array despite packed elements_kind feedback") \ |
| 339 V(kInstanceMigrationFailed, "instance migration failed") \ | 339 V(kInstanceMigrationFailed, "instance migration failed") \ |
| 340 V(kInsufficientTypeFeedbackForCallWithArguments, \ | 340 V(kInsufficientTypeFeedbackForCallWithArguments, \ |
| 341 "Insufficient type feedback for call with arguments") \ | 341 "Insufficient type feedback for call with arguments") \ |
| 342 V(kFastArrayPushFailed, "Falling off the fast path for FastArrayPush") \ | 342 V(kFastArrayPushFailed, "Falling off the fast path for FastArrayPush") \ |
| 343 V(kFastFunctionBindFailed, "Falling off the fast path for FastFunctionBind") \ |
| 343 V(kInsufficientTypeFeedbackForCombinedTypeOfBinaryOperation, \ | 344 V(kInsufficientTypeFeedbackForCombinedTypeOfBinaryOperation, \ |
| 344 "Insufficient type feedback for combined type of binary operation") \ | 345 "Insufficient type feedback for combined type of binary operation") \ |
| 345 V(kInsufficientTypeFeedbackForGenericNamedAccess, \ | 346 V(kInsufficientTypeFeedbackForGenericNamedAccess, \ |
| 346 "Insufficient type feedback for generic named access") \ | 347 "Insufficient type feedback for generic named access") \ |
| 347 V(kInsufficientTypeFeedbackForKeyedLoad, \ | 348 V(kInsufficientTypeFeedbackForKeyedLoad, \ |
| 348 "Insufficient type feedback for keyed load") \ | 349 "Insufficient type feedback for keyed load") \ |
| 349 V(kInsufficientTypeFeedbackForKeyedStore, \ | 350 V(kInsufficientTypeFeedbackForKeyedStore, \ |
| 350 "Insufficient type feedback for keyed store") \ | 351 "Insufficient type feedback for keyed store") \ |
| 351 V(kInsufficientTypeFeedbackForLHSOfBinaryOperation, \ | 352 V(kInsufficientTypeFeedbackForLHSOfBinaryOperation, \ |
| 352 "Insufficient type feedback for LHS of binary operation") \ | 353 "Insufficient type feedback for LHS of binary operation") \ |
| (...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1154 std::vector<Handle<Object> > expression_stack_; | 1155 std::vector<Handle<Object> > expression_stack_; |
| 1155 int source_position_; | 1156 int source_position_; |
| 1156 | 1157 |
| 1157 friend class Deoptimizer; | 1158 friend class Deoptimizer; |
| 1158 }; | 1159 }; |
| 1159 | 1160 |
| 1160 } // namespace internal | 1161 } // namespace internal |
| 1161 } // namespace v8 | 1162 } // namespace v8 |
| 1162 | 1163 |
| 1163 #endif // V8_DEOPTIMIZER_H_ | 1164 #endif // V8_DEOPTIMIZER_H_ |
| OLD | NEW |