diff options
author | Moonchild <moonchild@palemoon.org> | 2020-08-06 18:31:36 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-08-06 18:31:36 +0000 |
commit | 9b6252893876995ae4c1f278fc8d1cbdfb72e94d (patch) | |
tree | cf42ccabb78f3abb13e8df6a0512e3a43258f7c2 /js/public/Class.h | |
parent | c349f04f9501c5035667f8064782d06e298cb52a (diff) | |
download | uxp-9b6252893876995ae4c1f278fc8d1cbdfb72e94d.tar.gz |
Issue #618 - Simplify module resolve hook to be a function pointer
This is an ahead-of time port to try and address #1624.
This is based on BZ 1461751 and Jon Coppeard's work in it.
Diffstat (limited to 'js/public/Class.h')
-rw-r--r-- | js/public/Class.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/public/Class.h b/js/public/Class.h index 3d73bce441..f4fa9ccafb 100644 --- a/js/public/Class.h +++ b/js/public/Class.h @@ -779,7 +779,7 @@ struct JSClass { // application. #define JSCLASS_GLOBAL_APPLICATION_SLOTS 5 #define JSCLASS_GLOBAL_SLOT_COUNT \ - (JSCLASS_GLOBAL_APPLICATION_SLOTS + JSProto_LIMIT * 2 + 46) + (JSCLASS_GLOBAL_APPLICATION_SLOTS + JSProto_LIMIT * 2 + 45) #define JSCLASS_GLOBAL_FLAGS_WITH_SLOTS(n) \ (JSCLASS_IS_GLOBAL | JSCLASS_HAS_RESERVED_SLOTS(JSCLASS_GLOBAL_SLOT_COUNT + (n))) #define JSCLASS_GLOBAL_FLAGS \ |