/[jscoverage]/trunk/js/plify_jsdhash.sed
ViewVC logotype

Contents of /trunk/js/plify_jsdhash.sed

Parent Directory Parent Directory | Revision Log Revision Log


Revision 507 - (show annotations)
Sun Jan 10 07:23:34 2010 UTC (9 years, 6 months ago) by siliconforks
File size: 1169 byte(s)
Update SpiderMonkey from Firefox 3.6rc1.

1 / * Double hashing implementation./a\
2 \ * GENERATED BY js/src/plify_jsdhash.sed -- DO NOT EDIT!!!
3 / * Double hashing, a la Knuth 6./a\
4 \ * GENERATED BY js/src/plify_jsdhash.sed -- DO NOT EDIT!!!
5 s/jsdhash_h___/pldhash_h___/
6 s/jsdhash\.bigdump/pldhash.bigdump/
7 s/jstypes\.h/nscore.h/
8 s/jsbit\.h/prbit.h/
9 s/jsdhash\.h/pldhash.h/
10 s/jsdhash\.c/pldhash.c/
11 s/jsdhash:/pldhash:/
12 s/jsutil\.h/nsDebug.h/
13 s/JS_DHASH/PL_DHASH/g
14 s/JS_DHash/PL_DHash/g
15 s/JSDHash/PLDHash/g
16 s/JSHash/PLHash/g
17 s/uint8 /PRUint8/g
18 s/uint16 /PRUint16/g
19 s/uint32 /PRUint32/g
20 s/\([^U]\)int8 /\1PRInt8/g
21 s/\([^U]\)int16 /\1PRInt16/g
22 s/\([^U]\)int32 /\1PRInt32/g
23 s/uint8/PRUint8/g
24 s/uint16/PRUint16/g
25 s/uint32/PRUint32/g
26 s/\([^U]\)int8/\1PRInt8/g
27 s/\([^U]\)int16/\1PRInt16/g
28 s/\([^U]\)int32/\1PRInt32/g
29 s/JSBool/PRBool/g
30 s/extern JS_PUBLIC_API(\([^()]*\))/NS_COM_GLUE \1/
31 s/JS_PUBLIC_API(\([^()]*\))/\1/
32 s/JS_NewDHashTable/PL_NewDHashTable/
33 s/JS_ASSERT(0)/NS_NOTREACHED("0")/
34 s/\( *\)JS_ASSERT(\(.*\));/\1NS_ASSERTION(\2,\n\1 "\2");/
35 s/JSDHASH_ONELINE_ASSERT(\(.*\));/NS_ASSERTION(\1, "\1");/
36 s/JS_UNLIKELY/NS_UNLIKELY/g
37 s/JS_LIKELY/NS_LIKELY/g
38 s/JS_/PR_/g
39 s/fprintf(stderr,/printf_stderr(/

  ViewVC Help
Powered by ViewVC 1.1.24