Commit Graph

43277 Commits

Author SHA1 Message Date
Jason Orendorff
987881e65c Merge backout. 2010-06-07 20:38:30 -05:00
Jason Orendorff
5874315d91 Back out changeset 5f425aecd7ab again. Still has performance issues; 14% in ThisObject hook. 2010-06-07 20:36:57 -05:00
Luke Wagner
f032df96b4 Bug 565157 - typed JS_AddRoot (r=igor) 2010-06-07 17:05:02 -07:00
Jason Orendorff
5f5deee89d Bug 556277 - Compute this eagerly in more cases. r=brendan. Second landing. 2010-06-04 00:34:57 -07:00
David Anderson
5ccdb8922d Bug 556569 - Trace shallow recursion more robustly. r=jorendorff. 2010-06-07 12:47:24 -05:00
Igor Bukanov
24dee0ab53 bug 557538 - custom GC chunk allocation. r=gal,jorendorff 2010-06-07 11:17:15 +02:00
Nicholas Nethercote
3744861727 Update nanojit-import-rev stamp. 2010-06-06 20:27:01 -07:00
Nicholas Nethercote
e2a11770ff Fix typo in patch for bug 527512, and add a missing case. r=gal.
--HG--
extra : convert_revision : eb43593410b935717be223a37dec993a30472073
2010-06-06 20:22:48 -07:00
William Maddox
06858e0f9c Bug 555345 - Histogram profiling macros for JIT-generated code (r=rreitmai+)
This patch adds wrapper macros _jhprof_init, _jhnprof_init, and _jhprof to
facilitate histogram profiling from JIT-generated code.

--HG--
extra : convert_revision : 939ade8f3ee9716faaedc2b2a0cf986b5010003f
2010-06-04 14:31:25 -07:00
William Maddox
a577524f6a Bug 555345 - Add profiling capability for JIT-generated code (vprof changes only) (r=rreitmai+)
An earlier patch to tamarin-redux included vprof patches as well as a coordinated set of changes
to other files in TR.  The vprof directory is imported from nanojit-central, and the vprof changes
were overwritten.  This patch separates the initialization of new profile records from the logging
of data therein, which facilitates the use of the profiling infrastructure from JIT-generated code.

--HG--
extra : convert_revision : 10b865fa5d413277c2e11c211302f75d87029f06
2010-06-03 16:02:28 -07:00
Steven Johnson
38b8e72eb0 Bug 527512 - ExprFilter missing trivial optimizations for ugt, ult (r=edwsmith,nnethercote)
--HG--
extra : convert_revision : 9bdc25ecdb1b5b3b6a81705df3ae573b812bc990
2010-06-03 10:35:26 -07:00
Leon Sha
4e076c0bf0 http://www.dancertheband.com/ does not work correct with flash player 10.1 beta for solaris sparc. r=edwsmith
--HG--
extra : convert_revision : ccfc1e56c6f7dcf68719329cf1615aa5bfc4e3a5
2010-06-02 13:13:24 +08:00
William Maddox
48541b0117 Support arithmetic with branch on overflow on MIPS -- bug 560926 (r=rreitmai+)
Adds support for MIPS target lacking in earlier patch.
Bug 560926 - Add support for arithmetic with branch on overflow
We simply extend the existing logic for exit-on-overflow in the
manner done for other targets.  There appear to other issues
with oveflow detection in general that are not dealt with here.

--HG--
extra : convert_revision : 3a62ee8cc7d6caf63cbd594f71814c8e8f3d4f7a
2010-05-27 18:00:45 -07:00
William Maddox
7cfb42d6ca Fix missed renaming in NativeMIPS.cpp in patch for bug 560926 (r=rreitmai+)
Bug 560926 - Add support for arithmetic with branch on overflow

--HG--
extra : convert_revision : 8c6a61c935172f56eb7c660b476a5516cd3f04ab
2010-05-27 12:53:35 -07:00
Rick Reitmaier
ada62b6b46 Fix winmo macro madness breakage
Extra parenthesis needed in order to correctly resolve macros;
  NativeARM.cpp(2040) : error C2105: '--' needs l-value

--HG--
extra : convert_revision : 6f625518afb60a49717b27ba482ace08309cff12
2010-05-27 11:29:47 -07:00
Rick Reitmaier
4e416a5a6b Bug 568393 - msvc 2008 compiler generates bad code for CallInfo static initializer (r+wmaddox)
ugh

--HG--
extra : convert_revision : f7c07b8ca96fc2ef1179171f05e69b841ac2865f
2010-05-26 18:02:31 -07:00
William Maddox
f42400812e Bug 560639 - Reinstate CodeAlloc::size(const CodeList*) recently removed as "dead" (r=edwsmith+ nnethercote+)
--HG--
extra : convert_revision : aec5028a49e90c4be18de667a2807896e3b689ad
2010-05-26 17:29:16 -07:00
Rick Reitmaier
8b54029d42 Bug 567900 - Enable JIT verbose output for release debugger builds (r+stejohns)
Somewhere along the line -Dverbose=jit was disabled for all non-debug builds.
This means that we can no longer see jit generated verbose output unless we
build a debug build, which is very inconvenient.

Also, the define NJ_VERBOSE_DISABLED was introduced without a corresponding
ifdef around the JIT verbose flags of the shell which leads one to erroneously
assume that methods are not being JIT'd (no output visible).

As the verbose mechanism in the JIT adds less than 2% to overall size (measured
on xcode built x86-32 shell) , recommend adding it back.

--HG--
extra : convert_revision : 367041a278adc74f7db6c9a13166f1700b133ec7
2010-05-26 11:08:55 -07:00
Nicholas Nethercote
667b781c22 Update nanojit-import-rev stamp. 2010-06-06 17:58:25 -07:00
Edwin Smith
ab48828f96 Bug 560926 - Add support for arithmetic with branch on overflow (r= nnethercote+ edwsmith+ wmaddox+) 2010-06-06 17:57:30 -07:00
Nicholas Nethercote
50014db91e Update nanojit-import-rev stamp. 2010-06-06 16:45:13 -07:00
Edwin Smith
0674774a9a Constant folding for LIR_i2q and ui2uq (bug 560106 r=gal+). 2010-06-06 16:40:41 -07:00
Andreas Gal
0630d150f4 Detection mutations to the iteration state in js_SuppressDeletedProperty (570352, r=igor). 2010-06-06 16:23:48 -04:00
Robert Sayre
09e6a02419 Merge mozilla-central to tracemonkey. 2010-06-06 11:28:04 -04:00
Jesse Ruderman
c63de0b7e8 Crashtest for bug 519031. 2010-06-06 16:26:05 +02:00
Mats Palmgren
f35582f251 Allow the test to run for max 15 seconds, then fail the test. b=567931 2010-06-06 16:25:57 +02:00
Mats Palmgren
2d0555e421 Plug leak in nsTransferable::GetTransferData. b=565392 r=dbaron 2010-06-06 16:25:48 +02:00
Neil Rashbrook
9270d2e6b4 Bug 569490 Don't build D3D9 layer if we can't find d3d9.h r=ted,jmuizelaar 2010-06-06 11:37:44 +01:00
Nicholas Nethercote
1a5f1be426 Update nanojit-import-rev stamp. 2010-06-05 20:15:51 -07:00
Jacob Bramley
bd578c73f1 Remove stack-size limitations in asm_spill for ARM. [Bug 561977] [r=rreitmai] 2010-06-05 20:12:54 -07:00
Ehsan Akhgari
4d6843b32e Merge resolving the bad rename changeset landed as part of bug 542222 2010-06-05 21:23:26 -04:00
Ehsan Akhgari
8355b7bd7a Merging the dormant-bug-542222 branch 2010-06-05 21:16:17 -04:00
Robert Sayre
d9e86770e3 Merge mozilla-central to tracemonkey. 2010-06-05 19:13:45 -04:00
Ehsan Akhgari
5e4d9a7b31 Marking the tip of mozilla-central as dormant-branch-bug-542222
--HG--
branch : dormant-bug-542222
2010-06-05 17:42:42 -04:00
Igor Bukanov
02fc618d59 bug 566836 - eliminating JSObjectOps::dropProperty. r=gal
--HG--
extra : rebase_source : cdffca0a863d8a3dddbc77335fc3cdac2eff9f4b
2010-06-05 23:24:54 +02:00
Timothy Nikkel
99d62dbee8 Bug 563878. Part 4. Add AppUnitsPerDevPixel convenience function to viewmanager. r=mats
(transplanted from fdb1e4bc853db53142b244ddf6e20e9bbab8e636)

--HG--
extra : transplant_source : %FD%B1%E4%BC%85%3D%B51B%B2D%DD%F6%E2%0E%9B%BA%B8%E66
2010-06-05 15:29:49 -05:00
Timothy Nikkel
22d582c497 Bug 563878. Part 4. Add AppUnitsPerDevPixel convenience function to viewmanager. r=mats 2010-06-05 15:29:49 -05:00
Timothy Nikkel
2871357cb5 Bug 563878. Part 3. Fix FindViewContaining. r=mats
(transplanted from 83d0cd161be2d3cad1e97a1deebab5f248f4bc7d)

--HG--
extra : transplant_source : %83%D0%CD%16%1B%E2%D3%CA%D1%E9z%1D%EE%BA%B5%F2H%F4%BC%7D
2010-06-05 15:29:49 -05:00
Timothy Nikkel
1609d33fad Bug 563878. Part 3. Fix FindViewContaining. r=mats 2010-06-05 15:29:49 -05:00
Timothy Nikkel
55fde443d9 Bug 563878. Part 2. Some view/ cleanup. r=mats
(transplanted from 5702bf7ea7eb85e1dbbd23a74f6e747e3b26edcd)

--HG--
extra : transplant_source : W%02%BF%7E%A7%EB%85%E1%DB%BD%23%A7Ont%7E%3B%26%ED%CD
2010-06-05 15:29:49 -05:00
Timothy Nikkel
6200807dba Bug 563878. Part 2. Some view/ cleanup. r=mats 2010-06-05 15:29:49 -05:00
Timothy Nikkel
0d8eb620e3 Bug 563878. Part 1c. Misc layout cleanup. r=mats
(transplanted from 2c4a36b7e9ea2125b9daaab242202be4c34e46a5)

--HG--
extra : transplant_source : %2CJ6%B7%E9%EA%21%25%B9%DA%AA%B2B%20%2B%E4%C3NF%A5
2010-06-05 15:29:49 -05:00
Timothy Nikkel
8e1c8a0245 Bug 563878. Part 1c. Misc layout cleanup. r=mats 2010-06-05 15:29:49 -05:00
Timothy Nikkel
3cf7abcc45 Bug 563878. Part 1b. Make nsIPresShell::RenderNode and nsIRenderingContext::SetClipRegion take an nsIntRegion. r=mats
(transplanted from d5ca465f42381d777adcc468c8fdf96942f1fcfe)

--HG--
extra : transplant_source : %D5%CAF_B8%1Dwz%DC%C4h%C8%FD%F9iB%F1%FC%FE
2010-06-05 15:29:49 -05:00
Timothy Nikkel
1b5c6590a7 Bug 563878. Part 1b. Make nsIPresShell::RenderNode and nsIRenderingContext::SetClipRegion take an nsIntRegion. r=mats 2010-06-05 15:29:49 -05:00
Timothy Nikkel
c98f610ec6 Bug 563878. Part 1a. Make nsThebesRegion hold a nsIntRegion like it should. r=mats
(transplanted from f2991bf41c20d8d20115d85506828cb0c727078d)

--HG--
extra : transplant_source : %F2%99%1B%F4%1C%20%D8%D2%01%15%D8U%06%82%8C%B0%C7%27%07%8D
2010-06-05 15:29:49 -05:00
Timothy Nikkel
4ae8e7b053 Bug 563878. Part 1a. Make nsThebesRegion hold a nsIntRegion like it should. r=mats 2010-06-05 15:29:49 -05:00
Timothy Nikkel
14c5d0cae6 Bug 8253. Part 1. Disable first-letter and first-line styles in select elements. r=bzbarsky
(transplanted from b2d0bd7761a16e652727596f58b0edc1d57610d4)

--HG--
extra : transplant_source : %B2%D0%BDwa%A1ne%27%27YoX%B0%ED%C1%D5v%10%D4
2010-06-05 15:29:49 -05:00
Timothy Nikkel
ce66a52a38 Bug 8253. Part 1. Disable first-letter and first-line styles in select elements. r=bzbarsky 2010-06-05 15:29:49 -05:00
Ehsan Akhgari
5e0ac612eb Bug 534785 - fix build bustage
(transplanted from 2875f9a693ae9c60cc07b0caf42451760ed6c657)

--HG--
extra : transplant_source : %28u%F9%A6%93%AE%9C%60%CC%07%B0%CA%F4%24Qv%0E%D6%C6W
2010-06-05 16:17:42 -04:00