OLD | NEW |
1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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_DEOPTIMIZE_REASON_H_ | 5 #ifndef V8_DEOPTIMIZE_REASON_H_ |
6 #define V8_DEOPTIMIZE_REASON_H_ | 6 #define V8_DEOPTIMIZE_REASON_H_ |
7 | 7 |
8 #include "src/globals.h" | 8 #include "src/globals.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 V(MinusZero, "minus zero") \ | 42 V(MinusZero, "minus zero") \ |
43 V(NaN, "NaN") \ | 43 V(NaN, "NaN") \ |
44 V(NegativeKeyEncountered, "Negative key encountered") \ | 44 V(NegativeKeyEncountered, "Negative key encountered") \ |
45 V(NegativeValue, "negative value") \ | 45 V(NegativeValue, "negative value") \ |
46 V(NoCache, "no cache") \ | 46 V(NoCache, "no cache") \ |
47 V(NotAHeapNumber, "not a heap number") \ | 47 V(NotAHeapNumber, "not a heap number") \ |
48 V(NotAHeapNumberUndefined, "not a heap number/undefined") \ | 48 V(NotAHeapNumberUndefined, "not a heap number/undefined") \ |
49 V(NotAJavaScriptObject, "not a JavaScript object") \ | 49 V(NotAJavaScriptObject, "not a JavaScript object") \ |
50 V(NotANumberOrOddball, "not a Number or Oddball") \ | 50 V(NotANumberOrOddball, "not a Number or Oddball") \ |
51 V(NotASmi, "not a Smi") \ | 51 V(NotASmi, "not a Smi") \ |
| 52 V(NotASymbol, "not a Symbol") \ |
52 V(OutOfBounds, "out of bounds") \ | 53 V(OutOfBounds, "out of bounds") \ |
53 V(OutsideOfRange, "Outside of range") \ | 54 V(OutsideOfRange, "Outside of range") \ |
54 V(Overflow, "overflow") \ | 55 V(Overflow, "overflow") \ |
55 V(Proxy, "proxy") \ | 56 V(Proxy, "proxy") \ |
56 V(ReceiverWasAGlobalObject, "receiver was a global object") \ | 57 V(ReceiverWasAGlobalObject, "receiver was a global object") \ |
57 V(Smi, "Smi") \ | 58 V(Smi, "Smi") \ |
58 V(TooManyArguments, "too many arguments") \ | 59 V(TooManyArguments, "too many arguments") \ |
59 V(TracingElementsTransitions, "Tracing elements transitions") \ | 60 V(TracingElementsTransitions, "Tracing elements transitions") \ |
60 V(TypeMismatchBetweenFeedbackAndConstant, \ | 61 V(TypeMismatchBetweenFeedbackAndConstant, \ |
61 "Type mismatch between feedback and constant") \ | 62 "Type mismatch between feedback and constant") \ |
(...skipping 23 matching lines...) Expand all Loading... |
85 std::ostream& operator<<(std::ostream&, DeoptimizeReason); | 86 std::ostream& operator<<(std::ostream&, DeoptimizeReason); |
86 | 87 |
87 size_t hash_value(DeoptimizeReason reason); | 88 size_t hash_value(DeoptimizeReason reason); |
88 | 89 |
89 char const* DeoptimizeReasonToString(DeoptimizeReason reason); | 90 char const* DeoptimizeReasonToString(DeoptimizeReason reason); |
90 | 91 |
91 } // namespace internal | 92 } // namespace internal |
92 } // namespace v8 | 93 } // namespace v8 |
93 | 94 |
94 #endif // V8_DEOPTIMIZE_REASON_H_ | 95 #endif // V8_DEOPTIMIZE_REASON_H_ |
OLD | NEW |