diff options
Diffstat (limited to 'lang/spidermonkey/files/patch-warnings')
-rw-r--r-- | lang/spidermonkey/files/patch-warnings | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/lang/spidermonkey/files/patch-warnings b/lang/spidermonkey/files/patch-warnings index 70d717cae5d4..f7877652ac02 100644 --- a/lang/spidermonkey/files/patch-warnings +++ b/lang/spidermonkey/files/patch-warnings @@ -227,13 +227,6 @@ + sharpid = (jsatomid)(uintptr_t)he->value; if (sharpid == 0) { *sp = NULL; -@@ -1104,5 +1104,5 @@ - const JSResolvingKey *key = (const JSResolvingKey *)ptr; - -- return ((JSDHashNumber)key->obj >> JSVAL_TAGBITS) ^ key->id; -+ return ((JSDHashNumber)(uintptr_t)key->obj >> JSVAL_TAGBITS) ^ key->id; - } - --- jsopcode.c Thu Jun 10 00:33:52 2004 +++ jsopcode.c Sat Aug 6 19:13:50 2005 @@ -181,5 +181,5 @@ @@ -254,23 +247,6 @@ + fprintf(fp, "\n\t%d: %td", i, off); pc2 += jmplen; } -@@ -230,5 +230,5 @@ - { - jsbytecode *pc2; -- jsint npairs; -+ int npairs; - - jmplen = (type == JOF_LOOKUPSWITCH) ? JUMP_OFFSET_LEN -@@ -237,7 +237,7 @@ - off = GetJumpOffset(pc, pc2); - pc2 += jmplen; -- npairs = (jsint) GET_ATOM_INDEX(pc2); -+ npairs = GET_ATOM_INDEX(pc2); - pc2 += ATOM_INDEX_LEN; -- fprintf(fp, " offset %d npairs %u", off, (uintN) npairs); -+ fprintf(fp, " offset %td npairs %d", off, npairs); - while (npairs) { - atom = GET_ATOM(cx, script, pc2); @@ -253,5 +253,5 @@ if (!cstr) return 0; |