David Mandelin
dcc7ec979f
[JAEGER] Bug 590380: restore our JSNES perf by adding a fast path for inc/dec global vars, r=dvander
2010-08-26 14:06:07 -07:00
David Mandelin
ab97c995fd
[JAEGER] Merge from tracemonkey.
2010-08-26 10:35:24 -07:00
David Anderson
e9aeb4b8bb
Backed out changeset ebd2b956b565.
2010-08-26 02:30:08 -04:00
David Anderson
169050a338
[JAEGER] Inline caches for scripted calls (bug 587698, r=dmandelin).
2010-08-26 01:29:52 -04:00
Jeff Walden
23c30a7beb
Unwrap the target before checking for callability, so that wrappers don't wrongly appear to be callable. r=orange
2010-08-26 01:22:20 -04:00
David Mandelin
1282ac2e00
[JAEGER] Fix test case not to require exact recursion limits
2010-08-25 17:02:40 -07:00
David Mandelin
7ca98ab40f
[JAEGER] Bug 590749: safely handle calling ReleaseScriptCode twice on a given script, r=dvander
2010-08-25 16:31:39 -07:00
David Mandelin
1009b312b0
[JAEGER] Bug 469230: use correct this value in str_replace_flat_lambda, r=cdleary
2010-08-25 16:23:46 -07:00
David Mandelin
9f589f01cf
[JAEGER] Bug 589349 tweak: set default --jitflags to 'j' to keep old behavior by default and avoid tinderbox orange due to recursion count difference
2010-08-25 15:59:17 -07:00
David Mandelin
ba29f93a3c
[JAEGER] Bug 589349 stopgap: tweak jstests.py to split extra args option on spaces so we can run with '-m -j' to test both JITs
2010-08-25 14:08:33 -07:00
David Mandelin
de84d4b689
[JAEGER] Bug 589349: customizable multi-jit flags for jstests.py, feedback=njn
2010-08-25 14:00:28 -07:00
David Mandelin
ef5b0f9077
[JAEGER] Merge from tracemonkey.
2010-08-25 11:00:41 -07:00
David Anderson
0c3b4e8c17
Backed out changeset a804ccdfe7c4.
2010-08-25 11:53:17 -04:00
David Anderson
0255d4ffbc
[JAEGER] Fixed copying garbage to some callobj slots (bug 590088, r=dmandelin).
2010-08-25 10:56:48 -04:00
Paul Biggar
05bb449ddd
Bug 489098: enable property cache for eval scripts. r=dvander
2010-08-25 11:20:08 +01:00
David Anderson
194facbde7
[JAEGER] Clean up JSScript hacks (bug 590275, r=dmandelin).
2010-08-24 22:57:35 -04:00
David Anderson
53caaab3b7
[JAEGER] Fixed some math operations remating from unsynced addresses (bug 589714, r=dmandelin).
2010-08-24 21:00:32 -04:00
David Mandelin
7a67eb272d
[JAEGER] Bug 590001: find correct exception handler when we throw an exception during trace recording, r=dvander
2010-08-24 12:00:42 -07:00
David Mandelin
78cdeefdf2
[JAEGER] Merge from Tracemonkey.
2010-08-24 11:56:29 -07:00
Chris Leary
1d43f99740
Bug 586530: non-list cmdline display for trace-test. (r=dmandelin)
2010-08-24 10:18:34 -07:00
David Anderson
591d6c4f57
[JAEGER] Fixed GETELEM PIC not initializing memory (bug 588338, r=cdleary).
...
--HG--
extra : rebase_source : dfcfa1de224813001b9692a96e987c909bf3333f
2010-08-24 12:57:01 -04:00
Paul Biggar
5be05d883e
bug 492688 - use -fomit-frame-pointer on mac. r=sayrer
2010-08-24 12:16:17 -04:00
Nicholas Nethercote
c5586f145a
Bug 578216 - Make eval(json-like string) fast. r=sayrer
2010-08-24 11:50:54 -04:00
Jacob Bramley
a39eccf723
[JAEGER] Comment tweak to align with changes made for bug 588978. [r=me]
2010-08-24 09:46:33 +01:00
Nicholas Nethercote
2ab58fd02d
Backed out changeset 74ce80e8782e
2010-08-23 22:38:19 -07:00
David Anderson
b87f34a4e2
[JAEGER] Fixed PROPINC etc using the property cache (bug 589115, r=dmandelin).
...
--HG--
extra : rebase_source : 6a58de4b3044c6ce4afa160e1fb497df4a6d290b
2010-08-24 00:57:57 -04:00
David Anderson
d8679510bf
[JAEGER] Fixed assert in GetElem stub (bug 582894, r=dmandelin).
...
--HG--
extra : rebase_source : 4c46371db89f4b2cacb1265cc79366830d78dd56
2010-08-24 00:57:54 -04:00
Leon Sha
df0157c800
Bug 587962 - [JAEGER] JaegerMonkey build and check failed on Solaris x86 with Sun Studio 12. Patch 2. r=dvander
2010-08-23 20:50:35 -07:00
Nicholas Nethercote
7ba153876d
Bug 578216 - Make eval(json-like string) fast. r=sayrer.
2010-08-23 18:13:09 -07:00
Brian Hackett
93e944674e
Sync undefined properly, avoid unnecessary syncs at function entry, bug 586544. r=dvander
2010-08-23 16:43:04 -07:00
Robert Sayre
5a3ae5c418
Merge backout.
2010-08-23 19:21:05 -04:00
Robert Sayre
c62ccd686b
Backed out changeset b404ad209cb9. (Bug 587257 - Make Array.prototype.join faster. r=lw)
2010-08-23 19:20:46 -04:00
Jan de Mooij
383caddd9a
Bug 589746 re-landing, this time correctly: omit calls to spew functions in non-spew opt builds, r=dmandelin
2010-08-23 15:51:37 -07:00
David Mandelin
3978987e86
Backed out changeset 2ab1e79a2179 -- I landed it wrong.
2010-08-23 15:50:20 -07:00
Jan de Mooij
cb60fc6bdc
Bug 589746: omit calls to spew functions in non-spew opt builds, r=dmandelin
...
--HG--
extra : rebase_source : d40c71dbe9c5ddab5fb4a6e280e6361afa54b3af
2010-08-23 15:26:19 -07:00
Brian Hackett
2da48c21da
Remove unnecessary loads of f.cx, bug 588978. r=dmandelin
2010-08-23 15:27:44 -07:00
Jason Orendorff
efe79f8f4c
Bug 583232 - Add rewrapping to jsapi.h. r=gal
2010-08-23 18:14:38 -04:00
David Mandelin
e2926c8916
[JAEGER] Fix build bustage from last merge--missing changes for GCC static asserts
2010-08-23 14:45:24 -07:00
Brian Hackett
5b14eb928e
Accessor functions for cx->fp, bug 588978. r=lw
2010-08-23 14:36:40 -07:00
David Mandelin
ef7de3688d
[JAEGER] Merge from Tracemonkey.
...
--HG--
extra : rebase_source : 3a8dcc0855999572e7d32ee1d6468e6729938d65
2010-08-23 14:13:53 -07:00
Robert Sayre
640b1f3097
Bug 587257 - Make Array.prototype.join faster. r=lw
2010-08-23 16:28:36 -04:00
Robert Sayre
b3dc580341
Merge mozilla-central to tracemonkey
2010-08-23 15:08:34 -04:00
Brian Hackett
a4a17593d6
Move cx->fp to cx->regs->fp, bug 588978. r=lw
...
--HG--
extra : rebase_source : 14a90a53ceeb1f65d0ab70eafb5371095535e66f
2010-08-22 16:00:20 -07:00
David Anderson
02e4fe6352
[JAEGER] Merge.
2010-08-23 17:03:46 -04:00
David Anderson
0b7588f87f
[JAEGER] Fixed GETPROP resyncing to the wrong type (bug 589108, r=dmandelin).
2010-08-23 16:56:10 -04:00
David Mandelin
02f201cead
[JAEGER] Merge from tracemonkey.
2010-08-23 11:35:14 -07:00
Makoto Kato
3341b53feb
[JAEGER] Bug 588267 - Re-land Win64 port. r=dvander
2010-08-23 15:43:43 +09:00
Brian Hackett
53791f1d70
Move cx->fp to cx->regs->fp, bug 588978. r=lw
2010-08-22 16:00:20 -07:00
Bob Clary
e792427e98
bug 588310 - temporarily disable js1_5/extensions/regress-336410-2.js for browser on Windows, r=brendan (NPOTB).
2010-08-22 06:29:06 -07:00
Sean Stangl
2d210ae7a9
[JAEGER] x64: Dedicated Type and Payload Mask Registers. no_r=me.
2010-08-22 00:42:58 -07:00
Luke Wagner
338d890b00
Bug 589340 - factor out / weaken dummy frames (r=mrbkap)
2010-08-21 16:03:07 -07:00
Shu-yu Guo
a0461a486b
Refactor structured property names to pseudo-namespaces using bind
2010-08-24 19:45:21 -07:00
Gregor Wagner
8817352356
Bug 589262 - TM: Move GCStats into separate file. r=igor
2010-08-24 18:57:14 -07:00
David Humphrey
2ef0bdedab
Bug 589727 - Typed Float32 Arrays broken on mozilla-central trunk (adding a test only, the bug itself was fixed in bug 586387). r=sayrer.
2010-08-24 17:00:56 -07:00
Nicholas Nethercote
cc2da3908f
Update nanojit-import-rev stamp.
2010-08-24 16:48:24 -07:00
Andreas Gal
51d7616d8c
Bug 586387 - Problem with Typed Float32 Arrays and canonicalizeNaNs() / LIR_cmovd. r=nnethercote,edwsmith.
...
--HG--
extra : convert_revision : 2e44b58e0662f140ab49064b26dfbe15d64bc061
2010-08-24 16:31:48 -07:00
Rick Reitmaier
3f7b23a73e
Bug 542891 - nanojit X64 backend errors on 64bit conditional jumps (r+nnethercote)
...
For conditional jumps that are larger than 32bits, invert the
branch logic so that it jumps around an unconditional 64bit
branch to the target.
--HG--
extra : convert_revision : ada7f685d84394abc19d909a021957e25043a722
2010-08-24 14:14:53 -07:00
William Maddox
9db7b3abab
Bug 570214 - MIPS variable shift instructions corrupts registers (r=stejohns+)
...
Remove unnecessary masking of shift count.
Patch submitted by Chris Dearman (chris@mips.com ).
--HG--
extra : convert_revision : 8986dba933c63d68c3b0498af53b9cdd6c99c69d
2010-08-24 13:41:15 -07:00
William Maddox
c919e07f05
Bug 587916 - Cleanup of X87 FP stack code (r=nnethercote+)
...
1) The "register" FST0 is the sole member of the x87regs register
class. In many places, however, the code is written so as to strongly
suggest that there might be multiple such registers. This patch removes
such conceits, replacing expressions such as (rmask(r) & x87regs)
with (r == FST0), etc.
2) prepareResultReg() has been slightly refactored to make the x87
stack fiddling a bit easier to follow and to remove a fragile assumption.
3) Do not pass the "pop" argument to asm_spill() on non-IA32 platforms.
4) Remove redundant normalization of boolean values.
5) Comment the FPU stack depth consistency check.
--HG--
extra : convert_revision : 04a3292575e6af31578914f7f3b9478b5cad2a1c
2010-08-24 11:44:17 -07:00
William Maddox
19f13a44e8
Bug 568737 - Fix incorrect overflow tests generated for MIPS (r=wmaddox+)
...
Patch submitted by Chris Dearman (chris@mips.com ).
--HG--
extra : convert_revision : 69bf0aeb6fda2a5071bbf904d61801e94316000a
2010-08-24 11:30:07 -07:00
Chris Leary
f243aef253
Bug 587346: fix PCRE code length assertion failure. (r=gal)
2010-08-24 14:53:02 -07:00
Chris Leary
e0e2085e45
Bug 587366: regexp failure for flat text replace. (r=lw)
2010-08-24 14:46:19 -07:00
Luke Wagner
bffe91b8df
Bug 589318 - guard that eval-in-function frames don't access args (r=brendan)
2010-08-21 15:50:14 -07:00
Jacek Caban
d4c88eb729
Bug 587321 - YARR landing broke mingw compilation r=cdleary
2010-08-21 12:21:24 +02:00
Sean Stangl
6536182186
[JAEGER] More efficient InjectJaegerReturn for x64. no_r=me.
2010-08-20 18:18:12 -07:00
Gregor Wagner
562f617316
Bug 589216 - TM: fix another crossCompartment call in jsapi-tests r=jorendorff
2010-08-20 17:23:47 -07:00
Luke Wagner
376a6f85f4
Bug 588558 - fix FrameRegsIter thinko (r=waldo)
2010-08-20 16:54:58 -07:00
David Mandelin
730233dc21
[JAEGER] Use consistent namespace qualifier on stub call definitions
2010-08-20 15:17:50 -07:00
Jacob Bramley
e5ea36eb1e
[JAEGER] Bug 587833 reland part 2: remove VMFrame::scriptedReturn ARM fixes
2010-08-20 13:21:46 -07:00
David Anderson
54be9cdfa6
[JAEGER] Bug 587833 reland part 1: remove VMFrame::scriptedReturn for x86 and x64, r=dmandelin
2010-08-20 13:20:38 -07:00
Jim Blandy
285b03968f
Bug 438633: Give new JSScript objects lifetimes like GCThings. r=brendan
...
Attach script objects immediately in all JSAPI script-creating functions;
have JS_NewScriptObject simply return the already-allocated object; and
make JS_DestroyScript a no-op.
Verify that all scripts given to JSAPI script-consuming functions have
objects, or are the canonical empty script object.
2010-08-20 13:11:05 -07:00
Jim Blandy
16f4c21b3c
Bug 585803: Pass TCF_NEED_MUTABLE_SCRIPT when producing scripts returned via JSAPI functions. r=brendan
...
All scripts produced using JSAPI functions should be able to have
JS_NewScriptObject applied to them. However, JS_CompileFile and
JS_CompileFileHandleForPrincipals fail to pass TCF_NEED_MUTABLE_SCRIPT, and
thus will occasionally return JSScript::emptyScript(); applying
JS_NewScriptObject to that causes a crash.
2010-08-20 13:11:04 -07:00
David Mandelin
67a9ce8c76
[JAEGER] Merge from tracemonkey.
2010-08-20 11:34:59 -07:00
Robert Sayre
d598acd055
Merge mozilla-central to tracemonkey.
2010-08-20 10:04:58 -04:00
Leon Sha
31b5560186
Fix the bustage on windows. Bug 587962.
2010-08-20 20:56:45 +08:00
Leon Sha
a50abcb41c
Bug 587962 - [JAEGER] JaegerMonkey build and check failed on Solaris x86 with Sun Studio 12. r=dvander
2010-08-20 01:09:34 -07:00
Luke Wagner
bff8e4e9d4
Bug 589015 - js_watch_set doesn't need that crazy dummy frame (r=mrbkap)
2010-08-19 18:02:17 -07:00
David Mandelin
b3d6402311
[JAEGER] Merge from tracemonkey.
2010-08-19 17:30:22 -07:00
David Mandelin
169803d2d3
[JAEGER] Merge from tracemonkey.
2010-08-19 17:30:04 -07:00
Nicholas Nethercote
4aa312b6f5
merge
2010-08-19 16:46:27 -07:00
Brian Hackett
2aeb294c19
Interface for JSStackFrame.argc, bug 586533. r=lw
2010-08-19 16:44:12 -07:00
David Mandelin
b89502a7d9
[JAEGER] Backout merge.
2010-08-19 16:27:04 -07:00
David Mandelin
2cbc07739b
[JAEGER] Backed out changeset 04bc789f7a43: trace-test failures
2010-08-19 16:26:50 -07:00
David Mandelin
84bf63c699
[JAEGER] Backout merge.
2010-08-19 16:26:17 -07:00
David Mandelin
ea6820c89f
[JAEGER] Backed out changeset b88bab8e77c5: prerequisite to backing out 04bc789f7a43
2010-08-19 16:25:54 -07:00
Nicholas Nethercote
efa83280f0
Update nanojit-import-rev stamp.
2010-08-19 16:22:30 -07:00
David Mandelin
8c04657d38
[JAEGER] Minor merge from TM to pick up a small perf boost and see if we can cycle TBPL into actually working again
2010-08-19 16:05:06 -07:00
Bill McCloskey
5113963733
Bug 564548: faster special cases for Math.pow, r=gal
2010-08-19 14:17:56 -07:00
Edwin Smith
8a316147b9
Bug 584935 - Speed up register iteration loops by using BSF instruction (r=nnethercote+)
...
Changed all the register iteration loops to use lsbSet/msbSet functions
that use fast find-first-bit intrinsics when available. Typical loops of
the form:
for (Register r = FirstReg; r <= LastReg; r = nextReg(r))
if (predicate(r))
/* use r */
were transformed by replacing the per-iteration predicate with a single
mask calculation, then iterating through only the 1 bits in the mask:
RegisterMask set = /* calculate predicate with bitmask ops */;
for (Register r = lsReg(set); set; r = lsNextReg(set))
/* use r */
Iteration can be low-to-hi with lsReg/lsNextReg, or hi-to-low with msReg/msNextReg.
Primitives are provided for 32 and 64-bit masks. PPC and MIPS need a 64-bit
mask, for example, even on 32-bit systems.
Refactoring details:
I renamed msbSet() to msbSet32() as part of adding [msb|lsb]Set[32|64], which
affected the AccSet code trivially.
I used if (sizeof(RegisterMask) == 4) to choose between 32 and 64bit
implementations, counting on a sane compiler to strip out the provably dead
path. An alternative would be to move the definitions of lsReg() and msReg() to
NativeXXX.h, after the RegisterMask typedef, allowing backends to hardcode the
choice. Given we have six backends and one more on the way, it seemed better
to centralize the code and also avoid more ifdefs.
I moved the definitions of msbSet/lsbSet to nanojit.h, where other such helpers
already live. It didn't seem appropriate to keep adding to LIR.h since the
helpers will now be used in several places in nanojit.
RegAlloc::managed is now set in Assembler.cpp instead of each backend; six
lines of code replaced by one.
prevreg() was dead after these changes. Additionally, I hand-inlined nextreg()
in the other backends, because the usage was highly specialized -- those call
sites depended on nextreg being reg+1, (or reg+2) not some generic iteration.
I removed RegAlloc::countActive() since the only case was testing countActive()
== 0, which is equivalent to activeMask() == 0.
--HG--
extra : convert_revision : c7009f5cd83ea028b98f59e1f8830a76ba27c1dd
2010-08-19 16:04:19 -04:00
David Mandelin
ef74a0554c
[JAEGER] Modify comment to get a clobber build.
2010-08-19 12:59:15 -07:00
David Mandelin
ee50e410ee
[JAEGER] Merge.
2010-08-19 11:12:06 -07:00
David Mandelin
a21c621577
Merge from Tracemonkey.
2010-08-19 11:11:36 -07:00
Robert Sayre
b54b2278b9
Merge from mozilla-central
2010-08-19 13:50:37 -04:00
Jacob Bramley
02992c666a
[JAEGER] Fixed ARM port of bug 587833 (r=dvander).
2010-08-19 13:34:09 -04:00
David Anderson
d1f08da7e5
[JAEGER] Remove VMFrame::scriptedReturn (bug 587833, r=dmandelin).
2010-08-19 13:34:06 -04:00
Robert Sayre
43c1350df6
Merge mozilla-central to tracemonkey.
2010-08-19 11:18:37 -04:00
Axel Hecht
919cdfddf9
bug 559961, explicitly abspath optimizejars.py, js, too, r=khuey, a=bustage-fix
2010-08-19 16:46:38 +02:00
Ginn Chen
2f1a5f7820
Bug 584219 should use "signed bit" for signed bit-field r=nnethercote
...
--HG--
extra : convert_revision : 2f6b1e2a50de2df8f78b98b4c725d5a9897e9c4b
2010-08-19 16:08:53 +08:00
Ginn Chen
d074752fb6
Bug 585559 Fix alignment for length2StringTable and hundredStringTable with Sun Studio r=lw
2010-08-19 15:58:52 +08:00
Nicholas Nethercote
81306351a8
Bug 585866 - Avoid unnecessary calls to YearFromTime(). r=jwalden.
2010-08-18 19:44:28 -07:00
Chris Leary
f3a2844e1b
[JAEGER] Bug 587809 pre-landing: land tracer changes for eager this so we can see what it does with X64 on tinderbox
2010-08-18 18:17:30 -07:00
Makoto Kato
669157a9d9
Bug 588273 - Yarr is broken on Win64 ABI. r=dvander
2010-08-19 10:09:22 +09:00
Robert Sayre
912eca98af
Merge
2010-08-18 17:48:32 -04:00
Robert Sayre
4b71b9d106
Merge
2010-08-18 17:22:08 -04:00
Gregor Wagner
77d8fcb9e6
Bug 572057 - TM: remove weak roots (pigeon hole) r=igor
2010-08-18 12:46:47 -07:00
David Mandelin
8d433fbba7
[JAEGER] Merge from tracemonkey.
2010-08-18 11:03:53 -07:00
Brian Hackett
a38bc3011a
Assert fix, bug 588339. r=brendan
2010-08-18 11:03:22 -07:00
Jacob Bramley
6d1fca8be3
[JAEGER] Enable MICs for ARM. [Bug 588020] [r=dvander]
2010-08-18 10:38:50 +01:00
David Mandelin
9f4c9deb88
[JAEGER] Merge from tracemonkey. This should fix the Xd regression picked up in the last merge.
2010-08-17 18:45:30 -07:00
Nicholas Nethercote
fa2a2f97f3
Bug 584595 - TM: speed up scanning three ways. r=cdleary.
2010-08-17 18:01:23 -07:00
Jeff Walden
7873aa2eba
Oops, forgot to qref before removing this line of whitespace. r=style-police
2010-08-17 16:55:01 -07:00
Luke Wagner
9ba4a19761
Silence warnings / remove dead code (r=me)
2010-08-17 15:59:28 -07:00
David Mandelin
b3d148d838
[JAEGER] Merge from tracemonkey. This picks up the test fix mentioned in the previous commit comment.
2010-08-17 15:33:07 -07:00
Luke Wagner
548bac6b74
Fix testReconstructImacroPCStack.js to not assume tracing-jit
2010-08-17 15:32:47 -07:00
David Mandelin
d32d792513
[JAEGER] Merge from tracemonkey. Note that we will currently fail one trace test that was recently added. There is a bug in that test that will be fixed posthaste.
2010-08-17 15:32:40 -07:00
Sean Stangl
75b06fdd12
[JAEGER] Correct load32() usage; prefer loadShape(). no_r=me.
2010-08-17 14:36:04 -07:00
Jan de Mooij
fad149144a
[JAEGER] Correctly remat objReg in GetProp PIC. b=587119, r=sstangl.
2010-08-17 13:52:26 -07:00
Jacob Bramley
d09759c622
[JAEGER] Fix ARM's long-range loads. [No bug] [r=me]
2010-08-17 15:19:31 +01:00
Leon Sha
01b2f48910
Bug 585926 - check-math-partial-sums.js failed with JIT on SPARC. r=wmaddox
...
--HG--
extra : convert_revision : eceee95267377daa09d5951f6293db752a1b9f77
2010-08-17 16:02:46 +08:00
David Mandelin
3379e781d1
[JAEGER] Merge fallout: move static asserts that break with rval private
2010-08-16 16:23:05 -07:00
David Mandelin
e67c2b7441
[JAEGER] Merge from Tracemonkey.
2010-08-16 15:58:14 -07:00
David Mandelin
f32df484f3
[JAEGER] Finish merge from Tracemonkey.
2010-08-16 15:57:19 -07:00
David Mandelin
6f19cd8199
[JAEGER] Merge from Tracemonkey part 1: don't change visibility of JSStackFrame members yet
2010-08-16 15:37:15 -07:00
David Mandelin
c0001dbe3b
[JAEGER] Merge from Tracemonkey.
2010-08-16 15:31:14 -07:00
Michael Wu
a88c2a698d
Bug 587597 - Fix ARM/Mobile bustage by building Yarr. Contains Jacob Bramley's load8 fix. r=sayrer a=blocking-fennec
2010-08-16 15:18:10 -07:00
David Mandelin
23b88d71bd
[JAEGER] Finish merge from Tracemonkey.
2010-08-16 15:16:24 -07:00
David Mandelin
0a8cb3e43f
[JAEGER] Merge from Tracemonkey part 1: don't change visibility of JSStackFrame members yet
2010-08-16 15:10:41 -07:00
David Mandelin
3af2b18345
[JAEGER] Followup for merge from Tracemonkey: update JSStackFrame API usage in JM code
2010-08-16 15:07:28 -07:00
David Mandelin
066c9f1718
[JAEGER] Merge from Tracemonkey. scopeChain and blockChain are still public so I can check one thing at a time--this merge is brutal.
2010-08-16 14:59:44 -07:00
Andreas Gal
f6f96b56f0
Bug 586531 - Make jsapi-tests not use the default compartment by default. r=jorendorff.
2010-08-16 16:42:50 -05:00
David Mandelin
7f4571bf6a
[JAEGER] Merge from Tracemonkey.
2010-08-16 14:20:34 -07:00
Jim Blandy
4301b4bb0b
Bug 522158: Avoid extra warning for duplicated prop names in object initializers. r=waldo
2010-08-16 13:05:33 -07:00
David Anderson
f585a9f20d
Disable recursion for heavyweight functions (bug 583757, r=jorendorff).
2010-08-16 13:37:47 -04:00
Edwin Smith
4cc6394b17
Suppress warnings in NativePPC.cpp
...
--HG--
extra : convert_revision : 6c8156188b29cdfff217f2f2e658918e55da2dda
2010-08-16 12:36:44 -04:00
Jan de Mooij
b0afe0253c
[JAEGER] Check for negative zero after MUL (bug 584770, r=dvander).
2010-08-16 11:16:47 -04:00
Jason Orendorff
25268597de
Test for bug 584578.
...
--HG--
extra : rebase_source : 82a5fa5ac198a9792f2540fea7cbbe7962fc4faf
2010-08-16 09:29:14 -05:00
Jacob Bramley
becdbf3574
[JAEGER] Fix ARM's load8 implementation and enable YARR for ARM. [Bug 564953] [r=me]
2010-08-16 13:20:32 +01:00
Jacob Bramley
bcd9f334be
[JAEGER] Update the ARM VMFrame code to re-align with changes in d7b81bd995c3. [Bug 586886] [r=me]
2010-08-16 13:02:01 +01:00
Nicholas Nethercote
62658f05e8
Bug 585839 - JM: reorder StubEqualityOp() to account for common cases. r=dvander.
2010-08-15 17:00:09 -07:00
David Anderson
3ba9b2160f
[JAEGER] Fixed assert-botch in tracer integration (bug 587431).
2010-08-15 14:40:13 -07:00
Brian Hackett
ed4defc8b5
Add interface for JSStackFrame.fun/script/thisv/rval, bug 586533. r=lw
2010-08-15 08:44:51 -04:00
Chris Leary
b725adffe8
Bug 586358: make imacpc flagged. (r=lw)
2010-08-15 04:16:54 -07:00
Sean Stangl
8df1d3b34b
[JAEGER] Implement Travis Fisher's xor-based loadValueAsComponents(). b=586240, r=dvander.
...
Thanks to Travis Fisher <traviswfisher@gmail.com>.
2010-08-14 18:07:00 -07:00
Chris Leary
2d26e0cfc8
[Bug 587183] TM merge broke android in Nitro. r=sayrer.
2010-08-14 16:46:37 -07:00
Makoto Kato
d12e22150a
Bug 586887 - bustage on TM tree of Win64 build due to no TrampolineMasmX64.asm. r=dvander
2010-08-18 11:29:04 +09:00
Brian Hackett
03a7ed6a9d
Add interface for JSStackFrame.annotation/debugHook/callerVersion, bug 586533. r=lw
2010-08-14 11:59:44 -04:00
Mike Hommey
ec9c159829
Bug 586262 - Get rid of blx_lr_bug. r=jbramley,edwsmith
...
--HG--
extra : convert_revision : 9e1146b15442cde750da5a8edb486a1ffbfda368
2010-08-14 10:09:11 +02:00
Chris Leary
30febd737e
Try to fix intermittent refcount assertions in the presence of more than one thread. Bug 587277 - TM: ExecutablePool release race. r=sayrer
2010-08-14 00:34:14 -07:00
Brian Hackett
da6f70519b
Second try at adding interface for JSStackFrame.scopeChain/blockChain, bug 586533. r=lw
2010-08-13 23:36:37 -04:00
Sean Stangl
1172060dd0
[JAEGER] Assert MIC, PIC dynamic offset correctness. b=587224, r=dvander.
2010-08-13 18:06:39 -07:00
David Anderson
94c77b4166
[JAEGER] Fixed assert-botch from bug 586886.
...
--HG--
extra : rebase_source : 51c498d3174ac7778930dfa07984e0f87e316152
2010-08-13 17:43:50 -07:00
David Mandelin
0b41c441e5
[JAEGER] Bug 587224: make offset members big enough to handle big stubs, no_r=me
2010-08-13 17:27:36 -07:00
David Anderson
7e9b41be71
[JAEGER] Fixed bugs in commit bumping (bug 586886 fallout).
2010-08-13 15:27:33 -07:00
Andreas Gal
1084347139
b=586387; Problem with Typed Float32 Arrays and canonicalizeNaNs() / LIR_cmovd; r=nnethercote/edwsmith
2010-08-13 14:57:50 -07:00
David Anderson
28704289d9
[JAEGER] Combine over-recursion and stack commit checks (bug 586886).
2010-08-13 14:22:18 -07:00
David Mandelin
5c039fb714
[JAEGER] Bug 586538 followup: the original fix was accidentally backed out by 91257f67ea38, so restoring it.
2010-08-13 14:10:43 -07:00
Chris Leary
148bbf7986
Unleak regexp arena. Bug 586898 - JM: memory leak due to YARR. r=sayrer
2010-08-13 12:09:44 -07:00
David Mandelin
a8a454c883
[JAEGER] Merge from tracemonkey.
2010-08-13 12:01:02 -07:00
Jeff Walden
e5fd6c565c
Bug 429507 - Tests for Function.prototype.bind. r=luke
2010-08-13 10:42:33 -07:00
Jeff Walden
765b61e1cb
Bug 429507 - ES5: Function.prototype.bind. r=brendan
2010-08-13 10:42:33 -07:00
Shu-yu Guo
696a6af262
Bug 590750 - Parse regexps inside array initializers. (r=taustin)
2010-08-25 17:08:30 -07:00
Nicholas Nethercote
5d51c58e3d
Fix typo in comment for patch in bug 578216. r=me.
2010-08-25 15:50:32 -07:00
Luke Wagner
c69809f6f6
Bug 589340, part 2 - pick up straggler in JSCrossCompartmentWrapper (r=mrbkap)
...
--HG--
extra : rebase_source : c5dfb92746dda2ae2acfc469a031cb3a735c8245
2010-08-25 14:34:47 -07:00
Gregor Wagner
92079ec405
Bug 590519 - Compile failure on ARM - "'rdtsc' was not declared in this scope" (r=arm-bustage)
2010-08-25 12:07:37 -07:00
Jeff Walden
e1c811e568
Bug 584811 - Date.prototype.toJSON isn't to spec. r=sayrer
2010-08-13 10:42:31 -07:00
Jason Orendorff
37d79b0719
Merge backout.
2010-08-13 08:24:40 -05:00
Jason Orendorff
8a568c9133
Backed out changeset c5e31473b1a6 (assertions for bug 583850). See bug 584578 and bug 585754.
2010-08-13 08:21:13 -05:00
Jason Orendorff
2ca54c3e0e
Bug 585257 - "Assertion failure: obj == obj2". r=gal.
2010-08-13 08:17:29 -05:00
Robert Sayre
d91fb6ccdc
Merge tracemonkey to mozilla-central. a=blockers
2010-08-28 10:50:34 -04:00
Dão Gottwald
abf1b55a37
Bug 591387 - Default theme shows as "incompatible" (version number wrapped with quotes). r=khuey a=blocking
2010-08-28 15:32:07 +02:00
Robert Sayre
a3b6c5a908
merge
2010-08-27 22:25:03 -04:00
Robert Sayre
e5da7a11b5
merge mozilla-central to tracemonkey.
2010-08-27 22:24:14 -04:00
Brian Hackett
d4b43f3df0
Fix crash on nested Iterator iteration, bug 590813. r=gal
2010-08-27 11:07:18 -07:00
Boris Zbarsky
6944d7713c
Bug 590179. Use -fomit-frame-pointer when building opt builds on mac. r=ted, a=beltzner
2010-08-27 14:19:45 -07:00
Bobby Holley
83d399742e
Backed out changeset a6c18a123fbb due to everything-on-mac-bustage. a=backout
2010-08-27 09:00:54 -07:00
Boris Zbarsky
f5f1e156fe
Bug 590179. Use -fomit-frame-pointer when building opt builds on mac. r=ted a=beltzner
2010-08-26 21:33:00 -04:00
Dão Gottwald
ff02b582e2
Bug 581008 - Remove support for appending arbitrary data to the User Agent string. r=jst,khuey sr=dveditz
2010-08-27 09:02:10 +02:00
Joel Maher
b61eda4b1d
Bug 586754 Xpcshell tests should use relativesrcdir instead of $MODULE (android prepartion) r=mitchell.field a=NPOTB
2010-08-26 14:47:28 -07:00
Makoto Kato
ced4f79163
Bug 582910 - change stack size of xpcshell to 2MB on Win64. r=dbaron, a=dbaron
2010-08-23 15:09:27 +09:00
Bobby Holley
8d69ad0207
Bug 513681 - part 2 - remove support for the MOZ_IMG_DECODERS build option.r=joe,khuey.a=blocker
2010-08-22 22:30:45 -04:00
Ted Mielczarek ext:(%20and%20Karl%20Tomlinson%20%3Ckarlt%2B%40karlt.net%3E)
da86351679
Add a GDK/X11 screenshot to png utility b=414049 r=dbaron a=npotb
...
--HG--
extra : rebase_source : c73326cce47805fd5ce7cda7b8e51b5dda1e39a7
2010-08-23 12:11:43 +12:00
David Anderson
652df661b5
[JAEGER] Merge backout.
2010-08-13 02:23:22 -07:00
David Anderson
e36d4de961
Backed out changeset c0061c6b65b4 (3% perf regression on v8).
2010-08-13 02:22:39 -07:00
David Anderson
2c5c7bc631
[JAEGER] Merge.
2010-08-13 02:22:03 -07:00
David Anderson
60b819690f
Backed out changeset 8f45cad0a405.
2010-08-13 02:21:46 -07:00
Sean Stangl
4b7c28362b
[JAEGER] Remove unnecessary padding from JSStackFrame, VMFrame. b=586880, r=dvander.
2010-08-13 00:57:14 -07:00
Sean Stangl
88ac406123
[JAEGER] Add standard header boilerplate to assembler/. no_r=me.
2010-08-12 22:17:41 -07:00
Alex Miller
2b52da7be8
[JAEGER] Implement SSE4.2 check. r=sstangl.
2010-08-12 22:05:57 -07:00
Robert Sayre
a00d7f60fe
Backed out changeset 1406935fced4. Brian Hackett – Put JSStackFrame.scopeChain/blockChain behind an interface, bug 586533. r=lw.
2010-08-12 21:47:46 -07:00
Alex Miller
f243e896b6
[JAEGER] Use SSE4.1 when available to load doubles faster. b=582785, r=dvander.
2010-08-12 21:43:39 -07:00
David Anderson
0a32a5b9f7
[JAEGER] Attempt at PPC bustage fix.
2010-08-12 21:42:49 -07:00
Brian Hackett
a416b05f95
Put JSStackFrame.scopeChain/blockChain behind an interface, bug 586533. r=lw
2010-08-13 00:08:37 -04:00
Andrew Drake
b4d2bc35d6
[JAEGER] Add support for throw hook. r=dvander, b=586107
2010-08-12 18:57:06 -07:00
Chris Leary
58398dc6a8
Bug 586827: fix bad regexp arena behavior. (r=apierce)
...
--HG--
extra : rebase_source : 12997990f1015f961539c7b8b8e028a83d1fc5d2
2010-08-12 18:55:26 -07:00
Jason Orendorff
0a72eec1c8
Bug 584648 - Assertion failure: !entry->key.obj && entry->flags == 0. r=brendan.
2010-08-12 21:00:45 -05:00
David Anderson
c7a2157fc9
[JAEGER] Fixed warning in MonoIC.cpp.
2010-08-12 17:58:37 -07:00
Sean Stangl
80f36226d2
[JAEGER] 32-bit MIC shape comparisons. b=586781, r=dvander.
2010-08-12 17:56:25 -07:00
David Anderson
a57d28382a
[JAEGER] Fixed think-o in jsop_name().
2010-08-12 17:06:15 -07:00
David Anderson
6f24fc0c7f
[JAEGER] Fixed more linkExit() fail (bug 586538).
2010-08-12 17:03:11 -07:00
Tom Austin
f52b80ff3b
Bug 580882. Update to allow Narcissus to work within a browser. r=gal.
2010-08-12 17:00:12 -07:00
Sean Stangl
03963cf4ff
[JAEGER] Implement PurgeMICs. b=584182, r=dvander.
2010-08-12 16:58:43 -07:00
Shu-yu Guo
f3322eb6a8
Bug 586817 - eliminate the one use of == that got away. r=pwalton
2010-08-12 16:32:05 -07:00
Brian Hackett
b6fa83e115
Put JSStackFrame.callobj/argsobj behind an interface, bug 586533. r=lw
2010-08-12 18:46:03 -04:00
Brian Hackett
466e80d99b
[JAEGER] Second try at start/end iterator fast paths, bug 578756. r=dmandelin, dvander, gal
2010-08-12 17:26:07 -04:00
Jim Blandy
4e04561ee9
Revert fixes for bug 438633, bug 585803
2010-08-12 14:07:52 -07:00
Jim Blandy
ce4b4e5c9e
Bug 438633: Give new JSScript objects lifetimes like GCThings. r=brendan
...
Attach script objects immediately in all JSAPI script-creating functions;
have JS_NewScriptObject simply return the already-allocated object; and
make JS_DestroyScript a no-op.
Verify that all scripts given to JSAPI script-consuming functions have
objects, or are the canonical empty script object.
2010-08-12 12:38:37 -07:00
Jim Blandy
087a52be00
Bug 585803: Pass TCF_NEED_MUTABLE_SCRIPT when producing scripts returned via JSAPI functions. r=brendan
...
All scripts produced using JSAPI functions should be able to have
JS_NewScriptObject applied to them. However, JS_CompileFile and
JS_CompileFileHandleForPrincipals fail to pass TCF_NEED_MUTABLE_SCRIPT, and
thus will occasionally return JSScript::emptyScript(); applying
JS_NewScriptObject to that causes a crash.
2010-08-12 12:38:37 -07:00
Benedict Hsieh
f0f5cb9f08
bug 520309, startupcache client mozJSComponentLoader, r=dwitte a=bsmedberg
2010-08-12 12:37:52 -07:00
Dan Witte
f2000be3eb
Merge.
2010-08-23 17:30:33 -07:00
Dan Witte
5f4dbe5953
Bug 536324 - e10s HTTP: refactor nsHashPropertyBag. Part 3: contentLength consumers. r=jduell, a=beta5+
2010-08-21 00:31:35 -07:00
David Anderson
6c40dd232c
[JAEGER] Fixed MonoIC regression from bug 586544.
2010-08-12 11:59:06 -07:00
David Anderson
0bbf7a68b3
[JAEGER] Sync both halves of constant undefined payloads (bug 586544).
...
--HG--
extra : rebase_source : f9643a32b74b5b7a91950815ac1a1419015705ca
2010-08-12 11:39:22 -07:00
David Mandelin
0f9af001af
[JAEGER] Merge.
2010-08-12 11:42:35 -07:00
David Mandelin
9376a78c81
[JAEGER] Merge from Tracemonkey. This picks up Yarr.
2010-08-12 11:42:16 -07:00
Jacob Bramley
708bcc9869
Bug 586600: non-default sprop getter fix in stub call. (r=cdleary,sstangl)
2010-08-12 11:26:46 -07:00
Chris Leary
58d6d3b1aa
Missing test for bug 586499. (no_r=me)
2010-08-12 10:26:01 -07:00
Robert Sayre
ff3fd8aeaf
Merge mozilla-central to tracemonkey.
2010-08-12 10:12:04 -07:00
Chris Leary
f8f61e5ea2
Forgotten OP_BRAZERO len addition. Fixes Bug 586499 - TM: Yarr mochitest failure browser_plainTextLinks.js. r=gal
2010-08-12 09:08:48 -07:00
Robert Sayre
01009427f4
Try to fix Maemo 4 again again again.
2010-08-12 07:34:47 -07:00
Robert Sayre
a3c5a52a65
Try to fix Maemo 4 again again again.
2010-08-12 07:22:32 -07:00
Igor Bukanov
5b9726fc8e
bug 477999 - JS_SuspendRequest should suspend requests from all contexts. r=anygregor,gal
...
--HG--
extra : rebase_source : 593bcd06380a6d6ade3da1ffed11eeb18b43cdfd
2010-08-12 15:02:51 +02:00
Jacob Bramley
a268e44d2c
[JAEGER] Fix broken logic from my previous patch (c5754250e813). [Bug 585918] [r=me]
2010-08-12 13:54:26 +01:00
Mike Hommey
7543a4e737
Bug 586625 - Fix ARM verbose assembly output for BLX. r=jbramley
...
--HG--
extra : convert_revision : c85f9265a76b8914139ef34bad7d93e1f7b47786
2010-08-12 14:47:58 +02:00
Paul Biggar
abc945b545
Bug 584355: Don't use parent as a proto for a new function. r=brendan
2010-08-12 13:07:20 +01:00
David Anderson
86b6472243
[JAEGER] Fixed regression in bug 583692 that disabled scope ICs.
2010-08-12 02:42:51 -07:00
Andrew Drake
cbd7bb3275
[JAEGER] Correct parameter register for debugger keyword in compiler. r=dvander
2010-08-12 02:04:37 -07:00
Andrew Drake
16edddbf68
[JAEGER] Add support for debugger keyword. r=dvander, b=586105
2010-08-12 02:01:45 -07:00
Mike Hommey
8d86e167eb
Bug 586224 - Use clz on android even for armv5 target. r=jbramley
...
--HG--
extra : convert_revision : 5a56d9f0b2d6170442b51c111b7050aa8c795bc8
2010-08-12 10:14:50 +02:00
Mike Hommey
c6b2a7baa2
Bug 586303 - Fix lirasm test string creation. r=jbramley
...
--HG--
extra : rebase_source : c79890b778d16ef9b28e9cbfd0139dc03e97a525
extra : convert_revision : f7ae2958e265c6c9e5ee2588ba8c24b5365cc5cf
2010-08-12 10:10:24 +02:00
Andrew Drake
100405bf57
[JAEGER] Fix even more tests regressed by debug mode. r=dvander
2010-08-12 00:53:40 -07:00
Jeff Walden
78b50ef7f3
Bug 516255 - Fix attributes on arguments[i]: index properties on arguments should be enumerable, configurable, and writable. r=dmandelin
2010-08-11 23:27:40 -07:00
Jeff Walden
d5c4a25d9e
Bug 516255 - Tests for arguments object functionality inside and outside of strict mode. r=dmandelin
2010-08-11 23:27:37 -07:00
Jeff Walden
24f0559035
Bug 516255 - Eagerly copy initial parameter values into the arguments object when a function's parameters might be mutated, and rely on normal resolution behavior in the remaining cases when parameters are never modified. r=dmandelin
2010-08-11 23:27:33 -07:00
Jeff Walden
b87fb56e06
Bug 516255 - Start analyzing named-parameter assignments in strict mode functions to determine when to eagerly create an arguments object and when creation can be deferred. r=dmandelin
2010-08-11 23:27:03 -07:00
Jeff Walden
88db90ddd5
Bug 516255 - Use different classes for arguments objects created inside and outside strict mode code, with slightly different ops, in preparation for implementing strict mode arguments objects' less magical functionality. r=dmandelin
2010-08-11 23:26:59 -07:00
Robert Sayre
9c2828628c
Try to fix Maemo 4 again again.
2010-08-11 21:02:09 -07:00
Robert Sayre
0b7340eabd
Try to fix Maemo 4 again
2010-08-11 21:01:30 -07:00
Ehren Metcalfe
0d71672eb0
Bug 578235 - Port jsstack.js to Dehydra with GCC 4.5 r=taras, a=test-only
2010-08-18 18:06:17 -07:00
Ehren Metcalfe
20f9e7eb23
Bug 575720 - static checking suite: use Dehydra multiple-arg support + fix method signature comparison in several scripts r=taras
2010-08-18 18:06:05 -07:00
Kyle Huey
ca4b9a3d8e
Sync config/ and js/src/config/ a=me
2010-08-18 18:40:18 -04:00
Robert Sayre
4acde97712
Try to fix Maemo 4 build.
2010-08-11 17:46:06 -07:00
Luke Wagner
1389741508
Bug 585824 - set vp[1] in TraceRecorder::callNative (r=gal,dvander)
2010-08-11 17:32:11 -07:00
Luke Wagner
0fc967db46
Bug 584453 - fix thinko in jsdScript::GetParameterNames (r=bz)
...
--HG--
extra : rebase_source : a4b2d49c2f84d2faf2fad552eda56aa7ce7f4547
2010-08-11 17:24:39 -07:00
William Maddox
e30e9b3a06
Bug 583413 - Handle platform-dependent field width for %p format in asm_output (r=edwsmith+)
...
--HG--
extra : convert_revision : f71bf755846459dccf10e7c28aaa5cd2b652b077
2010-08-11 16:31:55 -07:00
Chris Leary
76e8033f0e
ARM and PCRE build fixes. (r=red)
2010-08-11 16:00:58 -07:00
Robert Sayre
3479a7bbbf
Fix bustage on Mac PPC.
2010-08-11 15:44:32 -07:00
Chris Leary
8d2b390f05
Forgotten jswin.h file. (r=red)
2010-08-11 14:59:19 -07:00
Chris Leary
e0ace5bc86
Bug 564953: Port YARR! Lands macroassembler. (r=gal)
2010-08-11 13:30:07 -07:00
Brian Hackett
16873a1fb8
Bug 579471 - fast constructors (r=dmandelin,lw)
2010-08-10 16:38:08 -07:00
Alex Miller
88abfff302
Bug 584929: Add v8-v5 to trace-tests and check for correctness. r=sayrer
2010-08-10 20:12:14 -07:00