Commit Graph

3607 Commits

Author SHA1 Message Date
Jason Orendorff
c3dbc177e0 Bug 459738 - Makefile.ref: js{builtins,interp}.cpp are compiled without -MMD. r=mrbkap. 2008-10-13 18:02:48 -05:00
Blake Kaplan
d9dc5056dc Bug 455633 - Protect against the weird Sandbox global object case when creating XPCNativeWrappers. r+sr=bzbarsky 2008-10-13 15:55:38 -07:00
Blake Kaplan
76e8be0e68 Bug 457310 - Don't potentially run code with an exception still on cx. r+sr=jst 2008-10-13 15:53:33 -07:00
Blake Kaplan
197604d43a Bug 459606 - Restore long-standing mozilla change to return a non-empty string for the no_digits case. r=crowder 2008-10-13 15:47:36 -07:00
Andreas Gal
fbd46b3d96 Add back t/crypto-sha1.js, which magically disappeared at the hands of the nanojit2 patch. 2008-10-13 14:15:23 -07:00
Graydon Hoare
bf84bf6273 Merge tamarin-redux (nanojit2) into tracemonkey (457786, r=edwsmith,gal,danderson). 2008-10-13 13:29:18 -07:00
Andreas Gal
32fb8c040d Merge. 2008-10-13 13:22:50 -07:00
Andreas Gal
525decaff0 Fix number of expected traces for testNestedExitStackOuter in trace-tests.js 2008-10-13 13:19:37 -07:00
Blake Kaplan
973ba75c26 Re-re-re-merge 2008-10-13 13:10:33 -07:00
David Anderson
55ee8061f8 Return innermost guard from js_ExecuteTree and not outermost (r=gal). 2008-10-13 12:44:37 -07:00
Jason Orendorff
12c5730930 TM: Remove unreachable "return false" in TraceRecorder::record_JSOP_NOT. No bug, r=gal. 2008-10-13 14:10:35 -05:00
Blake Kaplan
54cdbe81ec Merge mozilla-central -> tracemonkey 2008-10-13 11:05:05 -07:00
Blake Kaplan
665c19d6ac Bug 458355 - ecma_3/Operators/11.4.1-002.js fail; r=brendan 2008-10-13 19:02:43 +02:00
Jason Orendorff
6b88d0da8d Bug 459426 - Reunite record_JSOP_{NEW,CALL}. r=gal. 2008-10-13 11:04:26 -05:00
Robert Sayre
da78ac865a Merge. 2008-10-12 20:50:34 -04:00
Robert Sayre
79bbd2eb93 Bug 459300. JSON should use internal JS functions where it makes sense. r=brendan 2008-10-12 20:48:48 -04:00
Andreas Gal
315c3a9ce7 Use a single instance of the shell to run the quick benchmark. 2008-10-12 15:58:34 -07:00
Andreas Gal
9bfc3c5072 Properly recover from a nested side exit with more than a single level of nesting (459539, r=danderson). 2008-10-12 15:39:32 -07:00
Ben Turner
9a82f09922 Bustage fix. 2008-10-12 12:03:40 -07:00
Ben Turner
311284ddff Bug 455436 - "XPConnect insists on using its own error reporter even when another is already set." r+sr=jst. 2008-10-12 11:32:34 -07:00
Bob Clary
bb1a2f1351 JavaScript Tests for bug 453024, bug 454682, bug 455605, bug 455748, bug 455775, bug 456477, bug 456540, bug 457456, bug 457778, bug 459085, bug 457824, bug 421621, bug 432075, bug 435497, bug 455413, bug 456826, bug 455982, bug 452476, bug 458076, bug 459185, bug 459186, bug 458959 with updates to public failures, spidermonkey-n-1.9.1.tests and js1_8_1/trace/trace-test.js, and update for sisyphus configuration files. 2008-10-11 20:51:18 -07:00
Andreas Gal
d622ee23d8 Merge. 2008-10-11 20:27:03 -07:00
Andreas Gal
798a62ad00 Stack water level is off by +1 in getTop, and JSOP_CALLPROP premature updates the tracker (459537, r=danderson). 2008-10-11 20:26:29 -07:00
Igor Bukanov
db18f808c9 Bug 408539 - Storing XPCContext inside JSContext 2008-10-11 19:35:39 +02:00
Boris Zbarsky
c7e2dfdbea Fixing docs a bit 2008-10-10 12:45:19 -04:00
Boris Zbarsky
33415ac1fb Adding some documentation 2008-10-10 12:43:30 -04:00
Jason Orendorff
232767cb27 Bug 459294 - TM: move soft float builtins next to SoftFloatFilter. r=andreas. 2008-10-10 11:31:23 -05:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Igor Bukanov
35f70f6096 bug 458679 - r=crowder 2008-10-10 15:16:27 +02:00
Bob Clary
442ed2107e bug 399387 - JavaScript Tests - update public failures 2008-10-10 05:08:59 -07:00
Bob Clary
cc8e95b294 bug 458780 - JavaScript Tests - add cvs support to bisect.sh 2008-10-10 05:06:40 -07:00
Bob Clary
b3277b0a11 bug 459037 - JavaScript Tests - do not exclude timeouts and crashes from post processing 2008-10-10 04:58:59 -07:00
Bob Clary
792a79a7fa bug 459233 - JavaScript Tests - update js1_8_1/trace/trace-test.js 2008-10-10 04:56:08 -07:00
Andreas Gal
6c4c7256a5 Merge. 2008-10-09 16:17:53 -07:00
Andreas Gal
9a086f63ae Don't carry around oldpc in AbortRecording path (459321, r=danderson). 2008-10-09 16:17:13 -07:00
Brendan Eich
8f06837465 Bug 408838. Native JSON. r/sr=shaver 2008-10-09 12:16:16 -07:00
Robert Sayre
480186b5af Merge. 2008-10-09 14:20:08 -04:00
Robert Sayre
1dcc178640 Bug 459259 - Consolidate code for retrieving top of the JSON parser's object stack. r=brendan 2008-10-09 14:18:31 -04:00
Jason Orendorff
319f102472 Bug 459141 - Rename JSTN_{CATCH,FINALLY,ITER} to JSTRY_*. r=brendan. 2008-10-09 12:10:17 -05:00
Jason Orendorff
c4b5d25289 Bug 458098 - js_DumpObject can't handle objects that share proto's scope (r=crowder) 2008-10-09 07:30:21 -05:00
Jason Orendorff
cec3f38c7b Bug 457919 - Delete unused GCC_OPT_BUG makefile variable (r=mrbkap) 2008-10-09 07:30:20 -05:00
Jason Orendorff
77ddd411ef Bug 457914 - window.document should not have a quick stub (r+sr=jst) 2008-10-09 07:30:20 -05:00
Brendan Eich
3c94660673 Use standard anti-dangling-else/macro-call-expression-statement macrology. 2008-10-09 00:13:49 -07:00
Brendan Eich
c603bd095c Fix dangling else blunder (459186, caught by Jesse's fuzzer). 2008-10-08 23:34:00 -07:00
Andreas Gal
35de6c0d9d Merge. 2008-10-08 21:02:57 -07:00
Andreas Gal
c974289da5 Support thin loops (iteration < 2) by closing the loop even if we are on the last iteration (456431, r=danderson). 2008-10-08 21:02:04 -07:00
Doug Turner
996fd0f708 Bug 458917 - Windows CE Cleanup. r/sr=stuart+bsmedberg 2008-10-08 20:51:54 -07:00
Robert Sayre
5feaaba5f2 Bug 459160 - json.cpp misuses rooting api. r=mrbkap 2008-10-08 23:22:35 -04:00
danderson
c56579e021 Blacklist loop if its unstable and we don't recompile it (459174, r=gal). 2008-10-08 19:58:40 -07:00
mrbkap
e057125df7 js1_8/genexps/regress-380237-0[34].js fail, regression from introduction of JSOP_RESUME (458356, r=gal). 2008-10-08 19:46:12 -07:00
Robert Sayre
4d38e1512c Fix typo in filename. 2008-10-08 21:52:31 -04:00
Brendan Eich
a4e4559fa5 Bug 381843 - Move for-var-in and for-let-in hoisting from the emitter to the parser (r=mrbkap). 2008-10-08 18:43:28 -07:00
Robert Sayre
6579c458ac Merge. 2008-10-08 21:17:03 -04:00
Andreas Gal
afc99f7ccc In ifop, avoid eq0(eq0(x)), instead flip guard direction and use single eq0 (459164, r=danderson). 2008-10-08 17:49:54 -07:00
Andreas Gal
471ed73a35 Evaluate cond to true if value evaluates to true in non-fused if (459159, r=danderson). 2008-10-08 17:44:04 -07:00
Robert Sayre
bef8140a39 Bug 458959. this.JSON is enumerable. r+sr=mrbkap 2008-10-08 19:33:26 -04:00
Andreas Gal
fb350afe17 Non-fused ifs emit different comparison code than the interpreter uses (459151, r=danderson). 2008-10-08 16:23:54 -07:00
Jason Orendorff
3204ec178a Bug 459085 - TM: Number.toString traceable native is broken (r=gal) 2008-10-08 17:19:15 -05:00
Jason Orendorff
a27d101dab Bug 458735 - Improve internal API for traceable natives (r=brendan, nanojit r=edwsmith) 2008-10-08 17:08:33 -05:00
Boris Zbarsky
ffd5e8306f Adding a few more comments 2008-10-08 14:37:03 -04:00
Robert Sayre
9f7138d61c Bug 459065. JSON space patrol. r=gal 2008-10-08 13:31:07 -04:00
Blake Kaplan
f7b967fb13 No bug - Drop the request before the ResumeRequest hiding under Pop to avoid deadlocks. r=bent sr=sicking 2008-10-08 16:05:39 -07:00
Andreas Gal
52f71e38dc Add missing comparison before letting the result of the conditional move flow into the guard for ordered boolean comparisons (457778, r=danderson). 2008-10-07 13:32:30 -07:00
Andreas Gal
1b0fd40e30 Trace push and pop for dense and sparse arrays (453734, r=brendan). 2008-10-07 11:00:16 -07:00
Brendan Eich
19e9638dc3 Bug 457920 - regexp-dna.js and generality want JSOP_GETELEM(dense array, "0") (r=mrbkap/gal). 2008-10-06 22:30:36 -07:00
Brendan Eich
6809989bde Bug 455973 - TM: "Assertion failure: !cx->throwing" with getter that throws (r=mrbkap). 2008-10-06 20:57:38 -07:00
Boris Zbarsky
cab53dbee6 Bug 456165. Trace |new Date()|. r=brendan 2008-10-06 20:28:22 -04:00
David Anderson
26d5db2cc5 Merge. 2008-10-06 16:48:14 -07:00
David Anderson
a4daa1c332 Fixed NaN handling again after backout of busted patch (bug 458472, r=gal). 2008-10-06 16:47:05 -07:00
Andreas Gal
40d1236378 Add support for writing back a boxed value when side-exiting on JSOP_RESUME (453734, r=brendan). 2008-10-06 16:22:57 -07:00
Andreas Gal
95b8fa8a84 Backed out changeset 2176f46b2702 (trying to identify cause for tinderbox burning). 2008-10-06 13:58:11 -07:00
Robert Sayre
690f7346b8 Bug 408838. Native JSON. r/sr=shaver 2008-10-06 16:54:12 -04:00
David Anderson
c34cf06820 Fixed incorrect handling of NaN in ifop causing one new branch per iteration (bug 458472, r=gal). 2008-10-03 17:28:03 -07:00
Graydon Hoare
7bd301d171 Bug 458431 - expression-ordering fix for traced Math.max(0,-0), r=mrbkap 2008-10-03 14:07:33 -07:00
Boris Zbarsky
be17e08640 Adding mandelbrot to trace-test 2008-10-02 19:30:46 -04:00
Brendan Eich
502fb4e4c8 Bug 456831 - TM: Trace JSOP_SETLOCALPOP (r=mrbkap). 2008-10-02 15:39:25 -07:00
David Anderson
15a55dfe6d Fixed random test failures on AMD64, booleans were being loaded as 64-bit values. 2008-10-02 16:30:58 -05:00
Andreas Gal
49de341e4a Fixed more confusion of quads/numbers while emitting LIR (bug 458076, r=danderson). 2008-10-01 18:04:39 -05:00
David Anderson
9c7d3f333f Fixed regression where cmov was disabled on AMD64. 2008-10-01 17:58:38 -05:00
Robert Sayre
c59514f66e Bug 408838 - DOM binding for native JSON. r+sr=shaver 2008-10-01 02:13:58 -04:00
Andreas Gal
d38d1d18bb In the decompiler, skip over JSOP_RESUME after JSOP_NEW/CALL/EVAL/SETCALL (457824, r=brendan). 2008-09-30 21:09:14 -07:00
Andreas Gal
8aa08cec2a For GETELEM/SETELEM we must check that its a native object first before trying to compare the objects shape to the shape of the global object to ensure its not aliasing the global object (457979, r=shaver). 2008-09-30 20:10:46 -07:00
Vladimir Vukicevic
f761c61b8e TM: move cmov_available setting into nj arch backends where appropriate 2008-09-30 17:15:09 -07:00
Andreas Gal
83ea7eb834 Merge. 2008-09-30 16:35:52 -07:00
David Mandelin
a9fa2e79d8 Don't trace a property access with a watchpoint (455413, r=brendan) 2008-09-30 13:34:17 -07:00
Andreas Gal
9adad6d33a Merge. 2008-09-30 13:02:53 -07:00
Andreas Gal
9c4eefd7ec Fix guarding in case of sparse array setelem (regression from 457580, r=danderson). 2008-09-30 13:02:23 -07:00
David Anderson
0804b51ac0 Fixed cmp number check logic for 64-bit environments (bug 457129, r=gal). 2008-09-30 11:45:00 -05:00
Andreas Gal
21663448c1 Merge. 2008-09-29 22:22:58 -07:00
Andreas Gal
1163c91b59 Don't trace empty for-in loops (457335, r=brendan). 2008-09-29 22:22:40 -07:00
Andreas Gal
c7c062681c Update XDR version number after bytecode change (457789, r=brendan). 2008-09-29 22:11:35 -07:00
David Anderson
60ff7369b3 Fixed global object ownership change not aborting recording (bug 455173, r=gal). 2008-09-29 23:55:58 -05:00
Andreas Gal
d0ca373339 Follow-up work for 457789, emit JSOP_RESUME after JSOP_NEW as well (r=brendan). 2008-09-29 21:30:02 -07:00
David Anderson
75e7abcf38 Fixed crash when charCodeAt failed (with NaN) while recording (bug 457795, r=gal). 2008-09-29 23:20:34 -05:00
Brendan Eich
11db6aaf1d Always use JSBool (not bool sometimes, JSBool others) as JSVAL_IS_BOOLEAN's native slot type. 2008-09-29 22:27:43 -04:00
Andreas Gal
320dd48955 Add a resume point (JSOP_RESUME) immediately following JSOP_CALL (457789, r=mrbkap). 2008-09-29 18:49:40 -07:00
Bob Clary
cfbc36b432 JavaScript Tests - fix typos, bug 458226 2008-10-08 06:35:39 -07:00
Bob Clary
29e54c8ba2 JavaScript Tests - update public-failures, bug 399387 2008-10-08 06:35:03 -07:00
Bob Clary
1671e9d83d JavaScript Tests - support jstest keyword bookmark, bug 458223 2008-10-08 06:34:14 -07:00
Bob Clary
c6895a6667 Sisyphus - JavaScript Tests - bisect.sh should use numeric comparison on local revs, bug 458220 2008-10-08 06:33:19 -07:00