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

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: ...and uncomment the previously failing tests... 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
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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 F(ThrowCalledOnNullOrUndefined, 1, 1) \ 312 F(ThrowCalledOnNullOrUndefined, 1, 1) \
313 F(ThrowConstructedNonConstructable, 1, 1) \ 313 F(ThrowConstructedNonConstructable, 1, 1) \
314 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \ 314 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \
315 F(ThrowGeneratorRunning, 0, 1) \ 315 F(ThrowGeneratorRunning, 0, 1) \
316 F(ThrowIllegalInvocation, 0, 1) \ 316 F(ThrowIllegalInvocation, 0, 1) \
317 F(ThrowIncompatibleMethodReceiver, 2, 1) \ 317 F(ThrowIncompatibleMethodReceiver, 2, 1) \
318 F(ThrowInvalidHint, 1, 1) \ 318 F(ThrowInvalidHint, 1, 1) \
319 F(ThrowInvalidStringLength, 0, 1) \ 319 F(ThrowInvalidStringLength, 0, 1) \
320 F(ThrowIteratorResultNotAnObject, 1, 1) \ 320 F(ThrowIteratorResultNotAnObject, 1, 1) \
321 F(ThrowSymbolIteratorInvalid, 0, 1) \ 321 F(ThrowSymbolIteratorInvalid, 0, 1) \
322 F(ThrowSymbolAsyncIteratorInvalid, 0, 1) \
322 F(ThrowNotGeneric, 1, 1) \ 323 F(ThrowNotGeneric, 1, 1) \
323 F(ThrowReferenceError, 1, 1) \ 324 F(ThrowReferenceError, 1, 1) \
324 F(ThrowStackOverflow, 0, 1) \ 325 F(ThrowStackOverflow, 0, 1) \
325 F(ThrowTypeError, -1 /* >= 1 */, 1) \ 326 F(ThrowTypeError, -1 /* >= 1 */, 1) \
326 F(ThrowUndefinedOrNullToObject, 1, 1) \ 327 F(ThrowUndefinedOrNullToObject, 1, 1) \
327 F(Typeof, 1, 1) \ 328 F(Typeof, 1, 1) \
328 F(UnwindAndFindExceptionHandler, 0, 1) \ 329 F(UnwindAndFindExceptionHandler, 0, 1) \
329 F(AllowDynamicFunction, 1, 1) 330 F(AllowDynamicFunction, 1, 1) \
331 F(CreateAsyncFromSyncIterator, 1, 1)
adamk 2017/02/14 18:47:53 Nit: Besides AllowDynamicFunction, the rest of thi
caitp 2017/02/14 21:40:58 fixed sorting (Didn't touch AllowDynamicFunction t
330 332
331 #define FOR_EACH_INTRINSIC_LITERALS(F) \ 333 #define FOR_EACH_INTRINSIC_LITERALS(F) \
332 F(CreateRegExpLiteral, 4, 1) \ 334 F(CreateRegExpLiteral, 4, 1) \
333 F(CreateObjectLiteral, 4, 1) \ 335 F(CreateObjectLiteral, 4, 1) \
334 F(CreateArrayLiteral, 4, 1) \ 336 F(CreateArrayLiteral, 4, 1) \
335 F(CreateArrayLiteralStubBailout, 3, 1) 337 F(CreateArrayLiteralStubBailout, 3, 1)
336 338
337 #define FOR_EACH_INTRINSIC_LIVEEDIT(F) \ 339 #define FOR_EACH_INTRINSIC_LIVEEDIT(F) \
338 F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \ 340 F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \
339 F(LiveEditGatherCompileInfo, 2, 1) \ 341 F(LiveEditGatherCompileInfo, 2, 1) \
(...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after
1166 kMaybeDeopted = 1 << 3, 1168 kMaybeDeopted = 1 << 3,
1167 kOptimized = 1 << 4, 1169 kOptimized = 1 << 4,
1168 kTurboFanned = 1 << 5, 1170 kTurboFanned = 1 << 5,
1169 kInterpreted = 1 << 6, 1171 kInterpreted = 1 << 6,
1170 }; 1172 };
1171 1173
1172 } // namespace internal 1174 } // namespace internal
1173 } // namespace v8 1175 } // namespace v8
1174 1176
1175 #endif // V8_RUNTIME_RUNTIME_H_ 1177 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698