Commit Graph

21114 Commits

Author SHA1 Message Date
Jeff Walden
3865b19db7 Use a checked pointer rather than a raw pointer in one place in the JSON parser. r=trivial 2011-05-16 11:43:39 -07:00
Jeff Walden
125eb9070b Bug 657013 - Remove the old JSON parser. r=njn 2011-05-13 14:27:07 -07:00
Bill McCloskey
6b0582f41c Remove call to dis() in tests 2011-05-18 11:06:17 -07:00
Bill McCloskey
06959aa5cb Bug 634090 - Make jstests and jit-tests handle timeout better (r=dmandelin) 2011-05-18 10:30:56 -07:00
Bill McCloskey
54ea2ffb45 Bug 656555 - Handle JSOP_TRAP inside JSOP_LAMBDA (r=dmandelin) 2011-05-18 10:30:47 -07:00
Bill McCloskey
f4e98faa65 Bug 656381 - Handle JSOP_TRAP when looking up block chain (r=dmandelin) 2011-05-18 10:30:39 -07:00
Bill McCloskey
da6d2d2564 Bug 651563 - Comment new GC marking behavior (r=bhackett) 2011-05-18 10:30:32 -07:00
Bill McCloskey
907d227007 Bug 640265 - Don't GC during OOM reporting (r=dmandelin) 2011-05-17 11:23:31 -07:00
Bill McCloskey
4db07a4983 Bug 657710 - Fix strict aliasing warning (r=luke) 2011-05-18 10:23:08 -07:00
Bob Clary
911872cf3e Bug 657608 - JavaScript tests - remove all Sisyphus and Antediluvian cruft, r=jorendorff 2011-05-18 09:55:15 -07:00
Igor Bukanov
87236fc4d6 bug 657227 - followup to fix the regression test not to throw an exception. 2011-05-18 15:31:48 +02:00
Igor Bukanov
881bfc0bf8 bug 657227 - IsCacheableProtoChain must check for a null proto. r=dvander 2011-05-18 14:26:22 +02:00
Blake Kaplan
21ec7b1303 Fix compilation warning on Linux. 2011-05-18 12:07:05 +02:00
Philipp von Weitershausen
5c04ef5799 Bug 655641 - Expose RegExp flags and source in JS API. r=gal 2011-05-08 22:10:21 -05:00
Philipp von Weitershausen
d403a7be23 Tests for Bug 650931 (JS_ObjectIsRegExp). r=gal 2011-05-08 20:12:57 -05:00
Paul O'Shannessy
715eb0c5b8 Bug 650931 - No API to determine if a JSObject is a RegExp. r=gal 2011-05-17 20:04:28 -07:00
Nicholas Nethercote
ddffc1c544 merge 2011-05-18 12:22:25 +10:00
David Mandelin
8e0181e4ae Fix MSVC warning. 2011-05-17 18:31:00 -07:00
Nicholas Nethercote
e5b5245b71 Update nanojit-import-rev stamp. 2011-05-18 11:13:15 +10:00
Ed Morley
c34f8455c2 Bug 648862 - nanojit: Remove WINCE code. r=edwsmith,Jacob.Bramley. 2011-05-18 10:38:17 +10:00
Chris Leary
d3a2ee665f Bug 654301: Better interned string API, take 2. (r=Waldo) 2011-05-17 12:15:12 -07:00
Paul Biggar
fbd1a8db1f Backout merge (bug 600522, e0288c977846) 2011-05-17 05:24:30 -07:00
Paul Biggar
f9057e893c Backed out changeset e0288c977846 (bug 600522) due to windows oranges. 2011-05-17 05:23:21 -07:00
Blake Kaplan
36e629cc72 Bug 654370 - Initialize bp to false to avoid reading random memory. r=gal 2011-05-17 09:25:06 +02:00
Dirkjan Ochtman
10eed2ae16 Bug 600522 - Force TZ to US/Pacific for jit tests [r=pbiggar] 2011-05-16 21:11:54 +02:00
Paul Biggar
21255cb4fa Bug 657384: Change new_ parameters to pass-by-copy, not pass-by-const-reference. (r=luke)
new_ [1] took a const reference for each of its parameters. Unfortunately, that
adds const-ness even when the constructor needs non-constness. Unfortunately,
the other way (turning off constness) can lead to excess copying.

According to the Forwarding Problem [2], there is no great solution here. C++
does not have a perfect way to write a function which wraps another function.
So we settle for non-constness, and we must rely on forbidding copying of
expensive objects.

[1] as in cx->new_<T>(p1)
[2] http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2002/n1385.htm
2011-05-17 04:25:39 -07:00
Nicholas Nethercote
99c550d120 Bug 657164 - disable the assertion because it's failing in xpcshell tests; bug 654820 will re-enable it. rs=philor. 2011-05-16 20:44:45 -07:00
Chris Leary
e79555625d Back out bug 654301 to run again on try. 2011-05-16 19:03:20 -07:00
Chris Leary
5e45cbfdc7 Followup fix for broken changeset 7fe5fb2450f4. 2011-05-16 18:39:59 -07:00
Nicholas Nethercote
2e19f41a7a Bug 657164 - fix '=' vs '==' confusion in an assertion. r=bhackett. 2011-05-16 18:26:01 -07:00
Chris Leary
216767724d Bug 654301: Better interned string API. (r=Waldo) 2011-05-16 18:18:59 -07:00
David Mandelin
998f8cde8c Fix MSVC warning 2011-05-16 16:16:55 -07:00
Chris Leary
d379a06d5f Merge mozilla-central and tracemonkey. 2011-05-13 15:06:53 -07:00
Luke Wagner
640f965b63 Bug 655435 - Fix leak in Atomize (r=njn,cdleary) 2011-05-12 13:15:36 -07:00
Luke Wagner
8533cacd2c Bug 656171 - Use object principals finder in PrincipalsForCompiledCode, this time with hacks to fix xpcshell hacks (r=mrbkap) 2011-05-12 12:12:50 -07:00
Ed Morley
2509748f5f Bug 652731 - Remove check for ZIP in js/src configure, since spidermonkey does not require it; r=jimb 2011-05-13 06:59:56 -07:00
Nicholas Nethercote
6da4bc3feb Bug 633653 - revamp about:memory (NJ-specific part). The original patch was landed on mozilla-central. But because NJ-to-TM merges clobber any NJ changes made in TM, I need to land the NJ-specific directly onto nanojit-central. r=edwsmith. 2011-05-11 16:53:11 -07:00
Rick Reitmaier
fb410ff301 build broken on windows along with lirasm breakage 2011-05-06 12:11:06 -07:00
Rick Reitmaier
498c0880a3 Bug 602264 - Self-tests to validate the page permission settings employed by the JIT. (r+nnethercote,edwsmith) 2011-05-04 15:38:33 -07:00
Rick Reitmaier
740fb657e8 Bug 640318 - LIR control-flow graph gml output (r+nnethercote,wmaddox) 2011-05-04 08:48:53 -07:00
Igor Bukanov
68f2061880 bug 601234 - avoiding extra indirection and branch on the fast path of GC allocation. r=wmccloskey 2011-04-22 00:20:12 +02:00
Joel Maher
e5aac982a8 Bug 655752 - 3 jsreftests cause failures on Android. r=bc, a=test-only 2011-05-12 12:47:38 -04:00
Mounir Lamouri
f0c372d42c Merging cedar with mozilla-central. 2011-05-12 12:29:49 +02:00
Takanori MATSUURA
73675038ad Bug 655439 - Use $(LIBXUL_DIST)/bin/xpcshell instead of $(DIST)/bin/xpcshell. r=khuey 2011-05-11 15:13:43 +02:00
Michael Wu
e532fab05e Merge backout (to fix bug 656172) 2011-05-10 19:10:01 -07:00
Michael Wu
f0849bf3b6 Back out parts 3-7 of bug 620931 which caused bug 656172, r=killer 2011-05-10 18:27:51 -07:00
Chris Leary
1bff9ec9e7 Merge mozilla-central and tracemonkey. (CLOSED TREE) 2011-05-10 14:55:52 -07:00
Ed Morley
5939100a93 Bug 655756 - Remove final XP_MAC remnants; r=josh 2011-05-10 20:24:48 +02:00
Chris Leary
0bebe8bc38 Merge mozilla-central to tracemonkey. 2011-05-09 14:27:44 -07:00
Paul Biggar
e1c6371ba3 Backed out changeset 0c6254cb818d (bug 652593) due to PROCESS-CRASH orange in M(oth). 2011-05-09 09:50:36 -07:00