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

Unified Diff: src/runtime/runtime.h

Issue 2411013002: [modules] Create own section in runtime.h. (Closed)
Patch Set: Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime/runtime.h
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
index f7134ea97230dedff5cdc031428c072530468eca..e7e1bc7220e4a997b7cf9985be1276cdfeb3a44c 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -353,6 +353,12 @@ namespace internal {
#define FOR_EACH_INTRINSIC_MATHS(F) F(GenerateRandomNumbers, 0, 1)
+#define FOR_EACH_INTRINSIC_MODULE(F) \
+ F(GetModuleNamespace, 1, 1) \
+ F(LoadModuleExport, 1, 1) \
+ F(LoadModuleImport, 2, 1) \
+ F(StoreModuleExport, 2, 1)
+
#define FOR_EACH_INTRINSIC_NUMBERS(F) \
F(IsValidSmi, 1, 1) \
F(StringToNumber, 1, 1) \
@@ -419,11 +425,7 @@ namespace internal {
F(HasInPrototypeChain, 2, 1) \
F(CreateIterResultObject, 2, 1) \
F(IsAccessCheckNeeded, 1, 1) \
- F(CreateDataProperty, 3, 1) \
- F(GetModuleNamespace, 1, 1) \
- F(LoadModuleExport, 1, 1) \
- F(LoadModuleImport, 2, 1) \
- F(StoreModuleExport, 2, 1)
+ F(CreateDataProperty, 3, 1)
#define FOR_EACH_INTRINSIC_OPERATORS(F) \
F(Multiply, 2, 1) \
@@ -973,6 +975,7 @@ namespace internal {
FOR_EACH_INTRINSIC_LITERALS(F) \
FOR_EACH_INTRINSIC_LIVEEDIT(F) \
FOR_EACH_INTRINSIC_MATHS(F) \
+ FOR_EACH_INTRINSIC_MODULE(F) \
FOR_EACH_INTRINSIC_NUMBERS(F) \
FOR_EACH_INTRINSIC_OBJECT(F) \
FOR_EACH_INTRINSIC_OPERATORS(F) \
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698