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

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

Issue 1817033002: [Interpreter] Add dispatch counters for each bytecode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@fix-abort
Patch Set: Rebase on master. Created 4 years, 9 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
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_BAILOUT_REASON_H_ 5 #ifndef V8_BAILOUT_REASON_H_
6 #define V8_BAILOUT_REASON_H_ 6 #define V8_BAILOUT_REASON_H_
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 10
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 V(kImportDeclaration, "Import declaration") \ 96 V(kImportDeclaration, "Import declaration") \
97 V(kIndexIsNegative, "Index is negative") \ 97 V(kIndexIsNegative, "Index is negative") \
98 V(kIndexIsTooLarge, "Index is too large") \ 98 V(kIndexIsTooLarge, "Index is too large") \
99 V(kInliningBailedOut, "Inlining bailed out") \ 99 V(kInliningBailedOut, "Inlining bailed out") \
100 V(kInputGPRIsExpectedToHaveUpper32Cleared, \ 100 V(kInputGPRIsExpectedToHaveUpper32Cleared, \
101 "Input GPR is expected to have upper32 cleared") \ 101 "Input GPR is expected to have upper32 cleared") \
102 V(kInputStringTooLong, "Input string too long") \ 102 V(kInputStringTooLong, "Input string too long") \
103 V(kInteger32ToSmiFieldWritingToNonSmiLocation, \ 103 V(kInteger32ToSmiFieldWritingToNonSmiLocation, \
104 "Integer32ToSmiField writing to non-smi location") \ 104 "Integer32ToSmiField writing to non-smi location") \
105 V(kInvalidBytecode, "Invalid bytecode") \ 105 V(kInvalidBytecode, "Invalid bytecode") \
106 V(kInterpreterHandlersDispatchCounterOverflow, \
107 "Overflow in Ignition dispatch counters") \
106 V(kInvalidCaptureReferenced, "Invalid capture referenced") \ 108 V(kInvalidCaptureReferenced, "Invalid capture referenced") \
107 V(kInvalidElementsKindForInternalArrayOrInternalPackedArray, \ 109 V(kInvalidElementsKindForInternalArrayOrInternalPackedArray, \
108 "Invalid ElementsKind for InternalArray or InternalPackedArray") \ 110 "Invalid ElementsKind for InternalArray or InternalPackedArray") \
109 V(kInvalidFullCodegenState, "invalid full-codegen state") \ 111 V(kInvalidFullCodegenState, "invalid full-codegen state") \
110 V(kInvalidHandleScopeLevel, "Invalid HandleScope level") \ 112 V(kInvalidHandleScopeLevel, "Invalid HandleScope level") \
111 V(kInvalidLeftHandSideInAssignment, "Invalid left-hand side in assignment") \ 113 V(kInvalidLeftHandSideInAssignment, "Invalid left-hand side in assignment") \
112 V(kInvalidLhsInCompoundAssignment, "Invalid lhs in compound assignment") \ 114 V(kInvalidLhsInCompoundAssignment, "Invalid lhs in compound assignment") \
113 V(kInvalidLhsInCountOperation, "Invalid lhs in count operation") \ 115 V(kInvalidLhsInCountOperation, "Invalid lhs in count operation") \
114 V(kInvalidMinLength, "Invalid min_length") \ 116 V(kInvalidMinLength, "Invalid min_length") \
115 V(kJSGlobalObjectNativeContextShouldBeANativeContext, \ 117 V(kJSGlobalObjectNativeContextShouldBeANativeContext, \
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 }; 279 };
278 #undef ERROR_MESSAGES_CONSTANTS 280 #undef ERROR_MESSAGES_CONSTANTS
279 281
280 282
281 const char* GetBailoutReason(BailoutReason reason); 283 const char* GetBailoutReason(BailoutReason reason);
282 284
283 } // namespace internal 285 } // namespace internal
284 } // namespace v8 286 } // namespace v8
285 287
286 #endif // V8_BAILOUT_REASON_H_ 288 #endif // V8_BAILOUT_REASON_H_
OLDNEW
« no previous file with comments | « src/assembler.cc ('k') | src/d8.cc » ('j') | src/interpreter/interpreter.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698