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

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

Issue 2703563002: [ESNext] Implement DynamicImportCall (Closed)
Patch Set: add test + comments Created 3 years, 9 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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 F(LiveEditFunctionSetScript, 2, 1) \ 342 F(LiveEditFunctionSetScript, 2, 1) \
343 F(LiveEditReplaceRefToNestedFunction, 3, 1) \ 343 F(LiveEditReplaceRefToNestedFunction, 3, 1) \
344 F(LiveEditPatchFunctionPositions, 2, 1) \ 344 F(LiveEditPatchFunctionPositions, 2, 1) \
345 F(LiveEditCheckAndDropActivations, 3, 1) \ 345 F(LiveEditCheckAndDropActivations, 3, 1) \
346 F(LiveEditCompareStrings, 2, 1) \ 346 F(LiveEditCompareStrings, 2, 1) \
347 F(LiveEditRestartFrame, 2, 1) 347 F(LiveEditRestartFrame, 2, 1)
348 348
349 #define FOR_EACH_INTRINSIC_MATHS(F) F(GenerateRandomNumbers, 0, 1) 349 #define FOR_EACH_INTRINSIC_MATHS(F) F(GenerateRandomNumbers, 0, 1)
350 350
351 #define FOR_EACH_INTRINSIC_MODULE(F) \ 351 #define FOR_EACH_INTRINSIC_MODULE(F) \
352 F(DynamicImportCall, 1, 1) \ 352 F(DynamicImportCall, 2, 1) \
353 F(GetModuleNamespace, 1, 1) \ 353 F(GetModuleNamespace, 1, 1) \
354 F(LoadModuleVariable, 1, 1) \ 354 F(LoadModuleVariable, 1, 1) \
355 F(StoreModuleVariable, 2, 1) 355 F(StoreModuleVariable, 2, 1)
356 356
357 #define FOR_EACH_INTRINSIC_NUMBERS(F) \ 357 #define FOR_EACH_INTRINSIC_NUMBERS(F) \
358 F(IsValidSmi, 1, 1) \ 358 F(IsValidSmi, 1, 1) \
359 F(StringToNumber, 1, 1) \ 359 F(StringToNumber, 1, 1) \
360 F(StringParseInt, 2, 1) \ 360 F(StringParseInt, 2, 1) \
361 F(StringParseFloat, 1, 1) \ 361 F(StringParseFloat, 1, 1) \
362 F(NumberToString, 1, 1) \ 362 F(NumberToString, 1, 1) \
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
857 kMaybeDeopted = 1 << 3, 857 kMaybeDeopted = 1 << 3,
858 kOptimized = 1 << 4, 858 kOptimized = 1 << 4,
859 kTurboFanned = 1 << 5, 859 kTurboFanned = 1 << 5,
860 kInterpreted = 1 << 6, 860 kInterpreted = 1 << 6,
861 }; 861 };
862 862
863 } // namespace internal 863 } // namespace internal
864 } // namespace v8 864 } // namespace v8
865 865
866 #endif // V8_RUNTIME_RUNTIME_H_ 866 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« include/v8.h ('K') | « src/parsing/preparser.h ('k') | src/runtime/runtime-module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698