diff options
author | Moonchild <moonchild@palemoon.org> | 2020-08-06 18:31:36 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-08-30 09:37:12 +0000 |
commit | 10a10fd3757374123eb5e3aab1e4720f86575f47 (patch) | |
tree | 2e7d794acdd6105eba65013cff421fe7dad94299 /js/public | |
parent | 1012dbe9e5b2d00f967b0523f94ac8cc7ed3118d (diff) | |
download | UXP-10a10fd3757374123eb5e3aab1e4720f86575f47.tar UXP-10a10fd3757374123eb5e3aab1e4720f86575f47.tar.gz UXP-10a10fd3757374123eb5e3aab1e4720f86575f47.tar.lz UXP-10a10fd3757374123eb5e3aab1e4720f86575f47.tar.xz UXP-10a10fd3757374123eb5e3aab1e4720f86575f47.zip |
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')
-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 3d73bce44..f4fa9ccaf 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 \ |