Boris Zbarsky
5ab8d15933
Marge backout
2008-11-26 17:56:02 -05:00
Boris Zbarsky
55472dc351
Backed out changeset 7bc1ba9f91fe to fix test orange
2008-11-26 17:54:40 -05:00
Ben Hearsum
952efa1bf3
bug 463036: version/config bumps for Firefox 3.1b2. r=anodelman CLOSED TREE
2008-11-25 14:59:40 -05:00
Igor Bukanov
1c6685433f
Backed out changeset 700ae4e59496 - bug 453157 caused talos oranges. CLOSED TREE
2008-11-24 11:36:44 +01:00
Andrei Saprykin
3cfcbdb3c5
bug 453157 - watchdog thread as an alternative to operation counting, r=igor,mrbkap a19b2=beltzner (CLOSED TREE)
2008-11-24 00:15:46 +01:00
Igor Bukanov
957d522969
Backed out changeset 04cecb0ec24c to see if it fixes tinderbox oranges. CLOSED TREE
2008-11-22 16:33:09 +01:00
Andrey Saprykin
b6507b326f
bug 453157 - using watchdog thread as an alternative to the operation count. r=igor,mrbkap a19b2=beltzner (CLOSED TREE)
2008-11-22 01:53:37 +01:00
Igor Bukanov
b7df88f931
Backed out changeset c54f1957d564 - bug 453157 - build system changes caused mouchi test failures. CLOSED TREE
2008-11-22 00:13:42 +01:00
Andrey Saprykin
c87e2d80c8
bug 453157 - using watchdog thread as an alternative to the operation count. r=igor,mrbkap a1.9.0b2=beltzner (CLOSED TREE)
2008-11-21 22:58:16 +01:00
Blake Kaplan
24f49eeef4
Bug 465705 - There must always be at least one source note. r=brendan a=sayrer
...
Pushing on a CLOSED TREE with a=josh
2008-11-21 12:03:58 -08:00
Blake Kaplan
c1a551e9d9
Bug 465901 - DVG confused by |let|. r=brendan a=sayrer
2008-11-21 12:03:28 -08:00
Igor Bukanov
b13ff5429c
Backed out changeset 8329a91db67d - bug 453157, CLOSED TREE
2008-11-21 00:18:43 +01:00
Andrei Saprykin
9fea491071
bug 453157 - watchdog thread as an alternative to operation count. r=igor,mrbkap a1.9.0b2=beltzner
2008-11-20 22:25:34 +01:00
Edwin Smith
b5094e7c4a
Bug 468484 - isQuad(LIR_callh) on 32bit cpu's should be false (r=dvander+), r=danderson.
2008-11-20 15:39:45 -05:00
Ben Turner
f3e5b8842d
Bug 459790 - "Following Error console link causes uncaught exception ( 0x80004002 (NS_NOINTERFACE) [nsISupports.QueryInterface] )". r+sr=jst, a=mconnor.
2008-11-20 10:34:02 -08:00
timeless@mozdev.org
dd62a51a03
Backed out changeset 1d817f9d842f per beltzner
...
the windows leak tests were red and osx talos tests were orange
2008-11-20 16:23:57 +01:00
Andrei Saprykin
aed08c8c99
bug 453157 - watchdog thread as an alternative to operation count. r=igor,mrbkap a1.9.0b2=blocker
2008-11-20 10:43:06 +01:00
David Anderson
7356da10de
Fix CALLPROP not guarding that the callee is not NULL (bug 465580, r=gal).
2008-11-19 20:41:45 -08:00
Edwin Smith
6415706f0d
Bug 468484 - Fixed a couple more small nanojit injections, r=danderson.
2008-11-19 15:16:20 -05:00
David Anderson
a776f7137a
Fixed unsafe coercion of JSVAL_VOID to string on trace entry (bug 465483, r=brendan).
2008-11-18 19:48:02 -06:00
Robert O'Callahan
72029ea360
Backing out bug 463339 due to Mac build failure
2008-11-19 14:52:16 +13:00
Ben Turner
214ca641e9
Bug 462389. Solaris bustage fix. r=neil@httl.net,sr=jst,a=beltzner
2008-11-19 14:16:15 +13:00
Jim Blandy
772d66ffe6
Bug 463339. Have js/src use symlinks when installing in dist. r=bsmedberg,a=sayrer
2008-11-19 14:14:04 +13:00
Vladimir Vukicevic
7a34f9500d
Merge mozilla-central into tracemonkey
2008-11-18 13:54:21 -08:00
Brendan Eich
83c020dce3
Bug 465220 - nested imacro abort not cleanly handled (botches assertions) (r=mrbkap, a=beltzner).
2008-11-17 16:56:01 -08:00
Brendan Eich
37c40ca7c0
Merge.
2008-11-17 16:29:40 -08:00
Simon Bünzli
ce05a1e500
Bug 462774: Drop JSON.jsm. r=gavin, r=sayrer, sr=brendan, a1.9.1b2=beltzner
2008-11-17 13:57:43 +00:00
Igor Bukanov
b31f8300ea
bug 452913 - fixing sprop management, r=brendan, a.9.1b2=sayer
2008-11-17 13:59:39 +01:00
Igor Bukanov
a76c374322
bug 464334 - removal of no longer applicable asserts that sp <= static spdepth. r=brendan a1.9.1b2=beltzner
2008-11-17 13:48:57 +01:00
Andreas Gal
27b72971da
Removed bogus assert when stringifying objects (465209, r=brendan, a=mconnor).
2008-11-17 01:12:18 -08:00
Ginn Chen
5600ce1618
Bug 452390 Tracemonkey will crash if the compiler doesn't have FASTCALL r=danderson
2008-11-17 07:02:06 +08:00
Andreas Gal
f7ca65fe0f
Don't demote multiplication, even if result is demoted and inputs are demotable (465308, r=danderson).
2008-11-17 01:39:49 -08:00
Andreas Gal
36cc27f654
Make sure to flush the JIT cache after a gc even if we didn't import globals (464418, r=brendan, 2nd attempt to push).
2008-11-17 01:20:54 -08:00
Andreas Gal
4287473ba2
Merge.
2008-11-17 00:05:59 -08:00
Andreas Gal
cdbe1015e3
Don't attempt to do CSE across labels (465276, r=danderson).
2008-11-17 00:05:29 -08:00
Brendan Eich
4f1fb4a478
No else after return if you please.
2008-11-16 23:16:30 -08:00
David Anderson
442b376986
Fixed regression from recent constant folding patch (bug 465272, r=gal).
2008-11-16 22:52:15 -08:00
Andreas Gal
c19528a655
Inline int32 to id fast path into the builtins (465268, r=danderson).
2008-11-16 22:20:34 -08:00
Andreas Gal
a9d9eff7ee
Merge.
2008-11-16 22:13:37 -08:00
Andreas Gal
3c5889df4e
Fix tracing of JSOP_IN (465241, r=danderson).
2008-11-16 22:13:13 -08:00
David Anderson
a653ef6015
Fixed branch traces being erroneously marked as dependent trees (bug 464979, r=gal).
2008-11-16 21:58:35 -08:00
David Anderson
637ce7666a
Merge.
2008-11-16 21:37:28 -08:00
David Anderson
d46ed014cf
Fixed edge case in nanojit register allocation for shl/shr (bug 465135, r=gal).
2008-11-16 21:36:33 -08:00
Andreas Gal
bd10f75bdb
Can't bypass ECMADoubleToInt32 in js_StringToInt32 (465239, r=danderson).
2008-11-16 20:43:13 -08:00
Andreas Gal
0218a2502b
Merge.
2008-11-16 20:22:52 -08:00
Andreas Gal
b1e33fe0ff
JIT affects truthiness of "" <= null (465234, r=Waldo).
2008-11-16 20:22:01 -08:00
David Anderson
6f0cd7b8ba
Constant fold additions to avoid erroneous isPromoteInt detection (bug 465249, r=gal).
2008-11-16 20:14:27 -08:00
Jeff Walden
7c2bb3cab6
Bug 465137 - TM: JIT thinks !NaN is false. r=gal
2008-11-16 18:28:51 -08:00
David Anderson
43c8a3cb27
Fixed deep abort logic when onTrace is set without a recorder (bug 465192, r=gal).
2008-11-16 17:55:01 -08:00
Andreas Gal
43dcf98a44
Backed out changeset 2601301b793d
2008-11-16 16:50:19 -08:00
Andreas Gal
cd3869dd9c
Use regexp string as key for the regexp fragment cache (464866, r=brendan).
2008-11-16 15:17:16 -08:00
Andreas Gal
78fbb9e673
Merge.
2008-11-16 13:53:02 -08:00
Andreas Gal
012365500f
Removed bogus assert when stringifying objects (465209, r=brendan).
2008-11-16 13:51:29 -08:00
David Anderson
db46b11fa1
Fixed recorders already deeply aborted being pushed onto the deep abort stack (bug 465145, r=gal).
2008-11-16 02:34:51 -06:00
Brendan Eich
93a63ea9b2
Avoid bogus assertbotch (more work needed to reconstruct imacro stack depth).
2008-11-15 23:56:49 -08:00
Andreas Gal
4da6188c80
Implement ordered comparison for objects (465133, r=brendan).
2008-11-15 23:19:46 -08:00
David Anderson
321ce0dc05
Deep abort recorders outer recorders if we need to flush the JIT cache early (bug 463829, r=brendan,gal).
2008-11-15 18:54:24 -06:00
Jeff Walden
dded0f5f95
Bug 462060 - TM: JIT: Initializing an array to a constant in a loop doesn't work for some constant values. r=brendan
2008-11-15 16:42:35 -08:00
Brendan Eich
d3da4b8e87
Fast followup to pick nit in last commit.
2008-11-15 12:49:00 -08:00
Brendan Eich
eb9a67cd20
Bug 465013 - TM: General Error trying to play video on CNN (r=gal).
2008-11-15 12:41:26 -08:00
Brendan Eich
bab1f697ee
Bug 464978 - TM: hang with "[] + null" (r=danderson).
2008-11-15 10:33:50 -08:00
Graydon Hoare
acc4b45377
Bug 450000 - Support script timeouts in compiled code, r=gal.
2008-11-14 16:56:00 -08:00
Jeff Walden
8e7fb5c94b
Bug 464986 - Crash trying to compile a trace generated from stdin in debug build. r=danderson
2008-11-14 14:36:32 -08:00
Jim Blandy
2798283907
Bug 464127 - Don't use -Os with Intel C/C++ compilers r=ted.mielczarek
...
Intel recommends against the use of -Os, and using it seems to produce
incorrect code in many recent versions of Intel's compilers.
js/src/Makefile.in tries to use -Os only with G++, but it tests
INTEL_CC, not INTEL_CXX --- even though almost all the sources are
C++. Check INTEL_CXX instead.
2008-11-14 14:15:02 -08:00
Jim Blandy
26611f0fb3
Bug 464379: remove committed debugging 'echo'. r=bsmedberg
...
Here's the commit that added this:
1.1764 <benjamin@smedbergs.us> 2007-01-31 08:12
No bug: checking to see which tinderboxes don't have python available.
It seems unlikely that this echo was meant to stay in the configure script.
2008-11-14 14:10:29 -08:00
Brendan Eich
264e667808
Fix bogus assertion left in bug 463334.
2008-11-14 13:17:40 -08:00
Rick Reitmaier
a70c5b7d48
Bug 468484 - LirBuffer has been modified to provide advance warning of out of memory (OOM) conditions, r=danderson.
...
LirBuffer has been modified to provide advance warning of
out of memory (OOM) conditions.
A new page is allocated LIR_BUF_THRESHOLD instructions
prior to reaching the end of page. If the page allocation fails,
call to outOmem() will return true. The buffer can still be
safely written to during during this period but it is assumed
the higher level code will catch this condition and handle
it appropriately as writing LIR_BUF_THRESHOLD instructions
past this point will cause a crash.
This opportunity was also taken to re-factor the code for
LirBufWriter making it more platform agnostic.
- All non-LInsp data in the instruction stream is now managed
through structures that overlay the memory region.
- prepFor() was added to replace the multiple
ensureReferenceable() calls for each instruction.
- insCall() was also modified somewhat in that the
arguments are now stored growing downwards from
the position of the pseudo instruction LirCallIns.
CodegenLIR now has LirBuffer checks at the granularity
of each emitXXX() call that is exposed publicly. This seemed
like a reasonable approach since a client could potentially
call at this level indefinitely. If we want to reduce the frequency
of these checks then we'd have to push the check up into the
verifier.
Assembler OOM handling has also changed. The variable
_startingIns was added and contains the location at which
the assembler began writing code for the current
begin/assem/end sequence. If an OOM condition occurs
the assembler will reset the current instruction pointer
to _startingIns, effectively overwriting the code that has
been generated. This allows the assembler to produce
code indefinitely (and without error) until the upper layers
have noticed the error and respond accordingly.
The constant LARGEST_UNDERRUN_PROT was added
and needs to be set to a platform specific value that is
equal to or greater than the number of NIns written for
the largest possible instruction. i.e. you cannot write
more than this number of NIns to the buffer for each
call to underrunProtect().
2008-11-14 12:46:35 -08:00
Andreas Gal
10733f686b
Merge.
2008-11-14 08:07:19 -08:00
Neil Rashbrook
297e12e670
Bug 463896 Make xterm updates work with PARALLEL_DIRS for those people not on -j19 r=ted
2008-11-14 14:11:18 +00:00
Dave Townsend
0c402e5439
Backed out changeset ec9a1864d1fb from bug 462774, drop JSON.jsm due to OSX
...
burning
2008-11-14 12:36:07 +00:00
Simon Bünzli
aa05a6321f
Bug 462774: drop JSON.jsm. r=gavin, r=sayrer, sr=brendan, a1.9.1b2=beltzner
2008-11-14 12:11:11 +00:00
Andreas Gal
4deed08183
Merge.
2008-11-14 00:14:52 -08:00
Andreas Gal
8d8bb6d3bc
Compile native code for regexp first and don't shrink bytecode (464867, r=dmandelin).
2008-11-13 22:41:33 -08:00
David Mandelin
3891561ee3
Fixing bug 463803. Fixing crash on Windows with native regexp compiler. r=gal
2008-11-13 17:10:18 -08:00
David Mandelin
e82bebbc82
Fixing bug 463789. Native regexp compiler regression sweet crash. r=gal
2008-11-13 17:08:57 -08:00
David Mandelin
309949e188
Bug 463803: win32 crash in w/ regex compiler, r=gal
2008-11-13 16:56:24 -08:00
Andreas Gal
acebe116c1
Don't flush JIT cache from within the recorder (464403, r=brendan).
2008-11-13 15:58:58 -08:00
Andreas Gal
3214b2fe7a
Bug 464413 - "Assertion failed: _stats.freePages == _stats.pages". r=brendan
2008-11-13 10:33:45 -08:00
Edwin Smith
d1925631b4
Bug 468484 - trivial cleanups to simplify armjit merge (r=me), r=danderson.
2008-11-13 12:52:26 -05:00
Brendan Eich
9cbc195e82
Fix from Ginn Chen <ginn.chen@sun.com> for bug 464645.
2008-11-13 09:10:27 -08:00
Peter Van der Beken
c39cb1e482
Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst.
2008-11-13 17:54:52 +01:00
Jim Blandy
d79ee2ff98
Bug 462272: Record dependency on generated header javascript-trace.h, r=mrbkap, NPOB
...
Record object files' dependency on javascript-trace.h, when
HAVE_DTRACE is set.
Use $(CURDIR) where javascript-trace.h appears as a target or
dependency, to ensure that VPATH doesn't cause us to use a copy other
than the one in the object directory.
2008-11-13 14:51:37 +01:00
Brendan Eich
fab08e017c
Fast followup to fix for-each-in (imacros bug, r=me).
2008-11-13 00:43:00 -08:00
Brendan Eich
cb47c4cf08
Bug 456511 - (imacros) TM: Make conversion work on arbitrary JSObjects (r=gal).
2008-11-13 00:30:20 -08:00
David Anderson
30101c6443
Fixed recursion in thin loops accidentally trying to close the parent loop (bug 464089, r=gal).
2008-11-12 19:00:15 -08:00
Jesse Ruderman
e23679569a
Remove '\n' from NanoAssertMsgf calls (made redundant by the patch in bug 452674)
2008-11-12 18:02:34 -08:00
David Mandelin
5d10ab6833
Bug 463789: regression suite stack oflow on windows with regex compiler, r=gal
2008-11-12 17:55:56 -08:00
Andreas Gal
074d900a57
Backed out changeset a40f2117bcc0
2008-11-12 17:39:48 -08:00
Brendan
0ca607d76b
Add imacros to support conversion of arbitrary JSObjects (456511, r=gal).
2008-11-12 16:55:45 -08:00
Igor Bukanov
31d283c656
bug 464442 - various JSOP_APPLY fixes. r=brendan
2008-11-12 22:42:13 +01:00
Andreas Gal
d3c38eade4
Backed out changeset 313d3d61333d
2008-11-12 10:12:22 -08:00
Neil Rashbrook
23ff2e72e7
Followup to bug 462440 to remove redundant line r=ted a=beltzner
2008-11-12 12:16:21 +00:00
Andreas Gal
348e1dc001
Make sure to flush the JIT cache after a gc even if we didn't import globals (464418, r=brendan).
2008-11-11 23:58:36 -08:00
Andreas Gal
00f4a7853a
Merge.
2008-11-11 22:48:26 -08:00
Andreas Gal
a994665c09
Don't allocate a new lirbuf if we already have a fragment for the regexp (464413, r=brendan).
2008-11-11 22:48:00 -08:00
David Mandelin
f7418603b9
Bug 464138: invalid use of regexp addr as unique key, r=gal
2008-11-11 19:20:18 -08:00
Jim Blandy
377dcbc87b
Bug 462004: Use automatic variables in make rules, to allow VPATH to work. r=ted.mielczarek
...
Note that this applies to the js/src/Makefile.ref build system, not
the global Mozilla build system.
We would like to use VPATH to find js.cpp once it moves into a 'shell'
subdirectory. However, the rules changed by this patch use $* (the
pattern stem) to generate their source filenames, not $<, which
expands to the filename found in the VPATH.
2008-11-11 16:54:20 -08:00
Andreas Gal
73f93b8abc
Merge.
2008-11-11 15:16:31 -08:00
Andreas Gal
592b859e7e
Merge with mozilla-central.
2008-11-11 15:16:04 -08:00
Blake Kaplan
093ecbb6c7
Bug 463715 - Be less wasteful when emitting escapes. r=sayrer
2008-11-11 15:09:20 -08:00
Bob Clary
e0a2040e7a
JavaScript Tests - tests for bugs 461233, 458851, 459628, 460024, 460117, 461307, 461723, 462292, 462989, 463259, 460501, 461108, 461111, 461235, 461945, 462071, 462282, 462288, 462407, updated js1_8_1/trace/trace-test.js, updated failures
2008-11-11 13:08:13 -08:00
timeless@mozdev.org
de4863a534
Bug 464214 warnings in jstracer
...
r=gal
2008-11-11 11:21:12 +01:00
timeless@mozdev.org
1efe45f72f
Bug 464212nanojit/Nativei386.cpp(148) : warning C4309: 'initializing' : truncation of constant value
...
r=gal
2008-11-11 11:20:07 +01:00
Andreas Gal
51726b48f9
Backed out changeset cb559a14ad77
2008-11-10 19:14:00 -08:00
Vladimir Vukicevic
7b53df46a7
b=464010, remove bogus #ifdef JS_TRACER in jsregexp.cpp that got rid of regexp.test on non-JS_TRACER builds; r=sayrer
2008-11-10 11:11:06 -08:00
Vladimir Vukicevic
1ad86545f7
[arm] b=462430, implement LIR_ldcs, re-enable regexp jit for ARM
2008-11-09 17:36:30 -08:00
Vladimir Vukicevic
55861cdf74
[arm] Fix up ARM nj backend to take into account exit block merging and other changes. Also simplify some branch code along the way.
2008-11-09 14:22:28 -08:00
Vladimir Vukicevic
1ecb39bb70
[arm] Disable regexp tracer on ARM
2008-11-09 14:22:28 -08:00
Vladimir Vukicevic
26b45638d4
whitespace/tab cleanup in NativeARM.cpp
2008-11-08 22:27:24 -08:00
Jeff Walden
c90c1d272e
Bug 463697 - Need an equivalent to jsopcode.tbl, but for LIR opcodes/instructions, take two. r=gal, r=edwsmith on the first iteration as well
2008-11-08 01:45:50 -08:00
Jeff Walden
932287a573
Bug 463697 - Need an equivalent to jsopcode.tbl, but for LIR opcodes/instructions. r=gal, r=edwsmith
2008-11-08 01:45:50 -08:00
timeless@mozdev.org
04d8f53350
Bug 464099 jit pref isn't honored by regexp code
...
r=dmandelin
2008-11-11 00:16:19 +01:00
Jim Blandy
d50747d1a8
Bug 462451: Restore js/src/Makefile.ref and supporting files. r=brendan
...
This patch simply restores the deleted files unchanged, except for the
following:
o Makefile.ref now generates the js-config.h header file, based on the
values of JS_THREADSAFE and JS_GC_ZEAL it is invoked with.
o The subdirectory containing platform-specific files for Makefile.ref
has been renamed from 'config' to 'ref-config'; the former name
conflicts with the new unified build system. config.mk has been
updated accordingly.
2008-11-10 12:55:46 -08:00
Jim Blandy
07a52be674
Bug 462451: Don't find generated SpiderMonkey headers via VPATH. r=bsmedberg
2008-11-10 12:55:46 -08:00
Jim Blandy
6721e0d7d2
Bug 462451: Don't be confused by .deps dirs in the source tree. r=bsmedberg
...
$(MDDEPDIR) needs to be created in the build tree, but if make rules
list $(MDDEPDIR) as a dependency, then the VPATH search will tend to
find dependency directories in source trees if the source tree has
been configured in the past. So use $(CURDIR)/$(MDDEPDIR) instead.
Some directory Makefiles have been adding $(MDDEPDIR) to MAKE_DIRS and
GARBAGE_DIRS explicitly, since they're not setting any of the
variables that would cause config/rules.mk to create $(MDDEPDIR)
automatically. Those makefiles would have to use the $(CURDIR) trick
to defeat the VPATH search, too. Instead, have rules.mk check an
additional variable NEED_MDDEPDIRS, and let the makefiles set that;
this keeps the magic in one place.
2008-11-10 12:55:46 -08:00
Andreas Gal
fbb6976032
Backed out changeset dbb2a6559cf5
2008-11-10 12:49:56 -08:00
David Mandelin
f17c0039c2
Bug 463545: lazy compilation of regexps to native, r=gal
2008-11-10 12:04:07 -08:00
Vladimir Vukicevic
1667535360
b=464010, remove bogus #ifdef JS_TRACER in jsregexp.cpp that got rid of regexp.test on non-JS_TRACER builds; r=sayrer
2008-11-10 11:20:07 -08:00
Robert Sayre
a1bf2f89c4
Merge mozilla-central to tracemonkey.
2008-11-08 02:21:20 -05:00
Andreas Gal
34deb27634
Merge.
2008-11-07 18:19:52 -08:00
Andreas Gal
55c5823950
Backed out changeset 594ec832d9a8
2008-11-07 18:19:35 -08:00
Andreas Gal
533b7866b1
Add back typedef for JSTraceMonitor (compilation fix for legacy C use of JS engine includes, no bug).
2008-11-07 16:58:36 -08:00
Andreas Gal
54ba19de70
Trace Function.apply and Function.call (462482, r=brendan).
2008-11-07 15:58:52 -08:00
Andreas Gal
43daeaca87
Don't spill type definitions in avmplus.h into the global namespace (462288, r=danderson).
2008-11-07 15:52:51 -08:00
Andreas Gal
41cc8a6bd1
Merge.
2008-11-07 15:24:16 -08:00
Andreas Gal
e609f0bb95
Cleanup GuardRecord, SideExit, and InterpStruct and extract VM-dependant fields (463313, r=danderson).
2008-11-07 15:23:43 -08:00
Robert Sayre
8e4a6beb13
Bug 462778. Fix JSON top crash. r=brendan
2008-11-07 18:10:39 -05:00
David Mandelin
cc483659e4
Fixing build bustage and nits from bug 464138.
2008-11-11 17:23:15 -08:00
David Mandelin
5fc0b531f5
Bug 464138 - Intermittent JS regexp error on tinderbox. r=gal a=dsicore
2008-11-11 17:05:45 -08:00
Brendan Eich
40acf84539
Bug 443071 - Assertion failure with "for (;;[]=[])" (r=mrbkap).
2008-11-07 14:01:11 -08:00
David Anderson
fa14a92fe7
Fixed multitrees assert when building failed speculated branches (bug 463490, r=gal).
2008-11-07 13:22:05 -08:00
Robert Sayre
f976ddfecf
Merge mozilla-central to tracemonkey.
2008-11-06 11:12:04 -05:00
Peter Van der Beken
c39e172979
Backed out changeset 874aba8a9a8a to fix orange
2008-11-06 15:01:22 +01:00
Peter Van der Beken
88df046c41
Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst.
2008-11-06 12:09:30 +01:00
Ben Newman
6b0b398a1c
Bug 462389 - 'XPCVariant used in nsXPCException::SetThrownJSVal can cause cycle collection on non-main threads'. r=bent, sr=jst.
2008-11-05 22:42:51 -08:00
Ben Turner
c031080e02
Bug 460811 - 'Bring workers up to latest spec'.r+sr=jst.
2008-11-05 22:41:52 -08:00
Andreas Gal
96aec85318
If the regexp cache runs full flush it and make sure to keep bytecode version around in case the native code was thrown away (463281).
2008-11-05 22:30:19 -08:00
Leon Sha<leon.sha@sun.com>
314e79c76f
Bug 468484 - Bug 463182 - Can not build tamarin-redux on solaris with Sun compiler. stejohns: review+, r=gal.
2008-11-06 13:37:37 +08:00
Andreas Gal
a19551a824
Fix GC hangs when OOM during recovery pool re-allocation (463190, r=brendan).
2008-11-05 19:09:12 -08:00
Blake Kaplan
d3f8a13075
Bug 370461 - Fix the scope returned from Components.utils.lookupFunction. r=bzbarsky sr=jst
2008-11-06 18:06:32 -08:00
Andreas Gal
56b1b4e24a
Merge.
2008-11-05 14:27:16 -08:00
Andreas Gal
2b6b89a66e
Use GuardRecord/SideExit provided by the tracer in regexp (463281, r=danderson).
2008-11-05 14:26:51 -08:00
Brendan Eich
7f1675516e
Bug 463259 - "Assertion failure: VALUE_IS_FUNCTION(cx, fval)" (r=mrbkap).
2008-11-05 14:25:39 -08:00
Bob Clary
37e2ea771c
bug 399387 - JavaScript Tests - update public failures, universe data
2008-11-05 14:08:19 -08:00
David Mandelin
0dd975151b
Bug 461050: remove extraneous comment, indexed loads are generated automatically
2008-11-05 11:46:49 -08:00
David Mandelin
69cebc3c8d
Bug 461050: regexp compiler, style fixes, r=brendan
2008-11-05 11:38:18 -08:00
David Mandelin
45e1fa1027
Bug 461050: oom handling, somehow omitted from original commit, r=gal
2008-11-04 20:07:37 -08:00
Andreas Gal
bf204b37e3
Merge.
2008-11-04 19:33:29 -08:00
David Anderson
a6c715fb81
Fixed memory leak in nanojit's LabelStateMap (no bug, r=gal).
2008-11-04 19:22:13 -08:00
Andreas Gal
0d6e29aa6c
Scale down regexp native code cache to 1MB and delete cache on shutdown (r=danderson).
2008-11-04 19:11:23 -08:00
Ben Turner
c16fd87aa3
Backed out changeset 4fc7c6f6f45e
2008-11-04 18:58:24 -08:00
Ben Turner
a3da8488d8
Bug 460811 - "Bring workers up to latest spec". r+sr=jst.
2008-11-04 18:01:05 -08:00
David Anderson
5ee0ea8b50
Fix using wrong regalloc helper in asm_ld peephole opt (r=rreitmai).
2008-11-04 16:52:25 -08:00
David Anderson
16b6dd740c
Peephole optimize various LIR load patterns for x86 addressing (bug 444682, r=gal).
2008-11-04 16:34:13 -08:00
Graydon Hoare
6901121f8d
Fix MSVC sensitivity to symbols called 'far'
2008-11-04 16:28:05 -08:00
David Mandelin
f96c978165
Fixing regexp compiler nanojit spew to conform with TM
2008-11-04 16:10:38 -08:00
David Mandelin
c761727be4
Adding JS_TRACER guards to regexp compiler for ppc builds & other non-tracing
2008-11-04 16:03:57 -08:00
David Mandelin
19ac0a15e0
Adding cast to make MSVC happy
2008-11-04 15:49:48 -08:00
Robert O'Callahan
cca234e798
Back out changeset b83d3c8ac166 (bug 460811) to try to fix bustage
2008-11-05 12:47:52 +13:00
Robert O'Callahan
01ff4e2538
Backing out changeset dc1aff36a411 (bug 462389) to try to fix bustage
2008-11-05 12:36:19 +13:00
David Mandelin
dca6d46eec
Fixing Linux breakage, stupid jump crosses initialization errors
2008-11-04 15:21:23 -08:00
David Mandelin
d245bf6acb
Fixing OSX build, seems related to namespace trickery
2008-11-04 15:17:51 -08:00
Andreas Gal
b8168d74d9
Merge.
2008-11-04 15:08:24 -08:00
Andreas Gal
cdec6ab0a7
Interpreter directly emits the this object found in the property cache for JSOP_CALLNAME, so do the same in the tracer (462989, r=mrbkap).
2008-11-04 15:07:38 -08:00
David Mandelin
c92c2000cc
Bug 461050 WIP: compiling simple regexps, r=danderson,agal
2008-11-04 14:51:51 -08:00
Graydon Hoare
9198f045ad
Bug 462228 - Add interface to disconnect and reconnect loops in nanojit, r=gal.
2008-11-04 14:20:19 -08:00
Graydon Hoare
5cfd909934
Bug 462228 - Merge code-patching functions in nanojit, r=rreitmai.
2008-11-04 14:18:17 -08:00
Peter Van der Beken
146cbb323b
Bug 462926 - 'Crash [@ xpc_qsSelfRef::~xpc_qsSelfRef] with getUserData.call'. r+sr=jst.
2008-11-04 13:50:50 -08:00
Ben Newman
7f61ea749a
Bug 462389 - 'XPCVariant used in nsXPCException::SetThrownJSVal can cause cycle collection on non-main threads'. r=bent, sr=jst.
...
--HG--
rename : dom/src/threads/nsAutoJSObjectHolder.h => js/src/xpconnect/public/nsAutoJSValHolder.h
2008-11-04 13:49:05 -08:00
Ben Turner
718025a3f8
Bug 460811 - 'Bring workers up to latest spec'.r+sr=jst
2008-11-04 13:49:04 -08:00
Peter Van der Beken
fbe83f43ff
Backed out changeset 47c0377779bb to fix orange
2008-11-04 20:56:16 +01:00
Peter Van der Beken
f4f6bc2300
Backed out changeset 47c0377779bb to fix orange
2008-11-04 20:55:48 +01:00
Peter Van der Beken
3bb228a9e8
Backed out changeset 81c0a2ec449f to fix orange
2008-11-04 20:54:50 +01:00
Peter Van der Beken
5a6c152342
Backed out changeset 81c0a2ec449f to fix orange
2008-11-04 20:54:08 +01:00
Benjamin Smedberg
6cd85a8589
Bug 462740 - Building spidermonkey on Windows with -j3 fails: conflicts in PDB files. Related to bug 382297 and bug 286179, where we flip-flop back and forth about this. Document the way things should actually be!
2008-11-04 14:38:40 -05:00
Peter Van der Beken
eac8c19c52
Fix for bug 462926 (Crash [@ xpc_qsSelfRef::~xpc_qsSelfRef] with getUserData.call). r/sr=jst
2008-11-04 18:18:12 +01:00
Peter Van der Beken
24a73db424
Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst.
2008-11-04 18:10:43 +01:00
Robert Sayre
03d49a666b
Merge mozilla-central to tracemonkey.
2008-11-04 02:05:05 -05:00
David Anderson
158e7f3bb0
Don't cache pointer to recorder since it might change in js_MonitorRecording (462980, r=gal).
2008-11-03 20:57:50 -08:00
Phil Ringnalda
bbe7e1d08a
Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg
2008-11-03 19:46:28 -08:00
David Anderson
db369008ec
Fixed memory leak in LInsHashSet (bug 462826, r=gal).
2008-11-03 19:43:47 -08:00
David Mandelin
d0a8376658
Bug 462412: API to delete a single fragment, r=danderson
2008-11-03 16:14:44 -08:00
David Anderson
2be8898675
Merge.
2008-11-03 16:11:36 -08:00
David Anderson
65f7adbd31
Fixed OOM handling when starting a recorder or assembler (bug 451322, r=gal+rreitmai).
2008-11-03 16:10:20 -08:00
Blake Kaplan
dab238daea
Bug 462910 - Add a JS_ValueToSource API. r=brendan
2008-11-03 14:28:36 -08:00
Brendan Eich
94ae1a5b36
Bug 462879 - "Assertion failure: UPVAR_FRAME_SKIP(uva->vector[i]) == 1" with nested eval (r=mrbkap).
2008-11-03 13:55:51 -08:00
Benjamin Smedberg
7954d6ff25
Bug 462730 - Parallel builds with -j20 don't build the submakefiles before recursing into them. Switch back to using $* in the rule because we found out the make 3.80 bug: it doesn't set $* in double-colon rules, but it does in single-colon rules. r=ted (copy rules.mk to the JS build system)
2008-11-03 14:30:05 -05:00
Peter Van der Beken
2b8cf3c2d4
Backed out changeset ba895ab8cbe7 to fix orange
2008-11-03 16:28:50 +01:00
Peter Van der Beken
28ba94cca8
Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst.
2008-11-03 14:49:53 +01:00
ause<ause@sun.com>
0fd9e68163
Bug 462516 - add -isysroot to find fat version of system libraries
2008-11-03 13:05:30 +01:00
Peter Van der Beken
e743beb9c4
Fix for bug 457897 (Remove QI on 'this' object when calling from JS to C++). Patch by jorendorff and me, r/sr=jst.
2008-11-03 11:31:47 +01:00
Jim Blandy
e9a790f333
Bug 462356 - Build fails on mac in js/src/configure.in with error: Library requirements (glib-2.0 >= 1.3.7 gobject-2.0) not met; glib part; r=ted.mielczarek
2008-11-02 18:40:57 +01:00
Jim Blandy
75ebba4f18
Bug 462356 - Build fails on mac in js/src/configure.in with error: Library requirements (glib-2.0 >= 1.3.7 gobject-2.0) not met; elf-dynstr-gc part; r=ted.mielczarek
2008-11-02 18:39:54 +01:00
Brendan Eich
9eb3ee8b6a
Bug 456692 - "Assertion failure: slot < fp2->script->nslots" with nested eval (r=mrbkap).
2008-11-02 01:15:06 -07:00
Edwin Smith
774d38113c
Bug 468484 - Fix cascading register spilling bug 462522 (r=rreitmai+), r=danderson.
2008-10-31 15:56:02 -04:00
Jason Orendorff
413e752410
Bug 453564 - TM: Assertion failure: JSVAL_IS_NULL(vp[0]) || (!JSVAL_IS_PRIMITIVE(vp[0]) && OBJ_IS_ARRAY(cx, JSVAL_TO_OBJECT(vp[0]))). r=gal.
...
--HG--
extra : rebase_source : be08d1a4ca8a3765523b992a5d4e469e67ba8811
2008-12-09 11:43:32 -06:00
timeless@mozdev.org
b93635a72f
Bug 454561 TM: Crash when JavaScript-Debugger is enabled [ @ jsd_lock ]
...
js_SynthesizeFrame needs to fill in all fields of JSInlineFrame.
r=brendan
2008-10-29 11:06:01 +01:00
Benjamin Smedberg
2ba4044e4b
Bug 462440 - Creating directories is really racy, and has an rm -rf in the middle of the race, r=ted
...
Adding the other part to js/src/config like we had to do earlier today to fix windows orange.
2008-10-30 21:39:37 -04:00
Bob Clary
82ae2e6dbb
bug 462435 - JavaScript Tests - update tests
2008-10-30 15:17:35 -07:00
Doug Turner
dfcd6ade60
merge to tip
2008-10-30 14:43:10 -07:00
Doug Turner
e5a3cd9352
Bug 462215 - javascript autoconf busted on windows mobile. r=ted
2008-10-30 14:41:21 -07:00
Mark Banner
dca5e94716
TUnit bustage fix from follow up to bug 461395 - fix a bug in make 3.80 by avoiding in pattern rules with explicit targets and keep mozilla/config and mozilla/js/src/config in sync. r=ted over irc
2008-10-30 21:28:21 +00:00
Ted Mielczarek
26dab6f284
bug 461395 - add support for PARALLEL_DIRS to build system, parallelize content. r=bsmedberg
2008-10-30 13:02:14 -04:00
Brendan Eich
b038cc78c9
Bug 456692 - "Assertion failure: slot < fp2->script->nslots" with nested eval (r=mrbkap).
2008-11-02 01:13:45 -07:00
David Mandelin
f8d1b7798b
Preserve param1 over loop iters if it is used, desk r=danderson
2008-10-31 16:48:14 -07:00
Jason Orendorff
2c9b2dd1b4
Fix build breakage --with-static-checking. No bug#.
2008-10-31 11:54:48 -07:00
Andreas Gal
37b4dbe474
Don't manipulate stack during cpuid detection (fix for icc, r=danderson).
2008-10-30 17:56:27 -07:00
Andreas Gal
3a1c5becb7
Merge.
2008-10-30 17:47:55 -07:00
Andreas Gal
2a666c87e8
Emit JSOP_APPLY for .call(...) (462445, r=brendan).
2008-10-30 16:01:53 -07:00
David Anderson
00bfbb7d80
Make sure double slots are marked as undemotable when stabilizing a tree with failed speculation (bug 462407, r=gal).
2008-10-30 15:54:22 -07:00
Andreas Gal
2e3beeb970
Resolve atom/str naming conflicts in the source for narcissus, make narcissus extensions compile again (462436, r=brendan).
2008-10-30 15:38:10 -07:00
Andreas Gal
f5d2244679
Merge.
2008-10-30 14:18:06 -07:00
Andreas Gal
4eafb60801
Add 16-bit non-volatile loads to nanojit (454301, r=danderson).
2008-10-30 14:17:42 -07:00
David Anderson
48b976a104
Don't coerce void to string when compiling inner tree calls (bug 462388, r=gal).
2008-10-30 13:48:22 -07:00
Andreas Gal
047344b36b
Merge.
2008-10-30 12:32:08 -07:00
Andreas Gal
0cc2b0cfdf
Fixed assert (fallout from 462265).
2008-10-30 12:31:39 -07:00
David Anderson
9763f21aae
Added multitrees test to trace-tests.js for bug 456479.
2008-10-30 11:52:48 -07:00
David Anderson
2f8b8195c3
Added multitrees test to trace-tests.js for bug 454315.
2008-10-30 11:42:12 -07:00
David Anderson
1f8d249207
Fixed not tracking linked peers as dependencies (bug 462282, r=gal).
2008-10-30 11:29:25 -07:00
Andreas Gal
948aa93d60
Perform Function.apply in the interpreter loop bypassing js_Invoke (462265, r=brendan).
2008-10-29 23:59:19 -07:00
Andreas Gal
b037831bd9
Merge.
2008-10-29 22:50:43 -07:00
Andreas Gal
fe13c87572
Fix missing JSOP_APPLY case in an assert and a condition (462292, r=brendan).
2008-10-29 22:46:56 -07:00
Boris Zbarsky
d1afdda41f
Bug 462184. Make INCLUDE_VERBOSE_OUTPUT actually work, and rename it to JS_JIT_SPEW. r=brendan
2008-10-29 21:56:35 -07:00
David Anderson
685543cd89
Mark any double slot in an unstable exit as undemotable (bug 462071, r=gal).
2008-10-29 17:57:14 -07:00
Brendan Eich
1f02db1e77
ug 460870 - Round-trip change with RHS of || (r=jorendorff).
2008-10-29 17:37:12 -07:00
David Anderson
7247e3ffe4
Fixed trees stabilizing from the wrong peer fragment (bug 462240, r=gal).
2008-10-29 16:12:16 -07:00
David Anderson
7a4b84aa29
Bump XDR version, followup from changeset bd981b7737da (r=gal).
2008-10-29 15:36:30 -07:00
Andreas Gal
4548b3e585
Remove JSOP_UNUSED78 as 78 is now JSOP_APPLY (follow-up for 462209).
2008-10-29 13:43:53 -07:00
Andreas Gal
a0b3296770
Merge.
2008-10-29 13:31:07 -07:00
Andreas Gal
868e7934a2
Emit JSOP_APPLY for .apply(...) similar to JSOP_EVAL for .eval(...) (462209, r=brendan).
2008-10-29 13:30:41 -07:00
Graydon Hoare
f5f48d7fac
Bug 461801 - Followup correctness fix. r=brendan.
2008-10-29 13:20:34 -07:00
Jason Orendorff
8a27d784a7
Bug 461233 - Incorrect decompilation of ({0: (4, <></>) }). r=brendan.
2008-10-29 11:36:08 -07:00
Graydon Hoare
a9b37c59c0
Bug 461801 - Bind containing function to eval script, so upvars work in decompiler. r=brendan
2008-10-29 11:25:36 -07:00
Brendan Eich
2dfbe828cf
Prune deadwood missed in commit for bug 462103.
2008-10-29 00:19:06 -07:00
Brendan Eich
6ddc16bbe2
Bug 462103 - TM: We don't trace some variants of string + other type (gal+brendan red-headed stepchild).
2008-10-29 00:14:30 -07:00
Andreas Gal
7b8859883f
Merge.
2008-10-28 22:41:05 -07:00
Andreas Gal
4eca106b8a
Handle dslots == NULL case when reading past the actual length of an array (461974, r=danderson).
2008-10-28 22:40:10 -07:00
Jim Blandy
0704b2cc96
(fix tree burn; no bug): The js/src subtree needs its own copy of pgomerge.py.
...
--HG--
rename : build/win32/pgomerge.py => js/src/build/win32/pgomerge.py
2008-10-29 15:26:11 -07:00
Jim Blandy
11426062d7
Fix Win32 burn: js/src/config/autoconf.mk shouldn't override MOZ_MEMORY-related LIB and PATH exported from top-level config/autoconf.mk
2008-10-29 11:30:36 -07:00
Jim Blandy
e8bc490fa7
Bug 97954: Compare SpiderMonkey's copies of build files with originals at check time. r=luser
...
SpiderMonkey now has its own copy of some of the files from ./config
and ./build. Since there is a decent amount of churn in that area, I
don't want it to become a burden to make merges back and forth. This
patch adds a comment explaining the 'identical if present' policy, and
runs a script to verify that it's actually being observed.
2008-10-29 08:40:39 -07:00
Jim Blandy
216f4ef465
Bug 97954: Record configuration details in an installable header. r=bsmedberg
...
Have js/src/configure create a header file, js-config.h, that records
configure-controlled options that affect the SpiderMonkey API, like
'--enable-threadsafe'. js-config.h is namespace-clean, so it can be
installed with jsapi.h.
This means that clients can configure SpiderMonkey however they like,
and then simply #include "jsapi.h" and have everything work; they
don't have to remember to match their own compiler -D flags with those
SpiderMonkey's configure script chose. For example, mozilla-config.h
needn't concern itself with JS_THREADSAFE.
It seems to me this could also be done by having js-config --cflags
print -D options. The approach taken here seems a bit more robust: if
you can find jsapi.h at all, then you know you're getting the right
settings.
2008-10-29 08:29:37 -07:00
Jim Blandy
f83d8c9ea3
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla.
...
Give SpiderMonkey its own configure script and top-level Makefile.
Adjust js/src/Makefile as appropriate for life as a stand-alone
makefile, instead of a 'make export; make libs'-style Mozilla tier
makefile. Have the configure script accept '--with-nspr-cflags' and
'--with-nspr-libs' options for using an in-tree NSPR. Also accept
'--with-system-nspr', '--with-nspr-prefix', and
'--with-nspr-exec-prefix' flags for using an installed NSPR. Default
to --disable-jemalloc, assuming we don't have that part of the tree
available; have the top-level configure script pass --enable-jemalloc
as needed.
Since we no longer have an export phase to copy header files into
dist/include/js before we build the library, we need to be able to
find nanojit.h in the nanojit directory; fix references in
jsbuiltins.h and jstracer.cpp.
Give SpiderMonkey it its own copies of many of the files from ./config
and ./build. These are all exact copies, except as follows:
. js/src/config/Makefile.in: js/src only has a subset of
js/src/config, and thus a subset of the makefile targets.
. js/src/config/autoconf.mk.in: js/src/configure.in has its own make
variables to set, not set by the top-level configure script, so it
needs a custom automake.mk template.
. js/src/config/make-system-wrappers.pl: a copy from nsprpub/config,
so that we can build without having an NSPR source tree handy.
Invoke js/src/configure from ./configure, passing the values computed
for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script.
Treat js/src as a static directory of the js tier, and create a new
config/js (just a Makefile) to be the js tier's non-static directory.
Let js/src/configure generate SpiderMonkey's makefiles, not
./configure.
Generate a 'js-config' script, which clients can call to find the
CFLAGS and LIBS values necessary to compile and link against an
installed SpiderMonkey library. Don't include the js-config script in
Macintosh packages.
Teach client.mk how to rebuild js/src/configure.
Tell Mercurial to ignore files generated by autoconf in js/src.
Further work:
. Right now, callers must define JS_THREADSAFE when #including jsapi.h.
This is fixed in a subsequent patch.
. js/src/configure is a trimmed copy of ./configure. It could be
trimmed more.
--HG--
rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl
rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4
rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess
rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub
rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4
rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh
rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile
rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh
rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4
rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4
rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh
rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper
rename : build/hcc => js/src/build/hcc
rename : build/hcpp => js/src/build/hcpp
rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl
rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl
rename : config/Makefile.in => js/src/config/Makefile.in
rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm
rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in
rename : config/config.mk => js/src/config/config.mk
rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c
rename : config/fastcwd.pl => js/src/config/fastcwd.pl
rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h
rename : config/insure.mk => js/src/config/insure.mk
rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl
rename : config/milestone.pl => js/src/config/milestone.pl
rename : config/milestone.txt => js/src/config/milestone.txt
rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in
rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c
rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h
rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c
rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h
rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h
rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c
rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c
rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man
rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c
rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c
rename : config/nfspwd.pl => js/src/config/nfspwd.pl
rename : config/nsinstall.c => js/src/config/nsinstall.c
rename : config/nsinstall.py => js/src/config/nsinstall.py
rename : config/pathsub.c => js/src/config/pathsub.c
rename : config/pathsub.h => js/src/config/pathsub.h
rename : config/preprocessor.pl => js/src/config/preprocessor.pl
rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl
rename : config/revdepth.pl => js/src/config/revdepth.pl
rename : config/rules.mk => js/src/config/rules.mk
rename : config/system-headers => js/src/config/system-headers
rename : config/version.mk => js/src/config/version.mk
rename : config/version_win.pl => js/src/config/version_win.pl
rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
Jim Blandy
c18332dabc
Bug 97954: Delete SpiderMonkey's custom build system for separate builds. r=bsmedberg
...
SpiderMonkey has, at present, two separate build systems: one used for
in-tree builds, and one used for SpiderMonkey-only builds.
The former is constituted entirely by js/src/Makefile.in. This is a
typical Mozilla makefile, leaning on the top-level config/*.mk files
for most of the details.
The latter is comprised by a shadow build system, all in js/src:
Makefile.ref, config.mk, rules.mk, jsconfig.mk, and config/*.mk.
These are superseded by the separate build system implemented in a
later patch; we delete them all here.
This patch consists entirely of deletions; there are no textual changes.
2008-10-29 08:29:04 -07:00
Andreas Gal
7da6b31283
Handle dslots == NULL case when reading past the actual length of an array (461974, r=danderson).
2008-10-28 22:40:10 -07:00
Brendan Eich
8c2eead6a8
Keep testGlobalProtoAccess last.
2008-10-28 17:34:09 -07:00
David Anderson
55c302718d
Fixed false-positive integer demotions on non-number types (bug 461945, r=gal)
2008-10-28 16:33:01 -07:00
Andreas Gal
25404443ff
GC no longer flushes the JIT cache. Instead just make sure the shape of the global object will mismatch next time we try to record or execute code, which in turn will force a flush of the code cache (458288, r=brendan/danderson).
2008-10-28 16:22:08 -07:00
Brendan Eich
bad1b50498
Re-land patch for bug 458851 now that latent bug it uncovered (not filed; see hg log) is fixed.
2008-10-28 14:04:29 -07:00
David Anderson
06ec3d4965
Merge.
2008-10-28 14:00:27 -07:00
Brendan Eich
e95f449f88
Fix tracing apply with wrong arguments (no bug, r=gal+dvander).
2008-10-28 13:58:20 -07:00
Jason Orendorff
3cb0a50bfa
Fix red on mozilla-central because js.cpp doesn't build on Windows. No bug#.
2008-10-28 13:07:45 -07:00
Jim Blandy
f987b15c51
Bug 433083: Build SpiderMonkey stand-alone shell by default. r=ted.
2008-10-28 12:33:55 -07:00
Edwin Smith
903336fe43
Bug 468484 - Fixed bug causing too much spilling, other arm tweaks, r=danderson.
2008-10-28 15:16:05 -04:00
Jason Orendorff
5258c4d288
Bug 461723 - TM: "Assertion failure: (m != JSVAL_INT) || isInt32(*vp)" with "(0 + void 0) && 0". r=gal.
2008-10-28 11:52:38 -07:00
Jason Orendorff
07dacf6822
Merge backout of d4fe79372140.
2008-10-28 10:49:38 -07:00
Jason Orendorff
37724bb378
Backed out changeset d4fe79372140 (bug 458851) due to persistent orange on TraceMonkey tinderboxes.
2008-10-28 10:49:06 -07:00
Brendan Eich
d0d72f5cbc
Keep this test last, and clean up prototype pollution, plus test for bug 458851.
2008-10-28 00:11:26 -07:00
Brendan Eich
51f987553a
Bug 458851 - TM: for-in loops skip every other value in certain cases (r=gal/mrbkap).
2008-10-27 22:30:52 -07:00
David Anderson
bf1a78f4fe
Implemented multiple type specialized trees per entry point (bug 450833, r=gal)
2008-10-27 20:42:49 -07:00
Blake Kaplan
cd649335ba
Merge mozilla-central -> tracemonkey
2008-10-27 17:19:21 -07:00
Jason Orendorff
154b1955c7
Bug 456384 - TM: v8-richards.js benchmark opens a print dialog in browser with JIT enabled. r=brendan
2008-10-27 16:15:32 -07:00
Jason Orendorff
a6d3afc9a5
Fix build breakage from 70955fd0d1ee on platforms without JS_TRACER. No bug#.
2008-10-25 09:36:58 -05:00
Jason Orendorff
9e09c98842
Bug 461549 - Traceable print and shapeOf functions for js shell. r=mrbkap.
2008-10-25 09:01:51 -05:00
David Anderson
b2a6f01baa
Fixed trace-tests for isPromoteInt patch which reduced tree recompilation counts.
2008-10-25 03:35:07 -05:00
Andreas Gal
ba12fe7023
Merge.
2008-10-25 01:04:47 -07:00
Andreas Gal
df30935a17
guardDenseArray and guardDenseArrayIndex must guard on the actual outcome, since we don't always abort trace if its not a dense array (461611, r=me).
2008-10-25 01:03:38 -07:00
David Anderson
e33e23e267
Fixed false positive demotions due to missing isPromoteInt (bug 461612, r=gal).
2008-10-25 01:50:38 -05:00
Andreas Gal
06b393e8a2
Trace reading from dense arrays out of bounds and trace undefined -> number conversion in binary ops (461611, r=brendan).
2008-10-24 21:51:04 -07:00
Blake Kaplan
a812183893
Bug 455971 - Clear Function and Object (and any other properties) off of the outer object so that Function always refers to the inner window's function. This ensures that the implict Function and explicit window.Function forms refer to the same object. r+sr=brendan
...
--HG--
extra : transplant_source : %83%9C%81E%A3%95%A5%1D%5DzO%13%85%9B%9A0v%21i%E0
2008-10-24 16:53:37 -07:00
David Anderson
6ebb53e98e
Fixed branch demotions using the branch PC rather than the root PC, causing infinite records (bug 455547, r=gal).
2008-10-24 14:01:17 -07:00
Brendan Eich
fcca844194
Bug 461248 - Remove JSOP_RESUME (r=gal/jorendorff).
2008-10-24 12:34:08 -07:00
David Anderson
f8fb76a697
Disabled x64 JIT in shell until the port is cleaned up from nj2.
2008-10-24 11:02:37 -07:00
Jason Orendorff
764431fd80
Bug 461111 - Extra parens in decompilation of "if(a, b)". r=brendan.
2008-10-24 12:52:52 -05:00
Jason Orendorff
90796fca26
Bug 461492 - TM: INT32 can't be used as return type for traceable native that actually returns an int. r=gal.
2008-10-24 12:49:54 -05:00
David Anderson
590d3d2443
Fixed crash from JIT cache flushes when js_Interpret was holding TraceRecorders (bug 458288, r=brendan).
2008-10-24 10:47:59 -07:00
Aristid Breitkreuz
661d3c51b2
Bug 461163 - No public API for OBJ_GET_PROPERTY or the JavaScript [] operator (and similar functions). r=brendan.
2008-10-24 12:09:09 -05:00
Gavin Sharp
055bd5e6e2
Back out patch for bug 450633
2008-10-25 17:10:34 -04:00
Blake Kaplan
0aefd37c4a
Bug 455971 - Clear Function and Object (and any other properties) off of the outer object so that Function always refers to the inner window's function. This ensures that the implict Function and explicit window.Function forms refer to the same object. r+sr=brendan
2008-10-24 16:53:37 -07:00
Andreas Gal
9701440e6d
Merge.
2008-10-23 14:49:25 -07:00
Andreas Gal
c867e60dfc
Merge.
2008-10-23 14:47:00 -07:00
Jason Orendorff
01acd787a0
Eliminate warning about ignored visibility attribute on js_CloseIterator when compiling jsbuiltins.cpp. No bug#. r=brendan.
2008-10-23 16:38:58 -05:00
Jason Orendorff
7336afcbbd
Fix blatant bugs in jsbuiltins.h. No bug#. r=dvander.
2008-10-23 15:39:35 -05:00
Brendan Eich
1772bc4d6f
Bug 461307 - Crash [@ QuoteString] with for(/x/[''] in []) (r=mrbkap).
2008-10-23 11:37:07 -07:00
Andreas Gal
23f283c78e
Merge.
2008-10-22 22:30:37 -07:00
Andreas Gal
19ed8b2e9c
Only track and look up LOOP_EXIT side exits in the tree info (r=danderson).
2008-10-22 22:29:51 -07:00
Rob Arnold
6e2f659fac
Fix memory leak in LInsHashSet::grow - bug 461069 r=danderson
2008-10-22 23:07:37 -04:00
Andreas Gal
57cf783a3b
Make sure we set remaining fslots to void in FastNewDate (459628, r=brendan).
2008-10-22 19:19:07 -07:00
Andreas Gal
e68f86bd08
Merge.
2008-10-22 19:09:03 -07:00
Andreas Gal
5b7d8ddbe0
Backed out changeset 82f5fed6d91a (Linux GCC doesn't seem to like clobbering ebx in inline assembly).
2008-10-22 19:08:28 -07:00
Andreas Gal
ba66d9d48c
Added test-case for 459630 (WFM) to make sure we don't regress it down the road.
2008-10-22 19:06:18 -07:00
Andreas Gal
04b27d4cf3
Avoid pusha/popa inside assembly (icc crashes) when checking for SSE2 using cpuid (461280, r=danderson).
2008-10-22 18:55:54 -07:00
Andreas Gal
ffe407c883
Backed out changeset 91277d409f44 (accidentally also touched Makefile.ref and config/Darwin.mk)
2008-10-22 18:46:41 -07:00
Andreas Gal
3b66906c5d
Enable JIT by default for content (r=danderson).
2008-10-22 18:21:51 -07:00
Andreas Gal
5cc94e1d59
Re-use loop exit side exit if we already have one for that PC location and the same type map (461076, r=danderson).
2008-10-22 16:27:25 -07:00
Andreas Gal
e2a6acb46a
Use LIR_loop for loop edge to avoid going into a side exit handler at every loop edge (461231, r=danderson).
2008-10-22 16:00:08 -07:00
Brendan Eich
e0a0cfe21f
Bug 461235 - "Assertion failure: pos == GET_UINT16(pc)" decompiling function with array comprehension (r=mrbkap).
2008-10-22 15:47:52 -07:00
Jim Blandy
48c4b8be4b
Bug 461192: Rename fd_copysign to js_copysign. r=jorendorff
...
Since we're no longer using fdlibm, it doesn't make sense to use
fd_copysign as the name of SpiderMonkey's appropriately chosen version
of copysign. js_copysign seems more appropriate.
2008-10-22 14:52:14 -07:00
Jim Blandy
aff447bc08
Bug 461192: Drop fd_ prefix from math functions. r=jorendorff
...
The Mozilla tree used to optionally use its own math library, fdlibm.
For each standard math function FOO, fdlibm defined its own version
named fd_FOO. The SpiderMonkey sources called the fd_FOO functions
directly. In configurations where fdlibm was not used, jslibmath.h
#defined fd_FOO to expand to FOO, resulting in references to the
standard math library's functions.
Now that fdlibm is not used, even optionally, those fd_ prefixes are
unnecessary. However, some code is still needed to choose the right
copysign function, so jslibmath.h still has a reason to exist.
2008-10-22 14:52:14 -07:00
Jim Blandy
cf8c925b8f
Bug 461192: Remove references to JS_USE_FDLIBM_MATH from js/src/jsmath.cpp. r=jorendorff
...
The Mozilla tree no longer uses fdlibm, so these adaptor macros are no
longer necessary.
2008-10-22 14:52:14 -07:00
Graydon Hoare
95bed8b2ed
Bug 461205 - make callee-save LIR_param use optional. r=gal,edwsmith
2008-10-22 14:32:37 -07:00
Blake Kaplan
2d412e5217
Bug 453310 - Reparameterize GetNewOrUsed and move some work around. r+sr=brendan
2008-10-22 13:19:08 -07:00
Blake Kaplan
5adf556d30
Bug 396851 - Check to see if we're UniversalXPConnect-enabled to allow privileged web pages to unwrap XOWs. r+sr=bzbarsky
2008-10-22 13:15:22 -07:00
Brendan Eich
5c85747b5c
Bug 441479 - for-in loops should use one backward branch (with downward goto on entry; r=mrbkap).
2008-10-22 12:47:51 -07:00
Jason Orendorff
88e0a669e0
Bug 461110 - Extra parens in decompilation of "a += b = 3". r=brendan.
2008-10-22 14:26:49 -05:00
Edwin Smith
795ab907f0
Bug 468484 - fix boundary bug injected by CallInfo change, r=gal.
2008-10-22 15:18:41 -04:00
Jason Orendorff
da34f1f2e5
Bug 461108 - Decompiler emits extra parens around assignment in "for(;;)" condition. r=brendan.
2008-10-22 14:06:16 -05:00
Vladimir Vukicevic
0a60bbe04b
[arm] fix build after SideExit sharing patch
2008-10-22 11:11:51 -07:00
Vladimir Vukicevic
efb82ea705
[arm] correctly have chk version of LD underrunProtect
2008-10-22 11:02:24 -07:00
Vladimir Vukicevic
d2f0736eb6
[arm] misc codegen fix
2008-10-22 11:02:24 -07:00
Vladimir Vukicevic
57b6c8d721
[arm] Use real B/BX instead of BL for side exit jumps; no need to update lr
2008-10-22 11:02:24 -07:00
Vladimir Vukicevic
9ae67df93c
[arm] Get rid of CALL, just use BL directly
2008-10-22 11:02:24 -07:00
Vladimir Vukicevic
844190ed5d
[arm] Get correct value in return reg after fragment exit
2008-10-22 11:02:24 -07:00
Vladimir Vukicevic
eb73398c11
[arm] Enable VFP
2008-10-22 11:02:24 -07:00
Peter Van der Beken
0261cd68b1
Fix for bug 459828 (Remove nsIDOMCustomEvent.idl). r=smaug, sr=sicking.
2008-10-22 15:35:34 +02:00
Peter Van der Beken
601505a0e8
Fix for bug 459830 (Remove unused quickstubs). r=jorendorff.
2008-10-22 15:08:56 +02:00
Peter Van der Beken
ddd2023646
Fix for bug 460940 (Dependency problem when removing an interface from dom_quickstubs.qsconf). r=ted.
2008-10-22 15:07:20 +02:00
Bob Clary
96e591f9ba
bug 461044 - Sisyphus - add fennec support
2008-10-22 04:50:22 -07:00
Steven Johnson
4dfea32fd4
Bug 468484 - redid nMarkExecute() to fix the bug. Now it always does exactly one page, r=gal.
2008-10-21 18:34:10 -07:00
Graydon Hoare
a6428d33c2
Bug 468484 - Re-insert asm-counting code lost in previous redux-tracemonkey merge, r=gal.
2008-12-09 11:53:26 -08:00
Jason Orendorff
3ee94374a6
Fix bug in previous patch.
2008-12-09 12:15:30 -06:00
Jason Orendorff
b7fb9bc849
Bug 460865 - Read barrier for cx->fp. r=mrbkap, r=dmandelin.
...
--HG--
extra : rebase_source : 19963188b2f9f96336ce6ca28dbaefccf3a639b7
2008-12-09 10:38:32 -06:00
Jeff Walden
e48c310d01
Dangit, why do the tests run correctly locally in small batches? Backing out bug 465255...
2008-12-08 22:19:54 -08:00
Jeff Walden
f143157358
Bug 465255 - Rewrite TraceRecorder::cmp, take two. r=gal
2008-12-08 21:11:56 -08:00
Andreas Gal
74418814c5
Merge.
2008-10-21 17:52:37 -07:00
Andreas Gal
b14d526b66
Merge.
2008-10-21 17:50:52 -07:00
Andreas Gal
ec7efc925c
Remove code to unlink trees to reduce the size of GuardRecord. Allow GuardRecords to share one common SideExit structure. The VM places both explicitly into the LIR (460538, r=danderson).
2008-10-21 17:50:32 -07:00
Jason Orendorff
68a5dcca96
Bug 460157 - Yet more macros for defining builtins. r=brendan
2008-10-21 17:58:06 -05:00
Blake Kaplan
e36fb599bc
Bug 460886 - Substring needs to validate its arguments. r=brendan
...
--HG--
extra : rebase_source : 24d0131da47e8fb30cb420330bdb92189436aea7
2008-10-21 15:21:23 -07:00
Edwin Smith
4ab0561335
Bug 468484 - make asm_output[123] varadic, and add some LIR instruction comments, r=gal.
2008-10-21 14:53:14 -04:00
Jason Orendorff
e1877796ba
Bug 460501 - Round-trip change due to "&&" constant-folding leaving extra parens. r=brendan.
2008-10-21 13:35:22 -05:00
Jason Orendorff
121e528b9f
Bug 460117 - TM: Inconsistent results from hasOwnProperty with JIT enabled. r=brendan.
2008-10-21 13:19:22 -05:00
Peter Van der Beken
993024875b
Backed out changeset 4bc3dc1f6e11
2008-10-21 11:43:01 +02:00
Peter Van der Beken
3ba81f6270
Fix for bug 459828 (Remove nsIDOMCustomEvent.idl). r=smaug, sr=sicking.
2008-10-21 11:10:47 +02:00
Vladimir Vukicevic
89d7a76a6b
[arm] Use correct register for return value; also don't bother saving full set of callee-saved registers using PUSH, they'll be saved individually
2008-10-20 17:20:05 -07:00
Steven Johnson
fbc6fd0ad9
Bug 468484 - internal tamarin-redux merge (mostly formatting), r=gal.
2008-10-20 15:52:11 -07:00
Steven Johnson
13f8b6629c
Bug 468484 - Macro-ize calls to new/delete to account for MMgc interactions, r=gal.
2008-10-20 15:51:13 -07:00
Graydon Hoare
0fc5a42ca4
Bug 468484 - Change Fragmento's fragment map from a pointer to a member, r=gal.
2008-12-08 15:23:41 -08:00
Jason Orendorff
0dd84fd05d
Bug 463746 - js/tests/jsDriver.pl: eliminate CPAN dependency. r=bclary.
...
--HG--
extra : rebase_source : bc1c1b24aad5cc2164b6da13c719e06a1c1e612f
2008-12-05 17:40:28 -06:00
Andreas Gal
e346e5cf60
Eliminate mergeCount from fragments since its unused (468391, r=danderson).
2008-12-07 19:13:50 -08:00
Robert Sayre
685eced553
Merge m-c to tracemonkey.
2008-12-06 00:54:08 -08:00
Jeff Walden
77eeb36575
Back out bug 465255, seems I was wrong about the compile error and warning being the only bugs.
2008-12-05 19:51:35 -08:00
Andreas Gal
173caec5ba
Merge.
2008-12-05 18:16:04 -08:00
Andreas Gal
d7a200c5a8
Inherit context options from parent context when using evalcx in the shell (r=brendan, no bug).
2008-12-05 18:15:04 -08:00
Jeff Walden
f9e63195f3
Followup fix for a typing bug (why wasn't I seeing errors with g++?) and a goto-past-initialization (which I also think should have been caught by g++). r=bustage
2008-12-05 18:14:50 -08:00
Jeff Walden
6cb6d5d43b
Bug 465255 - Rewrite TraceRecorder::cmp. r=gal
2008-12-05 16:17:59 -08:00
Andreas Gal
362036b89e
Don't try to setup arguments when tracing Function.call() if we don't have at least 2 arguments (468174, r=brendan).
2008-12-05 16:05:21 -08:00
Andreas Gal
3653f3cb56
Merge.
2008-12-04 18:14:17 -08:00
Andreas Gal
e367780a2f
Trace apply and call (462482, r=brendan).
2008-12-04 18:07:18 -08:00
David Anderson
9ba9c170dc
Fixed assembler errors not blacklisting the loop header, resulting in senseless re-recordings (bug 467854, r=gal).
2008-12-04 16:24:55 -08:00
David Anderson
beea650730
Fixed crashing when deep aborting before a loop header (bug 467857, r=gal).
2008-12-04 16:21:30 -08:00