mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 19:25:43 +00:00
3efd0e519f
create a long chain of removed sentinels. Also, when adding k to a table where k is not mapped, but where k hashes to a chain that includes removed sentinels, recycle the first removed sentinel in the chain for k's entry. 2. Cache cx->resolving till js_DestroyContext, to avoid high JSDHashTable new/destroy overhead in js_LookupProperty. 3. Add NS_TraceStack to nsTraceMalloc.[ch] and clean the .c file up a bit.
32 lines
881 B
Sed
32 lines
881 B
Sed
/ * Double hashing implementation./a\
|
|
* GENERATED BY js/src/plify_jsdhash.sed -- DO NOT EDIT!!!
|
|
/ * Double hashing, a la Knuth 6./a\
|
|
* GENERATED BY js/src/plify_jsdhash.sed -- DO NOT EDIT!!!
|
|
s/jsdhash_h___/pldhash_h___/
|
|
s/jsdhash\.bigdump/pldhash.bigdump/
|
|
s/jstypes\.h/prtypes.h/
|
|
s/jsbit\.h/prbit.h/
|
|
s/jsdhash\.h/pldhash.h/
|
|
s/jsdhash\.c/pldhash.c/
|
|
s/jsdhash:/pldhash:/
|
|
s/jsutil\.h/prlog.h/
|
|
s/JS_DHASH/PL_DHASH/g
|
|
s/JS_DHash/PL_DHash/g
|
|
s/JSDHash/PLDHash/g
|
|
s/JSHash/PLHash/g
|
|
s/uint32 /PRUint32/g
|
|
s/\([^U]\)int32 /\1PRInt32/g
|
|
s/uint16 /PRUint16/g
|
|
s/\([^U]\)int16 /\1PRInt16/g
|
|
s/uint32/PRUint32/g
|
|
s/\([^U]\)int32/\1PRInt32/g
|
|
s/uint16/PRUint16/g
|
|
s/\([^U]\)int16/\1PRInt16/g
|
|
s/JSBool/PRBool/g
|
|
s/extern JS_PUBLIC_API/PR_EXTERN/
|
|
s/JS_PUBLIC_API/PR_IMPLEMENT/
|
|
s/JS_DLL_CALLBACK/PR_CALLBACK/
|
|
s/JS_STATIC_DLL_CALLBACK/PR_STATIC_CALLBACK/
|
|
s/JS_NewDHashTable/PL_NewDHashTable/
|
|
s/JS_/PR_/g
|