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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 V(kNegativeValue, "negative value") \ | 125 V(kNegativeValue, "negative value") \ |
126 V(kNoCache, "no cache") \ | 126 V(kNoCache, "no cache") \ |
127 V(kNonStrictElementsInKeyedLoadGenericStub, \ | 127 V(kNonStrictElementsInKeyedLoadGenericStub, \ |
128 "non-strict elements in KeyedLoadGenericStub") \ | 128 "non-strict elements in KeyedLoadGenericStub") \ |
129 V(kNotADateObject, "not a date object") \ | 129 V(kNotADateObject, "not a date object") \ |
130 V(kNotAHeapNumber, "not a heap number") \ | 130 V(kNotAHeapNumber, "not a heap number") \ |
131 V(kNotAHeapNumberUndefinedBoolean, "not a heap number/undefined/true/false") \ | 131 V(kNotAHeapNumberUndefinedBoolean, "not a heap number/undefined/true/false") \ |
132 V(kNotAHeapNumberUndefined, "not a heap number/undefined") \ | 132 V(kNotAHeapNumberUndefined, "not a heap number/undefined") \ |
133 V(kNotAJavaScriptObject, "not a JavaScript object") \ | 133 V(kNotAJavaScriptObject, "not a JavaScript object") \ |
134 V(kNotASmi, "not a Smi") \ | 134 V(kNotASmi, "not a Smi") \ |
135 V(kNotHeapNumber, "not heap number") \ | |
136 V(kNull, "null") \ | 135 V(kNull, "null") \ |
137 V(kOutOfBounds, "out of bounds") \ | 136 V(kOutOfBounds, "out of bounds") \ |
138 V(kOutsideOfRange, "Outside of range") \ | 137 V(kOutsideOfRange, "Outside of range") \ |
139 V(kOverflow, "overflow") \ | 138 V(kOverflow, "overflow") \ |
140 V(kReceiverWasAGlobalObject, "receiver was a global object") \ | 139 V(kReceiverWasAGlobalObject, "receiver was a global object") \ |
141 V(kSmi, "Smi") \ | 140 V(kSmi, "Smi") \ |
142 V(kTooManyArguments, "too many arguments") \ | 141 V(kTooManyArguments, "too many arguments") \ |
143 V(kTooManyUndetectableTypes, "Too many undetectable types") \ | 142 V(kTooManyUndetectableTypes, "Too many undetectable types") \ |
144 V(kTracingElementsTransitions, "Tracing elements transitions") \ | 143 V(kTracingElementsTransitions, "Tracing elements transitions") \ |
145 V(kTypeMismatchBetweenFeedbackAndConstant, \ | 144 V(kTypeMismatchBetweenFeedbackAndConstant, \ |
(...skipping 911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1057 Object** parameters_; | 1056 Object** parameters_; |
1058 Object** expression_stack_; | 1057 Object** expression_stack_; |
1059 int source_position_; | 1058 int source_position_; |
1060 | 1059 |
1061 friend class Deoptimizer; | 1060 friend class Deoptimizer; |
1062 }; | 1061 }; |
1063 | 1062 |
1064 } } // namespace v8::internal | 1063 } } // namespace v8::internal |
1065 | 1064 |
1066 #endif // V8_DEOPTIMIZER_H_ | 1065 #endif // V8_DEOPTIMIZER_H_ |
OLD | NEW |