| 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/v8.h" | 8 #include "src/v8.h" |
| 9 | 9 |
| 10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 V(kUnexpectedObject, "unexpected object") \ | 152 V(kUnexpectedObject, "unexpected object") \ |
| 153 V(kUnexpectedRHSOfBinaryOperation, "Unexpected RHS of binary operation") \ | 153 V(kUnexpectedRHSOfBinaryOperation, "Unexpected RHS of binary operation") \ |
| 154 V(kUninitializedBoilerplateInFastClone, \ | 154 V(kUninitializedBoilerplateInFastClone, \ |
| 155 "Uninitialized boilerplate in fast clone") \ | 155 "Uninitialized boilerplate in fast clone") \ |
| 156 V(kUninitializedBoilerplateLiterals, "Uninitialized boilerplate literals") \ | 156 V(kUninitializedBoilerplateLiterals, "Uninitialized boilerplate literals") \ |
| 157 V(kUnknownMapInPolymorphicAccess, "Unknown map in polymorphic access") \ | 157 V(kUnknownMapInPolymorphicAccess, "Unknown map in polymorphic access") \ |
| 158 V(kUnknownMapInPolymorphicCall, "Unknown map in polymorphic call") \ | 158 V(kUnknownMapInPolymorphicCall, "Unknown map in polymorphic call") \ |
| 159 V(kUnknownMapInPolymorphicElementAccess, \ | 159 V(kUnknownMapInPolymorphicElementAccess, \ |
| 160 "Unknown map in polymorphic element access") \ | 160 "Unknown map in polymorphic element access") \ |
| 161 V(kUnknownMap, "Unknown map") \ | 161 V(kUnknownMap, "Unknown map") \ |
| 162 V(kCrossContextGlobalStore, "Crosscontext store to global proxy") \ |
| 162 V(kValueMismatch, "value mismatch") \ | 163 V(kValueMismatch, "value mismatch") \ |
| 163 V(kWrongInstanceType, "wrong instance type") \ | 164 V(kWrongInstanceType, "wrong instance type") \ |
| 164 V(kWrongMap, "wrong map") | 165 V(kWrongMap, "wrong map") |
| 165 | 166 |
| 166 | 167 |
| 167 class Deoptimizer : public Malloced { | 168 class Deoptimizer : public Malloced { |
| 168 public: | 169 public: |
| 169 enum BailoutType { | 170 enum BailoutType { |
| 170 EAGER, | 171 EAGER, |
| 171 LAZY, | 172 LAZY, |
| (...skipping 885 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1057 Object** parameters_; | 1058 Object** parameters_; |
| 1058 Object** expression_stack_; | 1059 Object** expression_stack_; |
| 1059 int source_position_; | 1060 int source_position_; |
| 1060 | 1061 |
| 1061 friend class Deoptimizer; | 1062 friend class Deoptimizer; |
| 1062 }; | 1063 }; |
| 1063 | 1064 |
| 1064 } } // namespace v8::internal | 1065 } } // namespace v8::internal |
| 1065 | 1066 |
| 1066 #endif // V8_DEOPTIMIZER_H_ | 1067 #endif // V8_DEOPTIMIZER_H_ |
| OLD | NEW |