summaryrefslogtreecommitdiffstats
path: root/js/src/builtin/SelfHostingDefines.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-08-27 07:18:58 +0000
committerMoonchild <moonchild@palemoon.org>2020-08-27 07:18:58 +0000
commit6eb0dd86111cc2a7c55dfdc3eeb29a34c52e8035 (patch)
tree72ac400c74fb899e3af8cdb3745404edebabc20d /js/src/builtin/SelfHostingDefines.h
parentf909e1a6cb1cd45e0a29c98c298ec843a229a11d (diff)
parent8924e4ddd3d0b463ed3694fb788df9928d4e7dd5 (diff)
downloadUXP-6eb0dd86111cc2a7c55dfdc3eeb29a34c52e8035.tar
UXP-6eb0dd86111cc2a7c55dfdc3eeb29a34c52e8035.tar.gz
UXP-6eb0dd86111cc2a7c55dfdc3eeb29a34c52e8035.tar.lz
UXP-6eb0dd86111cc2a7c55dfdc3eeb29a34c52e8035.tar.xz
UXP-6eb0dd86111cc2a7c55dfdc3eeb29a34c52e8035.zip
Merge branch 'es-modules-work'
Diffstat (limited to 'js/src/builtin/SelfHostingDefines.h')
-rw-r--r--js/src/builtin/SelfHostingDefines.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/js/src/builtin/SelfHostingDefines.h b/js/src/builtin/SelfHostingDefines.h
index a06c2aa62..a3ba36804 100644
--- a/js/src/builtin/SelfHostingDefines.h
+++ b/js/src/builtin/SelfHostingDefines.h
@@ -97,17 +97,17 @@
#define REGEXP_STRING_ITERATOR_FLAGS_SLOT 2
#define REGEXP_STRING_ITERATOR_DONE_SLOT 3
-#define MODULE_OBJECT_ENVIRONMENT_SLOT 2
-#define MODULE_OBJECT_STATUS_SLOT 4
-#define MODULE_OBJECT_ERROR_SLOT 5
-#define MODULE_OBJECT_DFS_INDEX_SLOT 16
-#define MODULE_OBJECT_DFS_ANCESTOR_INDEX_SLOT 17
-
-#define MODULE_STATUS_ERRORED 0
-#define MODULE_STATUS_UNINSTANTIATED 1
-#define MODULE_STATUS_INSTANTIATING 2
-#define MODULE_STATUS_INSTANTIATED 3
-#define MODULE_STATUS_EVALUATING 4
-#define MODULE_STATUS_EVALUATED 5
+#define MODULE_OBJECT_ENVIRONMENT_SLOT 1
+#define MODULE_OBJECT_STATUS_SLOT 3
+#define MODULE_OBJECT_EVALUATION_ERROR_SLOT 4
+#define MODULE_OBJECT_DFS_INDEX_SLOT 15
+#define MODULE_OBJECT_DFS_ANCESTOR_INDEX_SLOT 16
+
+#define MODULE_STATUS_UNINSTANTIATED 0
+#define MODULE_STATUS_INSTANTIATING 1
+#define MODULE_STATUS_INSTANTIATED 2
+#define MODULE_STATUS_EVALUATING 3
+#define MODULE_STATUS_EVALUATED 4
+#define MODULE_STATUS_EVALUATED_ERROR 5
#endif