Edwin Smith
3394d89548
Rematerialize add(r,imm) operations on x64 and i386 (bug 555255 r=nnethercote+)
...
This patch detects when LEA can be used to rematerialize an add operation
instead of spilling it. Sub and lsh could be supported too, if it would
help (see notes in canRematLEA()).
--HG--
extra : convert_revision : e5db9525afbc8bd03444c66d8ded420f4696dce8
2010-04-27 10:00:27 -04:00
Edwin Smith
583621bba8
Rematerialize ALU+IMM operations on ARM (bug 555255 r=jbramley+)
...
The ARM backend already supported single-instruction folding of immediates into
add/sub/and/or/xor instructions. This patch enables the same instructions to
be rematerialized without spilling them.
--HG--
extra : convert_revision : c5fca9078e37d7d79f66cf6023fcbf707d11d57b
2010-04-27 09:38:27 -04:00
Jason Orendorff
5f8646753d
Follow-up to rev bed748189cd0 to fix a compiler warning. r=njn via IRC.
2010-04-27 17:43:20 -05:00
timeless
e191f26d48
Bug 560138 - mismatch use of new[] with delete in CData::Create. r=dwitte
2010-04-27 14:59:53 -07:00
Mike Moening
6531928c72
Bug 549532 - Allow custom memory allocator use in spidermonkey. Part 2. r=dvander
2010-04-27 14:17:11 -07:00
Jason Orendorff
4dd095ebe7
Fix build breakage in non-threadsafe JS shell. rs=brendan on IRC.
...
--HG--
extra : rebase_source : e4320a71553033d06f5e8ffa62a9798db9bef3e1
2010-04-27 14:40:28 -05:00
Jason Orendorff
79a69bd910
Bug 561444 - "Assertion failure: title->ownercx == cx || title->ownercx->thread == cx->thread, at ../jslock.cpp:1414" with multiple threads. r=igor.
...
--HG--
extra : rebase_source : 6749f4b86999cffc1abdcad79ef45f764ba165c2
2010-04-27 12:29:45 -05:00
Kyle Huey
5b06807639
Bug 561674: Stop defining DEBUG_<username> r=ted
...
--HG--
extra : rebase_source : 613353cb297fada3eeecde44750c367286ba4e5a
2010-04-26 17:10:45 -04:00
Kyle Huey
3b7a5c02c0
Bug 555512: Reorganize removed-files.in r=rs
...
--HG--
extra : rebase_source : 8337b3fd2d40f9ee927033537df257ee1524e47e
2010-05-02 17:56:16 -04:00
Kyle Huey
1cc8b652b4
Bug 555512: Allow whitespace in removed-files.in r=rs
...
--HG--
extra : rebase_source : f77e0ffe8e24cdf9565b97c3edf9f465c00f22f7
2010-05-02 17:54:54 -04:00
timeless@mozdev.org
7a6e1325ab
Bug 560557 - js_SetReservedSlot should assert that the specified slot index is in range. r=jorendorff.
...
--HG--
extra : rebase_source : b13f176270bd3419c253b8745c00a9251f36ab76
2010-04-23 21:32:51 -05:00
Jason Orendorff
d7438ec267
In a trace-test, do not try to print jitstats. no_r=me.
...
--HG--
extra : rebase_source : 6447c98085459bd7fc6b215279a9d5e1870d46ba
2010-04-26 16:28:41 -05:00
timeless@mozdev.org
ca917d7197
Bug 560815 - PRIVATE_TO_JSVAL(NULL) yields warning: NULL used in arithmetic with gcc 4.2.1. r=jorendorff.
...
--HG--
extra : rebase_source : bbbf5e801b7ae5bc0c7c30864e487a03ddcf72fc
2010-04-23 20:17:36 -05:00
Igor Bukanov
63f9c2e3d5
bug 553033 - replacing the background free list with a vector. r=jwalden
2010-04-27 15:46:24 +02:00
Jacob Bramley
1b4d13bc74
Optimize DoubleToECMAInt32 for ARM. [Bug 551837][r=vlad]
2010-04-27 08:31:36 +01:00
Jason Orendorff
fe3e820003
Fixed assert-botch with tracer and XML objects (bug 560101, r=waldo).
2010-04-26 22:35:49 -07:00
Nicholas Nethercote
ea19cd5226
Update nanojit-import-rev stamp.
2010-04-26 22:08:05 -07:00
Nicholas Nethercote
756a66a5ce
Follow-up to bug 561182: move CseFilter methods together. r=rreitmai.
...
--HG--
extra : convert_revision : 8632b24edcba6eb08afe5002611fbea782d1f435
2010-04-26 21:59:48 -07:00
Nicholas Nethercote
05c2de7b5b
Bug 561182 - nanojit: merge LInsHashSet into CseFilter. r=rreitmai.
...
--HG--
extra : convert_revision : 5a687f2ed6268d873a011f13da912ebb8bfb03e4
2010-04-26 21:59:32 -07:00
Edwin Smith
069062a9f7
Fixed whitespace drift.
...
--HG--
extra : convert_revision : e2770eef5208a99078207d999ba2d84346651db8
2010-04-26 10:53:32 -04:00
Rick Reitmaier
f4ea1cc587
fix PPC debug-only build breakage
...
--HG--
extra : convert_revision : 6b99983c6b88ce05809d05e4e2b24836a1c2724e
2010-04-23 10:49:32 -07:00
Rick Reitmaier
d61f88a164
Bug 560370 - PPC cmov handling logic incorrect (r+edwsmith)
...
On PPC the cmov logic is generating incorrect code due to
instruction and register lifetimes are not being correctly
handled.
This patch mirrors the code used on the x86 which was fixed
a while back to address this issue. See bug 535705
--HG--
extra : convert_revision : 8047bc5db3b14ddc3588378c7f4c6fef76de7d98
2010-04-23 09:24:00 -07:00
Edwin Smith
e927108ae7
Bug 560578 - canRemat() and asm_restore() should agree (r=nnethercote+)
...
Added comments clarifying the contract between canRemat() and asm_restore(),
and fixed the ARM, MIPS, PPC, and Sparc backends so canRemat() doesn't
return true for instructions that asm_restore() doesn't handle.
--HG--
extra : convert_revision : f4d4243db4cf3b8d7149012d5503c5441058f58e
2010-04-23 10:26:12 -04:00
Edwin Smith
3633f63957
Revert rename bustage in NativePPC.cpp (bug 560160 r=me)
...
--HG--
extra : convert_revision : cc043e6b70383762025e239896cbd70d5ece8697
2010-04-22 13:04:24 -04:00
David Anderson
dac6f52234
Don't bother tracing some elem sets yet (bug 561939, r=gal).
2010-04-26 20:29:49 -07:00
Andreas Gal
3579b2b1fb
Merge.
2010-04-26 19:07:10 -07:00
Andreas Gal
492ea75049
Backed out changeset 35c25547a135 (bug 560358).
2010-04-26 19:06:51 -07:00
Nicholas Nethercote
1e5fc26c40
Bug 560774 - encapsulate array-related dslots accesses. r=brendan.
2010-04-26 18:33:36 -07:00
Dan Witte
fdcf03a939
Backing out due to bustage.
2010-04-26 15:16:05 -07:00
Mike Moening
b37862b231
Bug 549532 - Allow custom memory allocator use in spidermonkey. Part 2. r=dvander
2010-04-26 14:15:18 -07:00
Jesse Ruderman
b4e32e7695
Bug 561672 - JS_Assert should fflush(stderr). r=shaver
2010-04-26 13:50:56 -07:00
Dan Witte
774f39c786
Bug 561619 - JS CTypes has a build dependency bug. r=sayrer
2010-04-26 13:26:53 -07:00
Luke Wagner
ef023c4ec7
Bug 560798 - propagate errors from deep-aborted natives (r=gal)
2010-04-26 09:30:06 -07:00
Boris Zbarsky
bf168b819d
Bug 556830 followup to fix debug bustage
2010-04-26 11:15:33 -04:00
Boris Zbarsky
f66b8a1342
Bug 556830 part 2. Fill the propcache even if we start the lookup on a Call whose parent is the global the property is on. r=jorendorff
2010-04-26 10:06:30 -04:00
Boris Zbarsky
d319faf7ba
Bug 556830 part 1. Change things so a bindname resolve of a global property won't define it on the window in ES5 strict mode. r=jorendorff
2010-04-26 10:06:25 -04:00
Ginn Chen
691ed684d6
Bug 560017 Failed build js/src/jsgcchunk.cpp on Solaris r=jimb
2010-04-26 14:17:29 +08:00
Andreas Gal
92692442a2
optimize JSON stringify. bug 561592. r=dvander
2010-04-25 08:51:05 -04:00
Igor Bukanov
45a0a3043e
bug 560471 - followup to fix restoration of weak roots
2010-04-24 20:35:50 +02:00
Robert Sayre
27452b9484
Bug 560650 - TM: json code should use JS_Enumerate. r=gal
2010-04-24 14:18:10 -04:00
Robert Sayre
0f0d2ffdf7
Merge mozilla-central to tracemonkey.
2010-04-24 12:56:26 -04:00
Robert Sayre
28b49c1237
Someone should teach me to write JavaScript. Really fix busted test from Bug 558830 - Trace script getters.
2010-04-24 12:09:16 -04:00
Robert Sayre
784972fd0a
Fix busted test from Bug 558830 - Trace script getters.
2010-04-24 11:55:10 -04:00
Olli Pettay
d55a9c4d4f
Bug 561173 - Reduce QIing and Addref/Release while setting innerHTML, r=jst, a=1hourlimit
2010-04-24 13:41:02 +03:00
Olli Pettay
0797892373
Bug 552255, a bit more strict focus handling, r=enndeakin, sr=jst, a=1hourlimit
2010-04-24 13:40:48 +03:00
Mike Hommey
02347798c9
Bug 560897 - Properly close #pragma pack in gfxFontUtils.cpp, and enclose EOTFixedHeader in #pragma pack [r=roc] a=me
2010-04-24 10:25:45 +02:00
Mike Hommey
7ef93c2266
Bug 448375 - Only depend on dbus-glib when needed. Depend on dbus instead [r=benjamin]
2010-04-24 09:39:53 +02:00
Mike Hommey
7f75f6109e
Bug 553995 - Don't depend on network connectivity in test_bug_406857.js [r=sdwilsh]
2010-04-24 09:39:16 +02:00
Andreas Gal
3b9cb33abc
Merge.
2010-04-23 20:49:28 -07:00
Andreas Gal
df7122d975
backing out clean up bug 560167 due to massive conflicts with the iterator patch
2010-04-23 20:49:06 -07:00