Igor Bukanov
af1a5810f7
bug 505315 - constructing GC free lists during finalization. r=brendan
2009-10-16 10:10:54 +04:00
Graydon Hoare
a32e357aaa
Bug 522587 - clean up variadic macro avoidance code, r=gal.
2009-10-15 16:04:55 -07:00
Graydon Hoare
426e720124
Bug 522413 - remove uses of static avmcore::config, r=gal.
2009-10-15 16:02:59 -07:00
David Anderson
9936709fd7
Fixed another bogus assertion (bug 522569, r=brendan).
2009-10-15 15:57:15 -07:00
David Anderson
2cb9ec03b0
Removed bogus, noisy assertion related to JSOP_CALL and TRACE pairing (bug 522520, r=brendan).
2009-10-15 14:33:58 -07:00
Igor Bukanov
9212853abd
Backed out changeset 487b81c753c0 - landing of bug 505315 caused talos crashes across platforms.
2009-10-15 13:53:40 +04:00
Igor Bukanov
0d37930589
bug 505315 - constructing GC free lists during finalization. r=brendan
2009-10-15 11:41:08 +04:00
Andreas Gal
f11dbe6531
Mostly cosmetic arm merges, merge ARM fcmp(e)d changes (522403, r=graydon).
2009-10-14 17:53:31 -07:00
Andreas Gal
85a5e42a63
Follow-up for 522341, hide TM-specific configuration in NativeARM.h
2009-10-14 17:08:23 -07:00
Andreas Gal
a52d2bf397
Pickup indirect call and microsoft emulator bugfix from redux (522377, r=graydon).
2009-10-14 16:30:48 -07:00
Andreas Gal
342c060e74
Leave choice of runtime or compile-time customization of ARM arch to embedding (522341, r=rreitmai).
2009-10-14 15:45:45 -07:00
Graydon Hoare
bb3cb0015c
Bug 522363 - remove debug-break, unused parameters on displacement check, r=dvander.
...
--HG--
extra : rebase_source : 13ef7b6d16e5b66bb70816cfdd417ab4f9bcd758
2009-10-14 15:30:00 -07:00
David Anderson
1664bfe0fe
Removed bogus assert related to recursion (bug 522311, r=gal).
2009-10-14 15:19:23 -07:00
Graydon Hoare
d88df29f9d
Bug 522316 - more miscellaneous drift from tamarin, r=dvander.
...
--HG--
extra : rebase_source : 7b92362823d4ef60ebced322c1588b6cd9f445e4
2009-10-14 13:48:00 -07:00
Andreas Gal
3d8162cf14
Fall off trace if Number.toString() reports an error (522330, r=brendan).
2009-10-14 13:41:40 -07:00
Andreas Gal
1ffbadef09
Avoid malloc and JS_dtobasestr for single digit numbers base != 10 (522195, r=brendan).
2009-10-14 13:25:20 -07:00
David Anderson
dbf3e1f3ca
When traversing fragments, don't forget to count peers (bug 521169, r=gal).
2009-10-14 03:00:34 -04:00
Graydon Hoare
40c01b04b7
Bug 522153 - lirasm --random should use rand() not random(), r=nnethercote.
2009-10-13 18:29:55 -07:00
Graydon Hoare
e50571288c
Bug 521506 - fix lirasm puts tests, r=gal.
...
--HG--
extra : rebase_source : 094bdb4389d33c0908f28b0da0ccccafca3621df
2009-10-13 18:24:57 -07:00
David Anderson
924ded9082
Cap JIT frames to the interpreter inline call count (bug 522136, r=brendan).
2009-10-13 17:22:11 -07:00
David Anderson
f7c7c124a8
Eagerly release frame marks during recursion (bug 521476, r=brendan).
2009-10-13 15:14:46 -07:00
Robert Sayre
f7049fba87
Merge mozilla-central to tracemonkey.
2009-10-13 03:57:21 -04:00
Andreas Gal
9d03f17cd2
Avoid JSArena as temp buffer in TraceRecorder::snapshot (variation of patch in bug 521880, r=me).
2009-10-12 22:41:08 -07:00
Andreas Gal
1eadb6d958
Backed out changeset 1a747dd43904 (bug 521880).
2009-10-12 18:00:48 -07:00
Andreas Gal
8f9daae9e4
Avoid JSArena as temp buffer in TraceRecorder::snapshot (521880, r=luke).
2009-10-12 14:40:06 -07: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
Brendan Eich
c7006c3661
Fix assertion to allow for generator entry point (521694, r=dvander).
2009-10-11 22:12:51 -07:00
Jacek Caban
123f1ba892
Fixed compilation on mingw where PRUnichar != jschar. b=518721, r=dwitte
2009-10-11 16:22:42 -07:00
Nicholas Nethercote
48efd3883f
Bug 519873 - NJ merge: lirasm --random mode. r=graydon.
2009-10-12 08:48:13 +11: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