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

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

Issue 1309813007: [es6] implement destructuring assignment (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase*** oops Created 5 years 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/ast/prettyprinter.cc ('k') | src/bootstrapper.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 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
11 // TODO(svenpanne) introduce an AbortReason and partition this list 11 // TODO(svenpanne) introduce an AbortReason and partition this list
12 #define ERROR_MESSAGES_LIST(V) \ 12 #define ERROR_MESSAGES_LIST(V) \
13 V(kNoReason, "no reason") \ 13 V(kNoReason, "no reason") \
14 \ 14 \
15 V(k32BitValueInRegisterIsNotZeroExtended, \ 15 V(k32BitValueInRegisterIsNotZeroExtended, \
16 "32 bit value in register is not zero-extended") \ 16 "32 bit value in register is not zero-extended") \
17 V(kAlignmentMarkerExpected, "Alignment marker expected") \ 17 V(kAlignmentMarkerExpected, "Alignment marker expected") \
18 V(kAllocationIsNotDoubleAligned, "Allocation is not double aligned") \ 18 V(kAllocationIsNotDoubleAligned, "Allocation is not double aligned") \
19 V(kAPICallReturnedInvalidObject, "API call returned invalid object") \ 19 V(kAPICallReturnedInvalidObject, "API call returned invalid object") \
20 V(kArgumentsObjectValueInATestContext, \ 20 V(kArgumentsObjectValueInATestContext, \
21 "Arguments object value in a test context") \ 21 "Arguments object value in a test context") \
22 V(kArrayBoilerplateCreationFailed, "Array boilerplate creation failed") \ 22 V(kArrayBoilerplateCreationFailed, "Array boilerplate creation failed") \
23 V(kArrayIndexConstantValueTooBig, "Array index constant value too big") \ 23 V(kArrayIndexConstantValueTooBig, "Array index constant value too big") \
24 V(kAssignmentPattern, "Destructuring assignment") \
24 V(kAssignmentToArguments, "Assignment to arguments") \ 25 V(kAssignmentToArguments, "Assignment to arguments") \
25 V(kAssignmentToLetVariableBeforeInitialization, \ 26 V(kAssignmentToLetVariableBeforeInitialization, \
26 "Assignment to let variable before initialization") \ 27 "Assignment to let variable before initialization") \
27 V(kAssignmentToLOOKUPVariable, "Assignment to LOOKUP variable") \ 28 V(kAssignmentToLOOKUPVariable, "Assignment to LOOKUP variable") \
28 V(kAssignmentToParameterFunctionUsesArgumentsObject, \ 29 V(kAssignmentToParameterFunctionUsesArgumentsObject, \
29 "Assignment to parameter, function uses arguments object") \ 30 "Assignment to parameter, function uses arguments object") \
30 V(kAssignmentToParameterInArgumentsObject, \ 31 V(kAssignmentToParameterInArgumentsObject, \
31 "Assignment to parameter in arguments object") \ 32 "Assignment to parameter in arguments object") \
32 V(kBadValueContextForArgumentsObjectValue, \ 33 V(kBadValueContextForArgumentsObjectValue, \
33 "Bad value context for arguments object value") \ 34 "Bad value context for arguments object value") \
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 }; 271 };
271 #undef ERROR_MESSAGES_CONSTANTS 272 #undef ERROR_MESSAGES_CONSTANTS
272 273
273 274
274 const char* GetBailoutReason(BailoutReason reason); 275 const char* GetBailoutReason(BailoutReason reason);
275 276
276 } // namespace internal 277 } // namespace internal
277 } // namespace v8 278 } // namespace v8
278 279
279 #endif // V8_BAILOUT_REASON_H_ 280 #endif // V8_BAILOUT_REASON_H_
OLDNEW
« no previous file with comments | « src/ast/prettyprinter.cc ('k') | src/bootstrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698