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

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

Issue 1895603002: [esnext] prototype runtime implementation for async functions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@AsyncFunction
Patch Set: Partially fix `throw` completions (resumption works, but no resumption doesn't) Created 4 years, 8 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 10 matching lines...) Expand all
21 V(kArrayBoilerplateCreationFailed, "Array boilerplate creation failed") \ 21 V(kArrayBoilerplateCreationFailed, "Array boilerplate creation failed") \
22 V(kArrayIndexConstantValueTooBig, "Array index constant value too big") \ 22 V(kArrayIndexConstantValueTooBig, "Array index constant value too big") \
23 V(kAssignmentToArguments, "Assignment to arguments") \ 23 V(kAssignmentToArguments, "Assignment to arguments") \
24 V(kAssignmentToLetVariableBeforeInitialization, \ 24 V(kAssignmentToLetVariableBeforeInitialization, \
25 "Assignment to let variable before initialization") \ 25 "Assignment to let variable before initialization") \
26 V(kAssignmentToLOOKUPVariable, "Assignment to LOOKUP variable") \ 26 V(kAssignmentToLOOKUPVariable, "Assignment to LOOKUP variable") \
27 V(kAssignmentToParameterFunctionUsesArgumentsObject, \ 27 V(kAssignmentToParameterFunctionUsesArgumentsObject, \
28 "Assignment to parameter, function uses arguments object") \ 28 "Assignment to parameter, function uses arguments object") \
29 V(kAssignmentToParameterInArgumentsObject, \ 29 V(kAssignmentToParameterInArgumentsObject, \
30 "Assignment to parameter in arguments object") \ 30 "Assignment to parameter in arguments object") \
31 V(kAsyncFunctionBailout, "AsyncFunction") \
31 V(kBadValueContextForArgumentsObjectValue, \ 32 V(kBadValueContextForArgumentsObjectValue, \
32 "Bad value context for arguments object value") \ 33 "Bad value context for arguments object value") \
33 V(kBadValueContextForArgumentsValue, \ 34 V(kBadValueContextForArgumentsValue, \
34 "Bad value context for arguments value") \ 35 "Bad value context for arguments value") \
35 V(kBailedOutDueToDependencyChange, "Bailed out due to dependency change") \ 36 V(kBailedOutDueToDependencyChange, "Bailed out due to dependency change") \
36 V(kBailoutWasNotPrepared, "Bailout was not prepared") \ 37 V(kBailoutWasNotPrepared, "Bailout was not prepared") \
37 V(kBothRegistersWereSmisInSelectNonSmi, \ 38 V(kBothRegistersWereSmisInSelectNonSmi, \
38 "Both registers were smis in SelectNonSmi") \ 39 "Both registers were smis in SelectNonSmi") \
39 V(kClassLiteral, "Class literal") \ 40 V(kClassLiteral, "Class literal") \
40 V(kCodeGenerationFailed, "Code generation failed") \ 41 V(kCodeGenerationFailed, "Code generation failed") \
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 }; 279 };
279 #undef ERROR_MESSAGES_CONSTANTS 280 #undef ERROR_MESSAGES_CONSTANTS
280 281
281 282
282 const char* GetBailoutReason(BailoutReason reason); 283 const char* GetBailoutReason(BailoutReason reason);
283 284
284 } // namespace internal 285 } // namespace internal
285 } // namespace v8 286 } // namespace v8
286 287
287 #endif // V8_BAILOUT_REASON_H_ 288 #endif // V8_BAILOUT_REASON_H_
OLDNEW
« no previous file with comments | « src/ast/ast.h ('k') | src/bootstrapper.cc » ('j') | src/builtins.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698