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

Side by Side Diff: src/runtime/runtime.h

Issue 2637403008: [async-iteration] add support for for-await-of loops in Async Functions (Closed)
Patch Set: remove that comment 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/parsing/preparser.h ('k') | src/runtime/runtime-internal.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_RUNTIME_RUNTIME_H_ 5 #ifndef V8_RUNTIME_RUNTIME_H_
6 #define V8_RUNTIME_RUNTIME_H_ 6 #define V8_RUNTIME_RUNTIME_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 #else 282 #else
283 #define FOR_EACH_INTRINSIC_I18N(F) 283 #define FOR_EACH_INTRINSIC_I18N(F)
284 #endif 284 #endif
285 285
286 #define FOR_EACH_INTRINSIC_INTERNAL(F) \ 286 #define FOR_EACH_INTRINSIC_INTERNAL(F) \
287 F(AllocateInNewSpace, 1, 1) \ 287 F(AllocateInNewSpace, 1, 1) \
288 F(AllocateInTargetSpace, 2, 1) \ 288 F(AllocateInTargetSpace, 2, 1) \
289 F(AllocateSeqOneByteString, 1, 1) \ 289 F(AllocateSeqOneByteString, 1, 1) \
290 F(AllocateSeqTwoByteString, 1, 1) \ 290 F(AllocateSeqTwoByteString, 1, 1) \
291 F(CheckIsBootstrapping, 0, 1) \ 291 F(CheckIsBootstrapping, 0, 1) \
292 F(CreateAsyncFromSyncIterator, 1, 1) \
292 F(CreateListFromArrayLike, 1, 1) \ 293 F(CreateListFromArrayLike, 1, 1) \
293 F(GetAndResetRuntimeCallStats, -1 /* <= 2 */, 1) \ 294 F(GetAndResetRuntimeCallStats, -1 /* <= 2 */, 1) \
294 F(ExportFromRuntime, 1, 1) \ 295 F(ExportFromRuntime, 1, 1) \
295 F(IncrementUseCounter, 1, 1) \ 296 F(IncrementUseCounter, 1, 1) \
296 F(InstallToContext, 1, 1) \ 297 F(InstallToContext, 1, 1) \
297 F(Interrupt, 0, 1) \ 298 F(Interrupt, 0, 1) \
298 F(IS_VAR, 1, 1) \ 299 F(IS_VAR, 1, 1) \
299 F(NewReferenceError, 2, 1) \ 300 F(NewReferenceError, 2, 1) \
300 F(NewSyntaxError, 2, 1) \ 301 F(NewSyntaxError, 2, 1) \
301 F(NewTypeError, 2, 1) \ 302 F(NewTypeError, 2, 1) \
(...skipping 15 matching lines...) Expand all
317 F(ThrowInvalidHint, 1, 1) \ 318 F(ThrowInvalidHint, 1, 1) \
318 F(ThrowInvalidStringLength, 0, 1) \ 319 F(ThrowInvalidStringLength, 0, 1) \
319 F(ThrowIteratorResultNotAnObject, 1, 1) \ 320 F(ThrowIteratorResultNotAnObject, 1, 1) \
320 F(ThrowSymbolIteratorInvalid, 0, 1) \ 321 F(ThrowSymbolIteratorInvalid, 0, 1) \
321 F(ThrowNonCallableInInstanceOfCheck, 0, 1) \ 322 F(ThrowNonCallableInInstanceOfCheck, 0, 1) \
322 F(ThrowNonObjectInInstanceOfCheck, 0, 1) \ 323 F(ThrowNonObjectInInstanceOfCheck, 0, 1) \
323 F(ThrowNotConstructor, 1, 1) \ 324 F(ThrowNotConstructor, 1, 1) \
324 F(ThrowNotGeneric, 1, 1) \ 325 F(ThrowNotGeneric, 1, 1) \
325 F(ThrowReferenceError, 1, 1) \ 326 F(ThrowReferenceError, 1, 1) \
326 F(ThrowStackOverflow, 0, 1) \ 327 F(ThrowStackOverflow, 0, 1) \
328 F(ThrowSymbolAsyncIteratorInvalid, 0, 1) \
327 F(ThrowTypeError, -1 /* >= 1 */, 1) \ 329 F(ThrowTypeError, -1 /* >= 1 */, 1) \
328 F(ThrowUndefinedOrNullToObject, 1, 1) \ 330 F(ThrowUndefinedOrNullToObject, 1, 1) \
329 F(Typeof, 1, 1) \ 331 F(Typeof, 1, 1) \
330 F(UnwindAndFindExceptionHandler, 0, 1) \ 332 F(UnwindAndFindExceptionHandler, 0, 1) \
331 F(AllowDynamicFunction, 1, 1) 333 F(AllowDynamicFunction, 1, 1)
332 334
333 #define FOR_EACH_INTRINSIC_LITERALS(F) \ 335 #define FOR_EACH_INTRINSIC_LITERALS(F) \
334 F(CreateRegExpLiteral, 4, 1) \ 336 F(CreateRegExpLiteral, 4, 1) \
335 F(CreateObjectLiteral, 4, 1) \ 337 F(CreateObjectLiteral, 4, 1) \
336 F(CreateArrayLiteral, 4, 1) \ 338 F(CreateArrayLiteral, 4, 1) \
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
857 kMaybeDeopted = 1 << 3, 859 kMaybeDeopted = 1 << 3,
858 kOptimized = 1 << 4, 860 kOptimized = 1 << 4,
859 kTurboFanned = 1 << 5, 861 kTurboFanned = 1 << 5,
860 kInterpreted = 1 << 6, 862 kInterpreted = 1 << 6,
861 }; 863 };
862 864
863 } // namespace internal 865 } // namespace internal
864 } // namespace v8 866 } // namespace v8
865 867
866 #endif // V8_RUNTIME_RUNTIME_H_ 868 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/parsing/preparser.h ('k') | src/runtime/runtime-internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698