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

Contents of /trunk/js/plify_jsdhash.sed

Parent Directory Parent Directory | Revision Log Revision Log


Revision 332 - (show annotations)
Thu Oct 23 19:03:33 2008 UTC (11 years, 1 month ago) by siliconforks
File size: 1075 byte(s)
Add SpiderMonkey from Firefox 3.1b1.

The following directories and files were removed:
correct/, correct.js
liveconnect/
nanojit/
t/
v8/
vprof/
xpconnect/
all JavaScript files (Y.js, call.js, if.js, math-partial-sums.js, md5.js, perfect.js, trace-test.js, trace.js)


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/uint32 /PRUint32/g
18 s/\([^U]\)int32 /\1PRInt32/g
19 s/uint16 /PRUint16/g
20 s/\([^U]\)int16 /\1PRInt16/g
21 s/uint32/PRUint32/g
22 s/\([^U]\)int32/\1PRInt32/g
23 s/uint16/PRUint16/g
24 s/\([^U]\)int16/\1PRInt16/g
25 s/JSBool/PRBool/g
26 s/extern JS_PUBLIC_API(\([^()]*\))/NS_COM_GLUE \1/
27 s/JS_PUBLIC_API(\([^()]*\))/\1/
28 s/JS_NewDHashTable/PL_NewDHashTable/
29 s/JS_ASSERT(0)/NS_NOTREACHED("0")/
30 s/\( *\)JS_ASSERT(\(.*\));/\1NS_ASSERTION(\2,\n\1 "\2");/
31 s/JSDHASH_ONELINE_ASSERT(\(.*\));/NS_ASSERTION(\1, "\1");/
32 s/JS_UNLIKELY/NS_UNLIKELY/g
33 s/JS_LIKELY/NS_LIKELY/g
34 s/JS_/PR_/g
35 s/fprintf(stderr,/printf_stderr(/

  ViewVC Help
Powered by ViewVC 1.1.24