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

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

Issue 2142333002: Refactor class declaration logic to the parser and runtime Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: minor cleanup per Adam Created 4 years, 5 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 18 matching lines...) Expand all
29 V(kAssignmentToParameterInArgumentsObject, \ 29 V(kAssignmentToParameterInArgumentsObject, \
30 "Assignment to parameter in arguments object") \ 30 "Assignment to parameter in arguments object") \
31 V(kBadValueContextForArgumentsObjectValue, \ 31 V(kBadValueContextForArgumentsObjectValue, \
32 "Bad value context for arguments object value") \ 32 "Bad value context for arguments object value") \
33 V(kBadValueContextForArgumentsValue, \ 33 V(kBadValueContextForArgumentsValue, \
34 "Bad value context for arguments value") \ 34 "Bad value context for arguments value") \
35 V(kBailedOutDueToDependencyChange, "Bailed out due to dependency change") \ 35 V(kBailedOutDueToDependencyChange, "Bailed out due to dependency change") \
36 V(kBailoutWasNotPrepared, "Bailout was not prepared") \ 36 V(kBailoutWasNotPrepared, "Bailout was not prepared") \
37 V(kBothRegistersWereSmisInSelectNonSmi, \ 37 V(kBothRegistersWereSmisInSelectNonSmi, \
38 "Both registers were smis in SelectNonSmi") \ 38 "Both registers were smis in SelectNonSmi") \
39 V(kClassLiteral, "Class literal") \
40 V(kCodeGenerationFailed, "Code generation failed") \ 39 V(kCodeGenerationFailed, "Code generation failed") \
41 V(kCodeObjectNotProperlyPatched, "Code object not properly patched") \ 40 V(kCodeObjectNotProperlyPatched, "Code object not properly patched") \
42 V(kCompoundAssignmentToLookupSlot, "Compound assignment to lookup slot") \ 41 V(kCompoundAssignmentToLookupSlot, "Compound assignment to lookup slot") \
43 V(kComputedPropertyName, "Computed property name") \ 42 V(kComputedPropertyName, "Computed property name") \
44 V(kContextAllocatedArguments, "Context-allocated arguments") \ 43 V(kContextAllocatedArguments, "Context-allocated arguments") \
45 V(kCopyBuffersOverlap, "Copy buffers overlap") \ 44 V(kCopyBuffersOverlap, "Copy buffers overlap") \
46 V(kCouldNotGenerateZero, "Could not generate +0.0") \ 45 V(kCouldNotGenerateZero, "Could not generate +0.0") \
47 V(kCouldNotGenerateNegativeZero, "Could not generate -0.0") \ 46 V(kCouldNotGenerateNegativeZero, "Could not generate -0.0") \
48 V(kDebuggerStatement, "DebuggerStatement") \ 47 V(kDebuggerStatement, "DebuggerStatement") \
49 V(kDeclarationInCatchContext, "Declaration in catch context") \ 48 V(kDeclarationInCatchContext, "Declaration in catch context") \
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 }; 274 };
276 #undef ERROR_MESSAGES_CONSTANTS 275 #undef ERROR_MESSAGES_CONSTANTS
277 276
278 277
279 const char* GetBailoutReason(BailoutReason reason); 278 const char* GetBailoutReason(BailoutReason reason);
280 279
281 } // namespace internal 280 } // namespace internal
282 } // namespace v8 281 } // namespace v8
283 282
284 #endif // V8_BAILOUT_REASON_H_ 283 #endif // V8_BAILOUT_REASON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698