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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 V(kLostPrecision, "lost precision") \ | 119 V(kLostPrecision, "lost precision") \ |
120 V(kLostPrecisionOrNaN, "lost precision or NaN") \ | 120 V(kLostPrecisionOrNaN, "lost precision or NaN") \ |
121 V(kMementoFound, "memento found") \ | 121 V(kMementoFound, "memento found") \ |
122 V(kMinusZero, "minus zero") \ | 122 V(kMinusZero, "minus zero") \ |
123 V(kNaN, "NaN") \ | 123 V(kNaN, "NaN") \ |
124 V(kNegativeKeyEncountered, "Negative key encountered") \ | 124 V(kNegativeKeyEncountered, "Negative key encountered") \ |
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") \ | |
130 V(kNotAHeapNumber, "not a heap number") \ | 129 V(kNotAHeapNumber, "not a heap number") \ |
131 V(kNotAHeapNumberUndefinedBoolean, "not a heap number/undefined/true/false") \ | 130 V(kNotAHeapNumberUndefinedBoolean, "not a heap number/undefined/true/false") \ |
132 V(kNotAHeapNumberUndefined, "not a heap number/undefined") \ | 131 V(kNotAHeapNumberUndefined, "not a heap number/undefined") \ |
133 V(kNotAJavaScriptObject, "not a JavaScript object") \ | 132 V(kNotAJavaScriptObject, "not a JavaScript object") \ |
134 V(kNotASmi, "not a Smi") \ | 133 V(kNotASmi, "not a Smi") \ |
135 V(kNull, "null") \ | 134 V(kNull, "null") \ |
136 V(kOutOfBounds, "out of bounds") \ | 135 V(kOutOfBounds, "out of bounds") \ |
137 V(kOutsideOfRange, "Outside of range") \ | 136 V(kOutsideOfRange, "Outside of range") \ |
138 V(kOverflow, "overflow") \ | 137 V(kOverflow, "overflow") \ |
139 V(kReceiverWasAGlobalObject, "receiver was a global object") \ | 138 V(kReceiverWasAGlobalObject, "receiver was a global object") \ |
(...skipping 914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1054 Object** parameters_; | 1053 Object** parameters_; |
1055 Object** expression_stack_; | 1054 Object** expression_stack_; |
1056 int source_position_; | 1055 int source_position_; |
1057 | 1056 |
1058 friend class Deoptimizer; | 1057 friend class Deoptimizer; |
1059 }; | 1058 }; |
1060 | 1059 |
1061 } } // namespace v8::internal | 1060 } } // namespace v8::internal |
1062 | 1061 |
1063 #endif // V8_DEOPTIMIZER_H_ | 1062 #endif // V8_DEOPTIMIZER_H_ |
OLD | NEW |