Nicholas Nethercote
e65f3e3ad3
merge
2011-05-18 12:22:25 +10:00
David Mandelin
8c1a69f7eb
Fix MSVC warning.
2011-05-17 18:31:00 -07:00
Nicholas Nethercote
cb2e2e1fe6
Update nanojit-import-rev stamp.
2011-05-18 11:13:15 +10:00
Ed Morley
0df455e8fa
Bug 648862 - nanojit: Remove WINCE code. r=edwsmith,Jacob.Bramley.
...
--HG--
extra : convert_revision : 37586d0b07857d871d1cc5184db25336bc0b8864
2011-05-18 10:38:17 +10:00
Chris Leary
a7253cc393
Bug 654301: Better interned string API, take 2. (r=Waldo)
2011-05-17 12:15:12 -07:00
Paul Biggar
57a34fb988
Backout merge (bug 600522, e0288c977846)
2011-05-17 05:24:30 -07:00
Paul Biggar
c556ef313c
Backed out changeset e0288c977846 (bug 600522) due to windows oranges.
2011-05-17 05:23:21 -07:00
Blake Kaplan
08a8f3a6ab
Bug 654370 - Initialize bp to false to avoid reading random memory. r=gal
...
--HG--
extra : rebase_source : 0a3b1b9e203d0ccc5bf33998f1509bef1beae36c
2011-05-17 09:25:06 +02:00
Dirkjan Ochtman
e5dbb597d1
Bug 600522 - Force TZ to US/Pacific for jit tests [r=pbiggar]
2011-05-16 21:11:54 +02:00
Paul Biggar
e0fa025e18
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
12840cb477
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
089bf2c468
Back out bug 654301 to run again on try.
2011-05-16 19:03:20 -07:00
Chris Leary
a2ba07f853
Followup fix for broken changeset 7fe5fb2450f4.
2011-05-16 18:39:59 -07:00
Nicholas Nethercote
7ab4abb283
Bug 657164 - fix '=' vs '==' confusion in an assertion. r=bhackett.
2011-05-16 18:26:01 -07:00
Chris Leary
338cf025af
Bug 654301: Better interned string API. (r=Waldo)
2011-05-16 18:18:59 -07:00
David Mandelin
5ad1963088
Fix MSVC warning
2011-05-16 16:16:55 -07:00
Chris Leary
4d1fba5db8
Merge mozilla-central and tracemonkey.
2011-05-13 15:06:53 -07:00
Luke Wagner
b1faffbccb
Bug 655435 - Fix leak in Atomize (r=njn,cdleary)
2011-05-12 13:15:36 -07:00
Luke Wagner
4a10088b08
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
c9aaef67a9
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
611ccaee3f
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.
...
--HG--
extra : convert_revision : 79ed08770916b0c2ccd587900066a9a009d05a4c
2011-05-11 16:53:11 -07:00
Rick Reitmaier
0e7e197a1e
build broken on windows along with lirasm breakage
...
--HG--
extra : convert_revision : 0623adbccaf277410970dff1907efdd8a92f50b3
2011-05-06 12:11:06 -07:00
Rick Reitmaier
5a49964781
Bug 602264 - Self-tests to validate the page permission settings employed by the JIT. (r+nnethercote,edwsmith)
...
--HG--
extra : convert_revision : 2c412e8f99bb745bf6d5e758b270fc08e307a142
2011-05-04 15:38:33 -07:00
Rick Reitmaier
8880e03d8b
Bug 640318 - LIR control-flow graph gml output (r+nnethercote,wmaddox)
...
--HG--
extra : convert_revision : 45ca084d9cbe063ce96e2b0bd2f7df8a562d0b2f
2011-05-04 08:48:53 -07:00
Igor Bukanov
b996fb9a59
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
9a0f36241a
Bug 655752 - 3 jsreftests cause failures on Android. r=bc, a=test-only
2011-05-12 12:47:38 -04:00
Mounir Lamouri
f4d3a8686d
Merging cedar with mozilla-central.
2011-05-12 12:29:49 +02:00
Takanori MATSUURA
6c88e1c625
Bug 655439 - Use $(LIBXUL_DIST)/bin/xpcshell instead of $(DIST)/bin/xpcshell. r=khuey
2011-05-11 15:13:43 +02:00
Michael Wu
034def94d2
Merge backout (to fix bug 656172)
2011-05-10 19:10:01 -07:00
Michael Wu
4746e4ca82
Back out parts 3-7 of bug 620931 which caused bug 656172, r=killer
2011-05-10 18:27:51 -07:00
Chris Leary
10ad9f372b
Merge mozilla-central and tracemonkey. (CLOSED TREE)
2011-05-10 14:55:52 -07:00
Ed Morley
082d53f39b
Bug 655756 - Remove final XP_MAC remnants; r=josh
2011-05-10 20:24:48 +02:00
Chris Leary
e9c15c147e
Merge mozilla-central to tracemonkey.
2011-05-09 14:27:44 -07:00
Paul Biggar
1cd5ff1908
Backed out changeset 0c6254cb818d (bug 652593) due to PROCESS-CRASH orange in M(oth).
2011-05-09 09:50:36 -07:00
Paul Biggar
9c572e750b
Bug 652593: Remove compound GET*PROP opcodes, to fix strict warnings (r=bhackett,dao)
...
The undefined property strict-mode warning was missed under some compound
opcodes. JM had removed those opcodes, and so the warnings appeared. This
ports the opcode remove to TM, fixing the warnings.
Bug 647626 removed the compound opcodes from JM, as they made type-inference
and the JITs more complex, for a minor speed impact (see
https://bugzilla.mozilla.org/show_bug.cgi?id=647626#c6 for benchmarks).
This also fixes the strict mode warnings that appeared in the browser as a
result of the fix.
2011-05-09 07:37:37 -07:00
Tom Schuster
82f4ee4b3f
Bug 654685: add reportCompare to fix warnings, no_r=
2011-05-08 00:11:03 +02:00
Tom Schuster
d84a191ec4
Bug 654685: Remove Boolean.prototype.toJSON r=pbiggar
2011-05-07 22:34:44 +02:00
Tom Schuster
cd0d919992
Bug 652154: Fix path reversal on windows in jstest r=pbiggar
2011-05-07 19:20:31 +02:00
Makoto Kato
fc6d231d63
Bug 654873 - ARM target (gcc 4.5.2 or later) should use built-in atomic function instead of arm-kuser. r=gal
2011-05-08 00:47:13 +09:00
Paul Biggar
b7a5a9115b
Bug 653153: Fix the parseInt fast path doubles above 1e21 (r=jwalden)
...
The spec says parseInt needs to convert to a string before being converted to
an integer. For 1e+21 (and greater), ToString uses exponential notation:
"1e+21", which get's parsed as 1. The existing parseInt fast path for doubles
converted it directly into an integer, giving the result 1e21. The fix adds a
bounds check to see if the exponential notation is triggered, and still uses
the fast path if not.
2011-05-07 05:31:59 -07:00
Nicholas Nethercote
810ba8da79
Bug 648490 - Remove the "heap-used/js/string-data" memory reporter because it is totally bogus. r=gal.
2011-05-11 16:09:50 -07:00
Jason Orendorff
953a8d71f6
Bug 645160 - jsdIStackFrame is incorrectly truncated at indirect eval calls. r=mrbkap.
2011-05-11 11:11:40 -05:00
Gregor Wagner
b087efb463
Bug 655175 - Add entrance and exit time to GCTimer. r=igor
2011-05-06 13:59:37 -07:00
Mike Hommey
fbb326c536
Bug 620931 part 6 - Add a -a option to xpcshell to set an application directory. r=bsmedberg
2011-05-06 10:40:51 +02:00
Igor Bukanov
0370e3ab43
bug 652416 - race fixes and other cleanups for background finalization. r=anygregor
...
--HG--
extra : rebase_source : b1685fff8fa5dab43b9b595daa6118249d3ef891
2011-04-25 22:05:30 +02:00
Josh Matthews
1e266b7afb
Bug 652803 - Check for existing proxy operations before attempting to fix a proxy object. r=gal
2011-05-05 21:55:25 +02:00
Andreas Gal
e7d653fb45
Add a "binary" argument to snarf (bug 655168, r=cdleary).
2011-05-05 17:59:47 -07:00
Andrew McCreight
5d31eb0d55
Bug 650519. Add safe function to check gray GC mark bits, then use it. (r=gal)
...
--HG--
extra : rebase_source : bb8eeed202e30c575ff22165c0b4de591c1dcb64
2011-05-04 09:26:44 -07:00
Blake Kaplan
9c143b391d
Bug 651298 - Remove this assertion because document.domain makes it false. r=luke
...
--HG--
extra : rebase_source : 32cdb0b90074c7c7abe8a4d76de518bfc2757798
2011-04-28 15:40:21 -07:00
Blake Kaplan
c16987745d
Bug 653309 - Don't break compartment rules. Hold the XPCWrappedNative pointer directly in the holder. r=gal
...
--HG--
extra : rebase_source : f59294302611044458748c76adcd4343ebaada54
2011-04-29 14:51:49 -07:00