Commit Graph

7208 Commits

Author SHA1 Message Date
Graydon Hoare
5c2cdd754c Bug 524158 -re-enable immediate-load optimization on ARM, r=gal.
--HG--
extra : rebase_source : 0faa0de34ff7732b1e0f96ed4b691a55242d6acb
2009-10-23 11:10:07 -07:00
Graydon Hoare
951aacba56 Bug 523952 - typos and cleanup from tamarin, r=gal.
--HG--
extra : rebase_source : da1dcdcc6c1f21f73b2223dcdb611c17a9018190
2009-10-22 14:29:37 -07:00
David Anderson
7d3329fbfb Fixed slurp-fail anchors trying to import and read from the tracker (bug 524061, r=gal). 2009-10-23 11:16:05 -07:00
David Anderson
8540cd6e92 Added debug-break to JS_Assert for gcc x64 (bug 524143, r=gal). 2009-10-23 10:28:06 -07:00
David Anderson
f0bc130dc8 Fix GCC uninit-var warning (no bug, r=brendan). 2009-10-23 09:28:04 -07:00
Igor Bukanov
a5c9e85705 bug 523688 - avoiding spurious OOM messages when on trace. r=brendan 2009-10-23 11:03:17 +04:00
David Anderson
8231c0b9ee Clear argsobj private on trace (bug 522024, r=dmandelin). 2009-10-22 17:56:46 -07:00
Luke Wagner
f723becfb6 Remove execute permissions on source files 2009-10-22 10:41:19 -07:00
Brendan Eich
797e4c7194 Fix old ES3 lexing bug where 3in scanned as 3 and in (523401, r=jorendorff). 2009-10-22 10:07:56 -07:00
David Anderson
d35b22af3f Merge. 2009-10-21 20:01:40 -07:00
David Anderson
d2f328b55e Fixed large displacements messing up the tracker on ARM (bug 521190, r=gal). 2009-10-21 20:01:16 -07:00
Graydon Hoare
24d43ed812 Bug 523505 - Followup build fixes, r=gal on IRC. 2009-10-21 19:58:21 -07:00
Graydon Hoare
344543af05 Bug 523766 - move jump tables to allocator, r=gal. 2009-10-21 19:50:35 -07:00
Graydon Hoare
399e52afa4 Bug 523505 - move icache flushing logic around, r=gal. 2009-10-21 16:26:52 -07:00
Daniel Holbert
09b7f28999 Bug 523166: Switch to use c-style comments in jsutil.h to fix build warning. r=igor 2009-10-21 15:46:33 -07:00
David Anderson
5a9f22f10c Fixed return value propagation and demotion bugs in recursion (bug 521447, r=gal). 2009-10-21 15:14:01 -07:00
Jeff Walden
58c4037788 Bug 523686 - Kill fun_enumerate, since it's no longer necessary now that bug 514603 is fixt. r=jorendorff 2009-10-21 15:00:51 -07:00
Jim Blandy
0c5e3d3554 Bug 522123: Don't reify lazy scope chain blocks twice in 'eval'. r=mrbkap 2009-10-21 14:34:55 -07:00
Jim Blandy
085d36271a Bug 522123: Test case for indirect eval scope chain bug. r=mrbkap 2009-10-21 14:34:55 -07:00
Igor Bukanov
9c47282440 bug 523370 - fixing bogus OOM with empty double free lists. r=dmandelin 2009-10-22 01:03:56 +04:00
David Anderson
cf1ff8bbde Merge. 2009-10-21 13:58:45 -07:00
David Anderson
20d18679cc Backed out changeset 31a4c08387f1 (orange). 2009-10-21 13:54:15 -07:00
Jason Orendorff
326aa1d148 Bug 522590 - FF 3.7 crash on startup with chromebug. r=brendan. 2009-10-21 15:27:35 -05:00
Blake Kaplan
229925b044 Bug 520511 - Add some tvrs. r=brendan 2009-10-21 11:46:07 -07:00
Brendan Eich
891d4e8447 Restore script local before goto error, duh (523280, r=igor). 2009-10-21 11:34:58 -07:00
Brendan Eich
3df941c39b Don't use the emptyScript singleton for a function that had upvars whose uses were optimized away (523284, r=igor). 2009-10-21 11:33:21 -07:00
Bob Clary
f2463b486e bug 520240 - enable js1_5/extensions/regress-420869-01.js, js1_5/extensions/regress-424683-01.js 2009-10-21 06:06:00 -07:00
Bob Clary
6c85d0482a bug 521549 - disable js1_5/Regress/regress-351116.js for debug 32bit linux browser, r=sayrer 2009-10-21 06:06:00 -07:00
Bob Clary
01e1cd9921 bug 514139 - e4x/Regress/regress-319872.js allow InternalError: script stack space quota is exhausted 2009-10-21 06:06:00 -07:00
David Anderson
ee7110502b Fixed return value propagation and demotion bugs in recursion (bug 521447, r=gal). 2009-10-20 20:17:51 -07:00
Andreas Gal
09041f31f7 Explicitly call destructor instead of delete (follow-up for 521859, r=dvander). 2009-10-20 20:11:32 -07:00
Graydon Hoare
349ddddea8 Bug 523262 - further ARM differences from tamarin, r=gal.
--HG--
extra : rebase_source : a39c39c0d6a66886c7a068324187bb3fd50796bd
2009-10-20 17:43:13 -07:00
Andreas Gal
5f0bb44449 Build fix for 521859 (again). 2009-10-20 17:45:30 -07:00
Andreas Gal
64a5aaa7dd Build fix for 521859. 2009-10-20 17:29:36 -07:00
Andreas Gal
e5c5e2e6c1 Always use GCChunks (521859, r=brendan). 2009-10-20 16:18:31 -07:00
Andreas Gal
ebb3f8e3e1 Replace JSPtrTable with js::Vector (523463, r=luke). 2009-10-20 15:08:28 -07:00
Graydon Hoare
c8132ae487 Bug 523416 - fix the blx_lr_broken implementation, r=sayrer. 2009-10-20 12:28:37 -07:00
Robert Sayre
8a46c69485 Merge. 2009-10-20 15:05:49 -04:00
Robert Sayre
6c87af99a3 Merge m-c to tracemonkey. 2009-10-20 15:02:54 -04:00
David Mandelin
b5cd5e2201 Bug 522817: move on-trace method write barrier after shape guard, r=brendan 2009-10-20 10:55:15 -07:00
Boris Zbarsky
9e8e8dfe2e Bug 521364. Make sure that TMFLAGS=stats shows all jitstats other than the platform-specific ones. r=lw 2009-10-20 13:42:02 -04:00
Ginn Chen
966787652d Bug 516318 Multiple cases in trace-test failed on SPARC platform r=brendan 2009-10-20 14:28:19 +08:00
Ginn Chen
7cce950adf Bug 516318 Multiple cases in trace-test failed on SPARC platform r=brendan 2009-10-20 14:05:05 +08:00
Robert Sayre
ca3f6c3582 Add inline requested in bug 523257. 2009-10-19 21:54:52 -04:00
Robert Sayre
402272136f Bug 523257 - remove some ComputeThis code duplication. r=mrbkap 2009-10-19 21:48:30 -04:00
Andreas Gal
aecd20f5d4 NativeARM.cpp: don't free reservation prematurely [nanojit] (523221, r=graydon). 2009-10-19 16:17:23 -07:00
Daniel Holbert
16d6c9d4d9 Bug 521677: Use fputs instead of printf/fprintf in a few cases, to fix "format not a string literal and no format arguments" build warnings. r=dbaron 2009-10-19 08:03:00 -07:00
Brendan Eich
9f9a05b0c3 Don't build a stack frame to execute empty scripts (516827, r=igor). 2009-10-18 17:41:24 -07:00
Igor Bukanov
8d6fe936eb forcing tinderbox rebuild to force Linux/Windows rebuild for bug 521390 2009-10-18 22:23:27 +04:00
Igor Bukanov
d615c5e729 bug 521390 - avoid checking for malloc memory pressure when allocating GC things from free lists. r=brendan 2009-10-18 19:40:19 +04:00
Makoto Kato
a5ef524204 Bug 522360 - [js-ctypes] Support opening of DLLs without full path using the system PATH. r=dwitte 2009-10-18 20:11:52 +09:00
Luke Wagner
8f8e40faaa Bug 510360 - early return in json.cpp might skip necessary postamble (r=sayrer) 2009-10-17 23:30:40 -07:00
Brendan Eich
7931ae3667 Fix js_Emit1 return value tests (522920, r=dvander). 2009-10-17 18:42:58 -07:00
Robert Sayre
87a106a5ac WINCE bustage fix 2009-10-17 13:54:48 -04:00
Robert Sayre
56eec53a57 Merge tracemonkey to mozilla-central. 2009-10-17 11:54:50 -04:00
Olli Pettay
79701a2085 Bug 506961 - Add a method to get jsdIValue from JS implemented event listeners, r=bz
--HG--
extra : rebase_source : 93d446c1c94512be8cc0dc208c0bf8f1cd3cc936
2009-10-17 17:40:44 +03:00
Igor Bukanov
ac8b823506 bug 522775 - fixing GC free list management. r=brendan 2009-10-17 12:57:14 +04:00
Graydon Hoare
e976f3e19b Bug 522834 - Minor merge bits from Tamarin, r=gal. 2009-10-16 18:01:54 -07:00
Graydon Hoare
a74cf73b08 Bug 522773 - pick up some ARM changes, r=dvander.
--HG--
extra : rebase_source : e17665fc13bc4ad6e8e7f963d426145fe1dc9f5d
2009-10-16 14:26:17 -07:00
Blake Kaplan
c5601bd36b Make this message not catch the tinderbox's error parser. 2009-10-16 18:03:54 -07:00
Steven Johnson
22c340a45f Bug 522772 - add missing ifdef FEATURE_NANOJIT, r=dvander.
--HG--
extra : rebase_source : 502eecf14545dd14a4404a2d2cb418dafb36a2fb
2009-10-15 16:39:00 -07:00
Igor Bukanov
af1a5810f7 bug 505315 - constructing GC free lists during finalization. r=brendan 2009-10-16 10:10:54 +04:00
Atul Varma
bdb1e8e0d6 Bug 522764 - Add mochitests for COWs. r=mrbkap 2009-10-16 15:19:01 -07:00
Robert Sayre
66f2fef6c4 Merge tracemonkey to mozilla-central. 2009-10-16 13:22:19 -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
Rich Walsh
5db3a4bf02 Bug 525396 - Implement New/DestroyGCChunk() for OS/2, fixing a build break, r=gal
--HG--
extra : rebase_source : 64efba17faf78702eda92f20791e6f8323f0be7d
2009-11-05 22:42:41 +01:00
Benjamin Smedberg
b7d3ba789d Unify rules.mk 2009-11-05 09:48:29 -05:00
Robert Sayre
d2ae303cb1 Merge tracemonkey to mozilla-central. 2009-11-04 17:57:42 -08: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
Boris Zbarsky
5ca7066094 Bug 523817. Make optional out params actually work and allow [retval] after [optional]. r=shaver 2009-10-23 16:24:47 -04:00
David Mandelin
44ddeb70aa Bug 519363: temporary instrumentation to understand object creation scope assignment for js_Interpret topcrash, r=lw 2009-10-22 19:06:20 -07:00
L. David Baron
4ebea4337e Fix two reftest.js mistakes in changeset d4fa46306138. (Bug 471579) r=ted 2009-10-22 16:36:24 -04:00
Brian Crowder
2c54700b47 Backed out changeset 9992a4a638e2 due to Tp regression (was bug 519843) 2009-10-21 07:57:08 -07:00
Brian Crowder
6d845e0e33 Bug 519843 - better behavior of js shell under Windows Mobile (no TTY), r=mrbkap 2009-10-20 12:11:51 -07:00
Benjamin Smedberg
6d3c79481b Bug 524693 - If MAKE is set in the environment, trust it (in js/src/configure.in), r=ted
--HG--
extra : rebase_source : 6969c1599ccd0351234db405f4e79f3769fdeca8
2009-10-27 15:38:05 -04:00
Benjamin Smedberg
87e746210d Bug 524139 - Eval .all.pp instead of including it. This means that in the normal case we avoid any make restarts and the associated I/O that goes with them, which could possibly be slowing Windows builds down considerably r=ted
--HG--
extra : rebase_source : 9671d212954595ef76b1870957e09ec6bc018e83
2009-10-23 13:00:19 -04:00
Jason Orendorff
ae121ff847 Bug 524522 - Tinderbox debug build unit tests don't capture a stack for JS_ASSERT assertion failure. r=mrbkap.
--HG--
extra : rebase_source : 6852e32ab9a846e6bd361a0c38c10bc93ebd9b89
2009-10-27 12:03:49 -05: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
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
David Mandelin
e7d37eba3d Bug 495331: trace JSOP_LAMBDA for non-null, non-heavyweight case, r=jorendorff,igor 2009-09-28 13:51:46 -07:00
Graydon Hoare
c8cf59a35e Bug 520099 - NJ merge: vprof drift, r=nnethercote.
--HG--
extra : rebase_source : e04ef4638228b90895223a8e3d87840afade7b42
2009-10-02 12:28:29 -07:00
Graydon Hoare
83d572eefa Bug 519856 - NJ merge: move VMPI stuff from avmplus, r=jimb.
--HG--
extra : rebase_source : 69e1cbe19f88dfa6ca5e54dada3d961de4cb82bb
2009-09-30 17:45:17 -07:00
David Anderson
9befc27ed3 Removed assertion that had too many false positives (bug 519534, r=gal). 2009-10-05 13:41:02 -07:00
David Anderson
bb98c5c119 Fixed attemptTreeCall not checking deep-abort status correctly (bug 520492, r=gal). 2009-10-05 13:21:13 -07:00
Andreas Gal
f2bf7615b0 ARM compilation fix for bug 519805. 2009-10-05 09:12:25 -07:00
Igor Bukanov
1ee687ce42 bug 505933 - removal of unused js_(Add|Remove)AsGCBytes (followup for bug 512046) 2009-10-04 14:54:37 +04:00
Makoto Kato
2dc0ebc45c Bug 515545 - Add EXECUTE_TREE_TIMER code for Windows x64. r=dvander 2009-10-04 17:03:18 +09:00
Luke Wagner
f9b92a4224 Bug 520336 - mark recorder's TreeInfo (r=brendan) 2009-10-03 23:32:00 -07:00
Brendan Eich
bcdf73ef67 Remove now-bogus (uint16) casts when storing AST node line numbers (patch revised based on ed@siliconforks.com's patch in 500128, r=me). 2009-10-03 10:33:01 -07:00
Andreas Gal
caf1760bb4 ARM backend does not support displacements > 12bits (519805, r=graydon). 2009-10-02 18:25:36 -07:00
Luke Wagner
5926a3b2b4 Bug 520323 - Using a Fragment in RecordTree after flush (r=gal)
--HG--
extra : rebase_source : a8beacaaffe96268db3dd61e886a702a4c54fc28
2009-10-02 18:23:39 -07:00
David Anderson
ab2f179aab Static analysis fixes, recursion fallout (bug 520320, r=gal). 2009-10-02 17:55:57 -07:00
Luke Wagner
aea86371a1 Bug 520311 - flush called during JSTraceMonitor::mark; may vex the recorder (r=gal) 2009-10-02 17:02:04 -07:00
Masahiro Yamada
5782aa9714 Bug 511859 - Reject overlong UTF-8 encodings of code points rather than converting them to U+FFFD or the code point they supposedly describe. r=jwalden
--HG--
extra : rebase_source : 9f53f810c42023e03ccc2dbe39dd2ea82d341b0b
2009-10-01 17:10:14 -07:00
David Anderson
b21e218905 Fixed js_PopInterpFrame breaking arena LIFO requirement (bug 520210, r=brendan). 2009-10-02 13:52:54 -07:00
David Anderson
c68adcf07b Disabled some tests which throw different recursion error (bug 520240). 2009-10-02 13:51:04 -07:00
David Anderson
9593aceb3c Skip JSOP_TRACE after JSOP_CALL when the decompiler expects it (bug 520003, r=brendan). 2009-10-02 12:36:27 -07:00
Jason Orendorff
b8fd310aef Reindent jsops.cpp. r=Waldo. 2009-10-02 13:50:52 -05:00
Brendan Eich
4034373007 Don't cache an 'adding' entry on a duplicate JSOP_INITPROP (520161, r=jorendorff). 2009-10-02 11:54:41 -07:00
Jason Orendorff
8e3f26b19f Bug 518463 - Alternative APIs to JS_GetStringBytes/Chars with saner out-of-memory handling. Any code using the old APIs that attempts to handle OOM at all should switch to these. r=brendan. 2009-10-02 12:42:02 -05:00
Igor Bukanov
9acf40e6f6 bug 517199 - typed GC free lists. r=brendan 2009-10-02 18:34:22 +04:00
Igor Bukanov
79b9eab8cb bug 520046 - eliminating "uintN flags" parameter from js_NewSomeGCThing functions. r=brendan 2009-10-02 12:21:19 +04:00
Robert Sayre
cea0319379 Merge mozilla-central to tracemonkey. 2009-10-01 14:08:25 -07:00
David Anderson
ef74738c2c Fixed accidentally trying to trace recursive argc!=nargs which is not yet supported (bug 519999, r=brendan). 2009-10-01 12:06:59 -07:00
Igor Bukanov
3fa86d4157 Backed out changeset 19b4c1cacdb8 - everything related to bug 517199. 2009-10-01 16:10:42 +04:00
Igor Bukanov
fed9242625 bug 517199 - typed GC free lsists - newborn refactoring. r=brendan 2009-10-01 08:13:04 +04:00
Nicholas Nethercote
5e593932f6 Bug 519876 - NJ merge: ARM macro cleanups. r=nnethercote (patch written by rreitmai). 2009-10-01 11:54:25 +10:00
David Anderson
e58fc18dab Merge. 2009-09-30 18:12:34 -07:00
David Anderson
64c7ff1a86 Fixed potential crash if up-recursive trace compiles and runs before down-recursive trace (build bustage, no_r=me). 2009-09-30 18:12:14 -07:00
David Anderson
560cc2ef8c Fixed GCC complaints (recursion fallout 3, yay). 2009-09-30 19:58:54 -04:00
David Anderson
daf2e31aac Bustage fix (recursion fallout 2). 2009-09-30 16:29:46 -07:00
David Anderson
07df299321 Build fixes (recursion fallout, no_r=me). 2009-09-30 16:15:23 -07:00
David Anderson
3e3b3a2362 Trace recursive function calls (bug 459301, r=gal). 2009-09-30 15:28:00 -07:00
David Anderson
5aeb5cef7e Internalize and memoize FrameInfo pointers (bug 501398, r=brendan). 2009-09-30 13:00:16 -07:00
Graydon Hoare
4c60aba1d1 Bug 519768 - NJ: fix lirasm test failures, r=nnethercote. 2009-09-30 11:20:50 -07:00
Graydon Hoare
59db3f60b0 Bug 519575 - NJ merge: more LIR.h drift, r=gal. 2009-09-29 16:36:37 -07:00
Graydon Hoare
0eca67091e Bug 519535 - NJ merge: add VTUNE dead code, r=gal. 2009-09-29 14:39:48 -07:00
Brendan Eich
4bf4354638 High-level CSE for shape guards (518448, r=jorendorff). 2009-09-29 19:05:19 -07:00
Nicholas Nethercote
238dab46a9 Bug 519595 - NJ merge: avoid compile warning in NativeX64.cpp. r=dvander. 2009-09-30 11:56:12 +10:00
Nicholas Nethercote
4565f5f07e Bug 519376 - NJ merge: move __SUNPRO _CC gunk. r=dvander. 2009-09-30 11:25:39 +10:00
David Anderson
019e8e15ce Backed out changeset 911d01b21463 2009-09-29 16:24:59 -07:00
David Anderson
a64d9ec66a Internalize and memoize FrameInfo structures (bug 501398, r=brendan). 2009-09-29 14:33:43 -07:00
Robert Sayre
0eaf0df2ca Merge. 2009-09-29 09:43:24 -07:00
Luke Wagner
6f3a055d7e add comment/assertion explaining why RegExp compiler is OK with the StackFilter
--HG--
extra : rebase_source : ba12e5ddf634b1cfaa4e515359c9457f2d406376
2009-09-28 14:26:18 -07:00
Nicholas Nethercote
a2ec114552 Bug 519371 - NJ merge: add missing PEDANTIC occurrences. r=dvander. 2009-09-29 11:46:06 +10:00
Nicholas Nethercote
c70f7763f4 Bug 519156 - TM: fix the Tracker. r=gal. 2009-09-29 11:12:46 +10:00
Graydon Hoare
b2b399a3a6 Bug 519347 - NJ merge: pick up a couple tiny allocator cleanups, r=dvander. 2009-09-28 16:58:51 -07:00
Jeff Walden
2c11063012 Update Object.keys and Object.getOwnPropertyDescriptor tests to use reportCompare for browser jstests' sake, no bug, r=lumpy 2009-09-28 13:09:56 -07:00
Luke Wagner
3801d14195 (debug-only bug) abort recording in js_Interpret after setting fp->regs (r=dvander) 2009-09-28 12:38:01 -07:00
Graydon Hoare
ce8212d362 Bug 518744 - TM: mark and rewind dataAlloc, r=gal.
--HG--
extra : rebase_source : fd9eac329fc70879ad5b45a267152937fed693fb
2009-09-25 17:20:01 -07:00
Robert Sayre
4634c6d9f1 Merge. 2009-09-28 12:05:41 -07:00
Robert Sayre
707168902d Merge mozilla-central to tracemonkey. 2009-09-28 11:53:36 -07:00
Jae-Seong Lee
9fc5cf1063 Bug 483721 - Add support for toggling strict+error mode to xpcshell, for use within xpcshell tests for detecting typos and such. Hopefully we can make strict+error opt-out eventually, but for now it's opt-in as existing tests don't work correctly with it. r=jwalden
--HG--
extra : rebase_source : ee259e89ae67950da1673cde3b69f5b4c239de0e
2009-09-28 11:34:57 -07:00
Dan Witte
3bbcc0e4ed ... not enough caffeine. 2009-09-28 10:51:07 -07:00
Luke Wagner
1fbbde3ae1 Bug 519004 - make deep abort danger more clear and present (r=dvander) 2009-09-28 09:03:21 -07:00
Igor Bukanov
dfe70ac84f bug 469718 - followup to avoid accessing document properties outside a browser. r=bc 2009-09-28 16:08:15 +04:00