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

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

Issue 2654423004: [async-functions] support await expressions in finally statements (Closed)
Patch Set: I'd like to build with -Wunused-variables locally, but how!? Created 3 years, 10 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/ast/scopes.cc ('k') | src/compiler/ast-graph-builder.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
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 V(kVariableResolvedToWithContext, "Variable resolved to with context") \ 262 V(kVariableResolvedToWithContext, "Variable resolved to with context") \
263 V(kWithStatement, "WithStatement") \ 263 V(kWithStatement, "WithStatement") \
264 V(kWrongFunctionContext, "Wrong context passed to function") \ 264 V(kWrongFunctionContext, "Wrong context passed to function") \
265 V(kWrongAddressOrValuePassedToRecordWrite, \ 265 V(kWrongAddressOrValuePassedToRecordWrite, \
266 "Wrong address or value passed to RecordWrite") \ 266 "Wrong address or value passed to RecordWrite") \
267 V(kWrongArgumentCountForInvokeIntrinsic, \ 267 V(kWrongArgumentCountForInvokeIntrinsic, \
268 "Wrong number of arguments for intrinsic") \ 268 "Wrong number of arguments for intrinsic") \
269 V(kShouldNotDirectlyEnterOsrFunction, \ 269 V(kShouldNotDirectlyEnterOsrFunction, \
270 "Should not directly enter OSR-compiled function") \ 270 "Should not directly enter OSR-compiled function") \
271 V(kUnexpectedReturnFromWasmTrap, \ 271 V(kUnexpectedReturnFromWasmTrap, \
272 "Should not return after throwing a wasm trap") 272 "Should not return after throwing a wasm trap") \
273 V(kNonSimpleParameters, "Function has non-simple parameters")
273 274
274 #define ERROR_MESSAGES_CONSTANTS(C, T) C, 275 #define ERROR_MESSAGES_CONSTANTS(C, T) C,
275 enum BailoutReason { 276 enum BailoutReason {
276 ERROR_MESSAGES_LIST(ERROR_MESSAGES_CONSTANTS) kLastErrorMessage 277 ERROR_MESSAGES_LIST(ERROR_MESSAGES_CONSTANTS) kLastErrorMessage
277 }; 278 };
278 #undef ERROR_MESSAGES_CONSTANTS 279 #undef ERROR_MESSAGES_CONSTANTS
279 280
280 281
281 const char* GetBailoutReason(BailoutReason reason); 282 const char* GetBailoutReason(BailoutReason reason);
282 283
283 } // namespace internal 284 } // namespace internal
284 } // namespace v8 285 } // namespace v8
285 286
286 #endif // V8_BAILOUT_REASON_H_ 287 #endif // V8_BAILOUT_REASON_H_
OLDNEW
« no previous file with comments | « src/ast/scopes.cc ('k') | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698