Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Side by Side Diff: src/deoptimize-reason.h

Issue 2207553002: [stubs] Turn FastCloneRegExpStub into a TurboFan code stub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix indexing. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/full-codegen/full-codegen.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 V(TooManyArguments, "too many arguments") \ 61 V(TooManyArguments, "too many arguments") \
62 V(TracingElementsTransitions, "Tracing elements transitions") \ 62 V(TracingElementsTransitions, "Tracing elements transitions") \
63 V(TypeMismatchBetweenFeedbackAndConstant, \ 63 V(TypeMismatchBetweenFeedbackAndConstant, \
64 "Type mismatch between feedback and constant") \ 64 "Type mismatch between feedback and constant") \
65 V(UnexpectedCellContentsInConstantGlobalStore, \ 65 V(UnexpectedCellContentsInConstantGlobalStore, \
66 "Unexpected cell contents in constant global store") \ 66 "Unexpected cell contents in constant global store") \
67 V(UnexpectedCellContentsInGlobalStore, \ 67 V(UnexpectedCellContentsInGlobalStore, \
68 "Unexpected cell contents in global store") \ 68 "Unexpected cell contents in global store") \
69 V(UnexpectedObject, "unexpected object") \ 69 V(UnexpectedObject, "unexpected object") \
70 V(UnexpectedRHSOfBinaryOperation, "Unexpected RHS of binary operation") \ 70 V(UnexpectedRHSOfBinaryOperation, "Unexpected RHS of binary operation") \
71 V(UninitializedBoilerplateInFastClone, \
72 "Uninitialized boilerplate in fast clone") \
73 V(UninitializedBoilerplateLiterals, "Uninitialized boilerplate literals") \ 71 V(UninitializedBoilerplateLiterals, "Uninitialized boilerplate literals") \
74 V(UnknownMapInPolymorphicAccess, "Unknown map in polymorphic access") \ 72 V(UnknownMapInPolymorphicAccess, "Unknown map in polymorphic access") \
75 V(UnknownMapInPolymorphicCall, "Unknown map in polymorphic call") \ 73 V(UnknownMapInPolymorphicCall, "Unknown map in polymorphic call") \
76 V(UnknownMapInPolymorphicElementAccess, \ 74 V(UnknownMapInPolymorphicElementAccess, \
77 "Unknown map in polymorphic element access") \ 75 "Unknown map in polymorphic element access") \
78 V(UnknownMap, "Unknown map") \ 76 V(UnknownMap, "Unknown map") \
79 V(ValueMismatch, "value mismatch") \ 77 V(ValueMismatch, "value mismatch") \
80 V(WrongInstanceType, "wrong instance type") \ 78 V(WrongInstanceType, "wrong instance type") \
81 V(WrongMap, "wrong map") \ 79 V(WrongMap, "wrong map") \
82 V(UndefinedOrNullInForIn, "null or undefined in for-in") \ 80 V(UndefinedOrNullInForIn, "null or undefined in for-in") \
83 V(UndefinedOrNullInToObject, "null or undefined in ToObject") 81 V(UndefinedOrNullInToObject, "null or undefined in ToObject")
84 82
85 enum class DeoptimizeReason : uint8_t { 83 enum class DeoptimizeReason : uint8_t {
86 #define DEOPTIMIZE_REASON(Name, message) k##Name, 84 #define DEOPTIMIZE_REASON(Name, message) k##Name,
87 DEOPTIMIZE_REASON_LIST(DEOPTIMIZE_REASON) 85 DEOPTIMIZE_REASON_LIST(DEOPTIMIZE_REASON)
88 #undef DEOPTIMIZE_REASON 86 #undef DEOPTIMIZE_REASON
89 }; 87 };
90 88
91 std::ostream& operator<<(std::ostream&, DeoptimizeReason); 89 std::ostream& operator<<(std::ostream&, DeoptimizeReason);
92 90
93 size_t hash_value(DeoptimizeReason reason); 91 size_t hash_value(DeoptimizeReason reason);
94 92
95 char const* const DeoptimizeReasonToString(DeoptimizeReason reason); 93 char const* const DeoptimizeReasonToString(DeoptimizeReason reason);
96 94
97 } // namespace internal 95 } // namespace internal
98 } // namespace v8 96 } // namespace v8
99 97
100 #endif // V8_DEOPTIMIZE_REASON_H_ 98 #endif // V8_DEOPTIMIZE_REASON_H_
OLDNEW
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/full-codegen/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698