Andreas Gal
e54b6530d8
export replenishAndFreeLater as a JS_FRIEND_API to fix build break (r=me).
2010-04-28 17:17:34 -07:00
Andreas Gal
c8fa955adc
Optimize static RegExp state (560358, r=brendan).
2010-04-28 16:35:12 -07:00
Jeff Walden
32aa474e01
Bug 562193 - Implement Components.utils.getGlobalForObject(obj), as a supported alternative to parent-chain-walking. r=mrbkap
2010-04-28 13:53:01 -07:00
Luke Wagner
c1df03fd09
Oops, b0f49ebf6325 wants a definition (r=me)
...
--HG--
extra : rebase_source : 069c949e4e236f323c737d15eac2a811677ba58b
2010-04-28 15:23:34 -07:00
Jeff Walden
fb25a1b155
Merge.
2010-04-28 15:18:53 -07:00
Jeff Walden
0159f4f37a
Backed out changeset 1da2bbf6cfaf, turned tree red.
2010-04-28 15:18:38 -07:00
Luke Wagner
6c4c47def7
Bug 562470 - Give JSBackgroundTask a virtual destructor (r=me)
2010-04-28 15:06:39 -07:00
Jason Orendorff
dd4e4d158b
Silence a compiler warning (in MSVC) about implicitly narrowing jsval to JSBool in JSVAL_IS_INT. Noticed by MikeM. No bug#, rs=Waldo via IRC.
...
--HG--
extra : rebase_source : 8060def41cdbed1c7b80b01da58b00e1967fb3fe
2010-04-28 16:12:15 -05:00
Andreas Gal
b6f23696c8
Optimize static RegExp state (560358, r=brendan).
2010-04-28 13:33:21 -07:00
Jason Orendorff
01dc764150
Merge backout.
2010-04-28 13:41:43 -05:00
Jason Orendorff
9222931169
Backed out changeset ae857d818793 (bug 559653) due to test failures.
2010-04-28 13:41:24 -05:00
Jason Orendorff
0f3df8987b
Backed out changeset 69ea8f61ae26 (bug 559813) due to test failures.
2010-04-28 13:03:19 -05:00
Jason Orendorff
e652102394
Bug 559813 - Trace script setters. r=brendan.
2010-04-28 11:43:27 -05:00
Jason Orendorff
840d7479f0
Merge.
2010-04-28 11:15:12 -05:00
Jason Orendorff
28e74fdd79
Bug 559653 - TM: Record assignment before the interpreter goes; remove record_SetPropHit. r=brendan.
2010-04-28 11:12:19 -05:00
Robert Sayre
6b8e2de7b2
Merge mozilla-central to tracemonkey
2010-04-28 11:11:48 -04:00
Igor Bukanov
8998564be0
bug 561539 - renaming AutoSaveRestoreWealRoots into AutoPreserveWeakRoots. r=brendan
2010-04-28 14:34:02 +02:00
Ginn Chen
a4a60c36c5
Bug 562001 nanojit failed to compile on Solaris x86_64 r=gal
2010-04-28 17:36:04 +08:00
Gary Kwong
93dca04ef2
Bug 369696 - fix bug number in tests, r=bclary.
2010-04-28 00:00:08 -07:00
Brendan Eich
11c13e6c36
Resolve sharpSlots vs. var-in-with grudge match (561011, r=mrbkap).
2010-04-27 21:35:28 -07:00
Brendan Eich
0011558f08
Use same source note offset bias/origin for both of SRC_IF_ELSE's offsets, but note second offset is optional (0 if absent; 562028, r=mrbkap).
2010-04-27 21:00:38 -07:00
Brendan Eich
bdfc8c830c
Back out my last commit due to orange.
2010-04-27 20:22:57 -07:00
Nicholas Nethercote
e9f19b59dd
Update nanojit-import-rev stamp.
2010-04-27 19:46:18 -07:00
Nicholas Nethercote
2b4732e779
Bug 560712 - nanojit: give immediates names when printing LIR. r=edwsmith.
...
--HG--
extra : convert_revision : 53522168256873ff92a5cf1668d3ef8e65a87f38
2010-04-27 18:40:51 -07:00
Edwin Smith
3b774f3949
Rename LIR opcodes in Nativei386.cpp (bug 559977 r=nnethercote+)
...
--HG--
extra : convert_revision : 62e0adc4d69e1d2246ee9336afd555ee3f6766a0
2010-04-27 20:05:58 -04:00
Brendan Eich
2220af9ccd
Use same source note offset bias/origin for both of SRC_IF_ELSE's offsets (562028, r=mrbkap).
2010-04-27 19:41:20 -07:00
David Anderson
25ef351979
Fixed clamping bug in typed arrays (bug 561813, r=vlad).
2010-04-27 19:14:08 -07:00
Nicholas Nethercote
eb4578183a
Update nanojit-import-rev stamp.
2010-04-27 16:33:36 -07:00
Jason Orendorff
15ca9d665c
Follow-up to rev bed748189cd0 to fix a compiler warning. r=njn via IRC.
2010-04-27 17:43:20 -05:00
Nicholas Nethercote
8455a64633
Fix ARM bustage caused by bug 555255. r=me.
...
--HG--
extra : convert_revision : fd2a6c5b65a0f4fd4e09fa0366a626e97850f39b
2010-04-27 15:41:17 -07:00
Nicholas Nethercote
4c00a678f6
Bug 518267 - nanojit: some instructions not printed with TMFLAGS=assembly. r=edwsmith.
...
--HG--
extra : convert_revision : 118664704b902286b9b21a35e3a998685980066a
2010-04-27 15:31:31 -07:00
timeless
cb8031fbcb
Bug 560138 - mismatch use of new[] with delete in CData::Create. r=dwitte
2010-04-27 14:59:53 -07:00
Mike Moening
f8b6745741
Bug 549532 - Allow custom memory allocator use in spidermonkey. Part 2. r=dvander
2010-04-27 14:17:11 -07:00
Jason Orendorff
8be6c16547
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
3926cff290
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
Edwin Smith
f13271426d
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
2cd6abfcc1
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
timeless@mozdev.org
c4e3fe74e3
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
c239191edb
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
53b71b9fa9
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
ae1a9ad46d
bug 553033 - replacing the background free list with a vector. r=jwalden
2010-04-27 15:46:24 +02:00
Jacob Bramley
7505753561
Optimize DoubleToECMAInt32 for ARM. [Bug 551837][r=vlad]
2010-04-27 08:31:36 +01:00
Jason Orendorff
94f094c3c6
Fixed assert-botch with tracer and XML objects (bug 560101, r=waldo).
2010-04-26 22:35:49 -07:00
Nicholas Nethercote
c37c32afcb
Update nanojit-import-rev stamp.
2010-04-26 22:08:05 -07:00
Nicholas Nethercote
311abce9f8
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
1832b6be55
Bug 561182 - nanojit: merge LInsHashSet into CseFilter. r=rreitmai.
...
--HG--
extra : convert_revision : 5a687f2ed6268d873a011f13da912ebb8bfb03e4
2010-04-26 21:59:32 -07:00
Edwin Smith
d6a6e57a1e
Fixed whitespace drift.
...
--HG--
extra : convert_revision : e2770eef5208a99078207d999ba2d84346651db8
2010-04-26 10:53:32 -04:00
Rick Reitmaier
08a1347b19
fix PPC debug-only build breakage
...
--HG--
extra : convert_revision : 6b99983c6b88ce05809d05e4e2b24836a1c2724e
2010-04-23 10:49:32 -07:00
Rick Reitmaier
49be20eb0d
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
32460124af
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