Chris Leary
1d03ae0f11
Fix jstests.py --valgrind-args flag. (r=jorendorff)
2010-06-16 18:34:57 -07:00
Jason Orendorff
c80c81124a
Merge backout.
2010-06-16 20:03:30 -05:00
Jason Orendorff
c1e349137a
Back out changeset 4c1fbfcf1d0d due to orange.
2010-06-16 20:03:11 -05:00
Jason Orendorff
07430a1bcd
Back out changeset fdaff211cb8f due to orange.
2010-06-16 20:02:53 -05:00
Jason Orendorff
e4eacf8d04
Bug 570169 - Part 3, cope with E4X and compiler-internal objects. r=gal.
...
--HG--
extra : rebase_source : cfe0da3aa979b24ba331fbc2622970767b06ad58
2010-06-16 16:13:50 -05:00
Andreas Gal
02be8d79fb
Compute 'this' in call ObjectOp so it can be overriden (572495, r=jorendorff).
2010-06-16 16:36:40 -07:00
Jason Orendorff
2d3b5bbe7a
Bug 570169 - Part 2, add assertions that gcthings do not leak across compartments. r=gal.
2010-06-16 16:13:28 -05:00
Jason Orendorff
6472e34dba
Bug 570169 - Part 1, preparation. Rearrange some code. r=gal.
2010-06-16 16:13:01 -05:00
Jason Orendorff
651a2b804e
Delete testContexts_bug570746, which is failing only on tinderbox, inexplicably. No test is worth this much trouble. r=orange.
2010-06-16 15:19:53 -05:00
Chris Leary
c55687cccc
Back out changeset fecc8ed9e813.
2010-06-16 01:17:34 -07:00
Jason Orendorff
5550380090
Note that js1_8_5/regress/regress-555246-1.js fails in the shell.
2010-06-15 19:07:50 -05:00
Dave Herman
ddf90cda8e
bug 533874, r=cdleary: expose the parser as a JS API
2010-06-15 13:32:32 -07:00
Jason Orendorff
604cfc9c6f
Fix testContexts_bug570746 for the third time. The scope of the jsvalRoot fundamentally cannot be correct here, so explicit JS_{Add,Remove}ObjectRoot calls are needed. r=orange.
...
--HG--
extra : rebase_source : e6a4ace8f159dfdb939495cecb5a9c3110242620
2010-06-14 18:50:07 -05:00
Igor Bukanov
287bafafff
bug 516832 followup - fixing jsapi-tests compiler warnings
2010-06-15 09:57:24 +02:00
Jason Orendorff
6435203fb2
Remove #include cycle between jsscopeinlines.h and jsobjinlines.h. rs=Waldo.
2010-06-14 15:00:02 -05:00
Igor Bukanov
7cf58c5d22
bug 516832 - conservative stack scanning. This is based on the initial work by Anreas Gal and Gregor Wagner. r=brendan,gal
2010-06-04 16:22:28 +02:00
Igor Bukanov
5a45e44fd0
bug 571661 - removal of unused xpconnect-specific auto request classes. r=mrbkap
2010-06-12 18:28:19 +02:00
Jeff Walden
036e2b3101
Bug 570551 - Don't use shared-permanent properties to implement RegExp instance properties. r=jorendorff
2010-06-05 18:16:03 -07:00
Jim Blandy
4b1fae7897
Bug 568375: Delete the JSOP_XMLOBJECT bytecode. r=waldo
2010-06-11 10:48:08 -07:00
Nicholas Nethercote
dd1f103ade
Update nanojit-import-rev stamp.
2010-06-10 18:05:05 -07:00
Nicholas Nethercote
a35fc574ae
Bug 569753 - nanojit: clean up ExprFilter::ins2(). r=edwsmith.
...
--HG--
extra : convert_revision : 27e933f40d36603509b75ca2e7361616781528fe
2010-06-10 17:12:53 -07:00
Edwin Smith
b919fbbe12
Bug 562152 - Remove typedef LInsp (r=nnethercote+)
...
--HG--
extra : convert_revision : 63a0a36e4637218160b42646feb9a18b408d8671
2010-06-10 11:22:18 -04:00
Jim Blandy
5f169e84e2
Bug 563109: Retire jsDriver.pl and friends, in favor of jstests.py. r=bclary
2010-06-10 14:43:54 -07:00
Nicholas Nethercote
13d03be824
merge
2010-06-09 19:41:59 -07:00
Nicholas Nethercote
991efe1344
Bug 568466 - TM: avoid premature NULL check in NewXMLQName(). r=gal.
2010-06-09 19:40:12 -07:00
Vladimir Vukicevic
601bca059e
b=571014; assertion when accessing ArrayBuffer props; r=brendan
2010-06-09 19:05:00 -07:00
Vladimir Vukicevic
050bac772e
b=560818; use jemalloc chunk allocation in GC, also add GC chunk memory report; r=shaver
2010-06-09 14:56:53 -07:00
Jason Orendorff
9f4dfaa18c
Get rid of tabs in jsapi-tests and apply modelines everywhere. Whitespace only change. no_r=me.
2010-06-09 14:34:18 -05:00
Jason Orendorff
6c7518750c
Missing "return true;" in jsapi-test is what was really causing it to fail on tinderboxes. Sorry for the mess. r=orange, shame=me.
2010-06-09 14:18:34 -05:00
Jacob Bramley
8dc56be0dd
Update nanojit-import-rev stamp.
2010-06-09 09:46:51 +01:00
Jacob Bramley
07c75d07c8
Include signal.h to fix breakage in 49982fe529dd. [Bug 570895] [r=me]
...
--HG--
extra : convert_revision : 0a8efeddb4d97553a877a1cfd11b3e4b9fb54098
2010-06-09 09:30:23 +01:00
Jacob Bramley
310af12a78
Extend the inappropriately-limited FSTD and FSTS range. [Bug 570694] [r=nnethercote]
...
--HG--
extra : convert_revision : 3c64a9386e7f8784d25b4eb13243f621b0fcded8
2010-06-09 09:10:19 +01:00
Gary Kwong
552a27cb06
Bug 570895 - Consider replacing abort() in AvmAssertFail. r=gal.
...
--HG--
extra : convert_revision : 49982fe529ddf0ff473495547e2df3024e35ee76
2010-06-09 00:20:03 -07:00
Gary Kwong
a24cddb1b8
Assertion failure message tweak, from bug 570895. r=gal.
...
--HG--
extra : convert_revision : c7e84fb8ce712a6ea79fce04cd8cb5d8fcf2f647
2010-06-09 00:13:54 -07:00
Jacob Bramley
ad5b2f77aa
Fix ARM's asm_str implementation for large, negative offsets. [Bug 561977] [r=me]
...
--HG--
extra : convert_revision : 8dc1d2f7c39783cb1683dee2b3caac28d7121ff7
2010-06-07 11:58:07 +01:00
Gary Kwong
2c2bdd0503
Bug 570895: Replace abort() in AvmAssertFail. r=gal
2010-06-09 14:38:37 +08:00
Andreas Gal
ffe7358fca
Eagerly calculate 'this' for 'with' objects (570655, r=brendan/mrbkap).
2010-06-08 17:09:40 -04:00
Jim Blandy
1a07fb174f
Bug 569751: Don't ignore arguments indicating which tests to run in nonterminal property presence tests. r=waldo
2010-06-08 13:35:19 -07:00
Jason Orendorff
d9841f2f2c
In a jsapi-test, fix scope of js root, to avoid removing the root after the runtime is destroyed. r=orange.
2010-06-08 14:42:27 -05:00
Jason Orendorff
674ba25c89
Bug 570746 - Assertion failure: rt->emptyArgumentsScope->shape == JSScope::EMPTY_ARGUMENTS_SHAPE, at js/src/jsscope.cpp:289. r=brendan.
2010-06-08 12:31:34 -05:00
Blake Kaplan
8a79fe9040
Bug 553597 - Add a mochitest. r=bzbarsky
2010-06-08 09:13:11 -07:00
Blake Kaplan
62c84f09e1
Bug 567451 - Inline some functions that have no business appearing in profiles. r=jst
2010-06-08 09:13:08 -07:00
Blake Kaplan
f1be43a299
Bug 566651 - Actually store the result in vp. r=jorendorff
2010-06-08 09:12:52 -07:00
Blake Kaplan
0130483c24
Bug 567048 - Cache same-origin XOWs in the wrapped native's object. r=jst
2010-05-28 16:01:08 -07:00
Jason Orendorff
6e7f075424
Merge backout.
2010-06-07 20:39:48 -05:00
Jason Orendorff
03f2a11f1a
Merge backout.
2010-06-07 20:39:05 -05:00
Jason Orendorff
120196fad2
Back out changeset 46fed5bdcf44 for now.
2010-06-07 20:38:51 -05:00
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
Andreas Gal
be035f8008
Allow reading reserved slots without locking if we know its safe to do so (570404, r=brendan).
2010-06-07 21:35:58 -04:00
Luke Wagner
f032df96b4
Bug 565157 - typed JS_AddRoot (r=igor)
2010-06-07 17:05:02 -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
Jason Orendorff
5f5deee89d
Bug 556277 - Compute this eagerly in more cases. r=brendan. Second landing.
2010-06-04 00:34:57 -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
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
Robert Sayre
d9e86770e3
Merge mozilla-central to tracemonkey.
2010-06-05 19:13:45 -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
Robert Sayre
37d6a810f7
Merge backout.
2010-06-05 11:43:27 -04:00
Robert Sayre
3a10b5449b
Backed out changeset 52be13ea0488. Bug 556277 - Compute this eagerly in more cases. r=brendan. Suspected of performance regression on SunSpider unpack-code. 80ms -> 135ms.
2010-06-05 11:42:59 -04:00
Vladimir Vukicevic
8527f694f4
b=570025; don't use JS_ConstructObjectWithArguments in typed arrays; r=gal
2010-06-04 12:03:43 -07:00
Jason Orendorff
2ab131a259
Bug 556277 - Compute this eagerly in more cases. r=brendan.
...
--HG--
extra : rebase_source : b295b576f019a95b55d12b86077aaef295e3eec8
2010-06-04 00:34:57 -07:00
Luke Wagner
6950cf8510
Fix misnamed js_DumpStackFrameChain (r=me)
...
--HG--
extra : rebase_source : c8d4e523cea0909dc190eac3c368d207d9c6abbb
2010-06-04 11:15:23 -07:00
Jason Orendorff
6e799da354
Fix up the tests from bug 555246 to pass in the browser.
...
--HG--
extra : rebase_source : 7402ef86dc51523e55013345eba02a2e95122478
2010-06-03 23:33:40 -07:00
Andreas Gal
64497c9a69
Suppress deleted properties during iteration (569735, r=brendan).
2010-06-03 21:41:01 -07:00
Nicholas Nethercote
3c1d859013
Backout the last NJ-to-TM merge (TM revisions b44daa2c0503 to b3167f8f9459, inclusive) because it caused lots of oranges. r=me.
2010-06-03 21:28:18 -07:00
Peter Van der Beken
4192845ce5
Backout 0f6b3c305e16 and 590f2dd5a293 to fix bustage
2010-06-04 15:26:26 +02:00
Peter Van der Beken
bbcaeb8ff9
Bustage fix.
2010-06-04 14:48:52 +02:00
Andreas Gal
3a5ff09808
Don't allow proxies to be fixed while handler traps execute (568473, r=igor).
2010-06-03 18:12:01 -07:00
Nicholas Nethercote
d3f076e3b3
Update nanojit-import-rev stamp.
2010-06-03 17:53:33 -07:00
William Maddox
714929c4de
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
1f9d87d23f
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
Jeff Walden
2a8187e20b
Bug 548671 - Stop using shared-permanent properties "inherited" from the prototype to represent (function(){}).length and [].length. r=jorendorff
...
--HG--
extra : rebase_source : c5d48e4fe489f9e350798b49bed70f763e3abf37
2010-06-02 23:44:24 -07:00
Andreas Gal
70617110b8
Add an API for compartments (570040, r=jorendorff).
2010-06-04 16:32:10 -07:00
Taras Glek
7bfee6e728
Bug 570195 - Object.prototype.hasOwnProperty doesn't set the JSRESOLVE_DETECTING flag. r=jorendorff, test by jorendorff.
...
--HG--
extra : rebase_source : 20ef8f345efc18887c296059aff94e8d4e754cc9
2010-06-04 14:20:53 -07:00
Leon Sha
b892e48516
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
Peter Van der Beken
9d3d2c1e46
Fix for bug 560462 (Use fast unwrapping for more quickstubs), part 3i - use fast unwrapping for nsIDOMDocument_, nsIDOMNSDocument_, nsIDOM3Document_. r=jst.
2010-05-31 22:46:56 +02:00
Peter Van der Beken
1c10d19031
Fix for bug 560462 (Use fast unwrapping for more quickstubs), part 3h - use fast unwrapping for nsIDOMNSHTMLElement_. r=jst.
2010-05-31 22:40:42 +02:00
William Maddox
2166eb30ff
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
4600797689
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
cfc75a5c0d
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
af0bc4b0af
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