Commit Graph

6948 Commits

Author SHA1 Message Date
Benjamin Smedberg
47962706bf Bug 523097 - Turn off MOZ_IPC for platforms where we currently don't build, and fix up ifdefs so that everything builds
--HG--
extra : rebase_source : 9da68ad54e7c378a4c9bbaac7b2166630827ec60
2009-10-19 09:55:03 -04:00
Benjamin Smedberg
fa058fc1f1 Merge mozilla-central to electrolysis to pick up bug 515436. 2009-10-12 10:51:38 -04:00
Dave Yeo
e1f3c5d519 [OS/2] Bug 520418 - build break due to empty short DLL names, r=pweilbacher 2009-10-12 10:33:20 +02:00
Jacek Caban
123f1ba892 Fixed compilation on mingw where PRUnichar != jschar. b=518721, r=dwitte 2009-10-11 16:22:42 -07:00
Robert Sayre
8e2e9f852b Merge tracemonkey to mozilla-central. 2009-10-10 20:42:24 -05:00
Phil Ringnalda
90f4db5b2e Bug 520339 - Remove leftovers from MOZ_COMPONENTLIB, r=bsmedberg 2009-10-10 18:07:43 -07:00
Graydon Hoare
12e43d492a Bug 521340 - TM merge: more build infrastructure (tracemonkey side), r=nnethercote. 2009-10-09 12:58:39 -07:00
David Anderson
39458dcaa0 Removed arena reservations from ExecuteTree (bug 521309, r=gal). 2009-10-08 19:58:41 -07:00
Luke Wagner
2c0ed14a2a Followup to bug 520590 - forgot some bits (r=dvander)
--HG--
extra : rebase_source : edd2fd48b652ac9e17c40bab8203b3c5edc1bd43
2009-10-08 14:45:04 -07:00
Jim Blandy
d87d9403e2 Bug 517990: Remove unused 'TS' parameter from NewNameNode and NewBindingNode. r=mrbkap 2009-10-08 10:29:03 -07:00
Jim Blandy
416f219573 Bug 515233: Move the TSF_DESTRUCTURING flag to the tree context. r=igor
The flag TSF_DESTRUCTURING is used by the parser to modify the way
variables in the destructuring pattern get represented in the parse
tree.  It is never set or used by the tokenizer.  This patch moves it
to JSTreeContext::flags, where it belongs, now that that field is wide
enough to hold it.

It also renames the flag TCF_DECL_DESTRUCTURING, since the flag is
only used for destructuring patterns that occur in declarations; it is
not set when processing assignment-like destructuring patterns.
2009-10-08 10:29:03 -07:00
Jim Blandy
f06be32d20 Bug 515233: Widen JSTreeContext::flags to 32 bits. r=igor
All the bits in this uint16 field are currently in use.  Adding bits
for projects like strict mode entails relocating existing flags, which
is additional work.  Furthermore, it seems that this has already
inspired people to put flags in places they don't belong:
TSF_DESTRUCTURING is a JSTokenStream flag, but is only used by the
parser.

This patch widens the field to 32 bits, and adjusts JSFunctionBox and
a few other places to match.

We should really replace these all with bitfields.
2009-10-08 10:29:03 -07:00
Jim Blandy
f4a407f114 Bug 515233: Make the static level its own parameter to JSCompiler::compileScript. r=igor
Pre-patch, the initial static level at which a script should be
compiled to run is passed in the upper sixteen bits of the tcflags
parameter to JSCompiler::compileScript; because JSTreeContext::tcflags
is a uint16, while the tcflags parameter is a uint32, we know the
parameter's upper bits are free.

However, we would like to enlarge JSTreeContext::tcflags to 32 bits,
as we already have a handful of new flags that belong there.  This
patch moves the static level to its own parameter, which has a default
argument.
2009-10-08 10:29:03 -07:00
Jim Blandy
0d6cdd1921 Bug 514585: Use bitfields in JSScript instead of a flag word. r=brendan
This is behavior-neutral cleanup in preparation for the real patch.
2009-10-08 10:29:03 -07:00
Jim Blandy
b101872320 Bug 514567: Fix error processing in PrimaryExpr. r=brendan
This code seems to assume that one can proceed if pn3 is NULL, but we
never check it again further down.  Instead, we create TOK_COLON nodes
whose left (and perhaps right) children are NULL.  It seems to me that
the TOK_RC case in js_EmitTree will choke on this.
2009-10-08 10:29:02 -07:00
Luke Wagner
5e977664ab Bug 520590 - RecordLoopEdge mis-aborts on inner tree 2009-10-06 14:48:09 -07:00
Igor Bukanov
fe9d4ed1fa bug 454435 - optimizing allocation of doubles. r=brendan 2009-10-08 20:08:00 +04:00
Andreas Gal
a024eeb2fd Disable speculative integer multiplication on ARM due to a bug in the nanojit backend (521152, r=dvander). 2009-10-07 19:08:55 -07:00
Boris Zbarsky
fb2c05cd4b Bug 519492. Use more bits for offsets, fewer for length, for dependent strings. r=brendan 2009-10-07 20:53:39 -04:00
David Anderson
95da51cb0f Fixed recursion limit being completely ignored when traced (bug 520498, r=brendan). 2009-10-07 17:22:34 -07:00
Nicholas Nethercote
4e59b11ccf Add missing file to lirasm/Makefile.in so lirasm builds again. No bug filed, r=graydon via IRC. 2009-10-08 08:51:15 +11:00
David Anderson
89691abd1c Fixed recursion-related assert being too flaky (bug 520591, r=gal). 2009-10-07 14:40:04 -07:00
Luke Wagner
b290332e93 Bug 521081 - nested tree call guard checks the wrong state (r=gal) 2009-10-07 14:20:06 -07:00
Andreas Gal
b4c8bbda6f Avoid redundant stack pointer fiddling when calling functions (514827, r=rreitmai,dvander). 2009-10-07 14:25:29 -07:00
Luke Wagner
84444354a0 followup to bug 515440 - remove bogus assertion (r=gal) 2009-10-07 14:19:18 -07:00
David Anderson
7949d31eed Backed out changeset f0d8feea4d9e. 2009-10-06 20:16:33 -07:00
David Anderson
31fdfa17e9 Temporarily disable recursion to track down tgfx regression (bug 520321, r=sayrer). 2009-10-06 18:49:35 -07:00
Andreas Gal
885547e4ed Possible overflow in ResizeSlots on 64-bit systems (517644, r=jorendorff). 2009-10-06 15:24:12 -07:00
Andreas Gal
faf54b3456 Mark reserved doubles during GC as long we are not shutting down (515440, r=jorendorff). 2009-10-06 15:08:07 -07:00
David Anderson
f1b1816993 Fixed LIR typing bugs in recursion frame-slurping code (bug 520536, r=gal). 2009-10-06 14:15:14 -07:00
David Anderson
0de3ee3e05 Bump XDR from recursion emitter changes (bug 520753, r=brendan). 2009-10-06 13:56:04 -07:00
Andreas Gal
cddb5d128c Spilled quads are passed incorrectly when calling a function [ARM, nanojit] (518227, r=graydon). 2009-10-06 11:43:29 -07:00
Brendan Eich
e8511cb5ea #ifdef DEBUG to avoid warning (520513 followup). 2009-10-05 23:58:48 -07:00
Brendan Eich
52ecdb575b Deoptimize upvar-for-eval if in for-in loop LHS position (520513, r=mrbkap). 2009-10-05 23:50:42 -07:00
Brendan Eich
c86362719a Fix too-stupid-to-live bug (517076, r=me). 2009-10-05 22:30:45 -07:00
David Mandelin
6a393c2883 Merge backout of bug 495331 patch 2009-10-05 18:32:06 -07:00
David Mandelin
42af5f9b94 Backed out changeset 9cc88d291fc0 2009-10-05 18:31:10 -07:00
David Anderson
0e9336a748 Fixed on-trace stack slurping accidentally unboxing booleans wrong (bug 516832, r=gal). 2009-10-05 18:21:52 -07:00
Brendan Eich
d5f11b6d2f Use 'Is' in noun-phrase-named predicate (518103 followup, r=jorendorff/Waldo). 2009-10-05 16:58:54 -07:00
Brendan Eich
8dbcb884d9 Fix constructor method (foo.bar/foo[baz] initialized from a lambda) invocation to go through the method read barrier (518103, r=jorendorff). 2009-10-05 16:55:21 -07:00
Ben Turner
62534891fc Merge mozilla-central 2009-10-05 16:08:52 -07:00
David Anderson
8481e1f4db Removed assertion that had too many false positives (bug 519534, r=gal). 2009-10-05 13:41:02 -07:00
Olli Pettay
bc14675f76 Bug 519932 - Quickstub commonly used DOMEvent methods and properties, r=peterv
--HG--
extra : rebase_source : 6fba39740c9c7a391499f90030fe865000e8efe4
2009-10-05 22:32:19 +03:00
Marco Bonardo
87d521d9ce test for lazy getters scope, bug 508850, r=sdwilsh 2009-10-05 12:12:28 +02:00
David Mandelin
fae21d7c3e Bug 519363: more new diagnostic null pointers. r=gal 2009-10-08 19:00:21 -07:00
Peter Van der Beken
a966d60c00 Backed out changeset 542fa9413bd0, fix for bug 517196 (The JSClass of wrappers shouldn't change when morphing from slim to XPCWrappedNative), to try to fix orange. 2009-10-08 13:42:07 -07:00
Peter Van der Beken
886612c189 Backed out changeset 542fa9413bd0, fix for bug 517196 (The JSClass of wrappers shouldn't change when morphing from slim to XPCWrappedNative), to try to fix orange. 2009-10-08 13:41:44 -07:00
Ted Mielczarek
03b86b92b4 bug 520359 - pymake fails to build Firefox r=bsmedberg
--HG--
extra : rebase_source : d8c6f4927a1d41ccb4d46c33c4c98812bdbb098d
2009-10-08 14:10:50 -04:00
Benjamin Smedberg
53d8912065 Copy changes from revision d26387e649bd to js/src. 2009-10-04 19:21:24 -04:00
Makoto Kato
dcb67bd558 js-ctypes cannot build on Windows x64. b=518741, r=dwitte 2009-10-02 23:14:19 -07:00