Граф коммитов

17317 Коммитов

Автор SHA1 Сообщение Дата
Leon Sha b1db45ec8e Bug 505416 - http://www.usatoday.com/ crash on sparc. r=gal 2009-07-22 17:28:33 +08:00
Leon Sha b4c23c4d71 Bug 504043 - Firefox will crash on sparc platform when some website. r=gal 2009-07-22 17:06:23 +08:00
Nicholas Nethercote 18d692b464 Bug 504705 - TM/nanojit: use NULL as the condition for unconditional guards (2nd attempt). r=gal. 2009-07-22 14:54:41 +10:00
Jason Orendorff e6cf3a463d Fix memory leak introduced by changeset 3915e2d2c748 (bug 503080). r=mrbkap, no bug#.
--HG--
extra : rebase_source : 6cb42950ce67950f0c694bd32d90ccaa53c7a7d4
2009-07-21 21:55:27 -05:00
Nicholas Nethercote 60470db551 Bug 501232 - nanojit: remove LIR_2 (3rd attempt!). r=edwsmith,gal. 2009-07-22 10:28:25 +10:00
David Mandelin 4aea196ea5 Bug 496240: trace JSOP_NAME for active (on-stack) closures, r=gal 2009-07-21 16:22:36 -07:00
Luke Wagner 40fab7c316 Bug 505400: restore fullness check for regexp character set, r=dmandelin,gal 2009-07-21 15:19:40 -07:00
Jason Orendorff 3897a6653d Bug 503080 - Remove prototype-scope-sharing. r=brendan. 2009-07-21 16:25:11 -05:00
David Mandelin 694f6a1d03 Bug 505314: don't use LIR_ialloc with size 0, r=gal 2009-07-21 12:14:33 -07:00
Shawn Wilsher f5449fcd40 Bug 494826 - Compile SQLite with SQLITE_DEBUG defined
Compile SQLite in debug mode in our debug builds.  We don't hit any assertions
in tests currently, and if we ever do, we've just found a bug in SQLite.
r=ted
2009-07-22 14:43:24 -07:00
Ginn Chen 4fe5a442df Bug 492720 libgjs failed to compile with js headers of Firefox 3.5 r=brendan 2009-07-23 18:07:09 +08:00
Peter Weilbacher f7af716a0e [OS/2] Bug 505574: OS/2 nsinstall.exe from moztools fails to install test directories recursively (after bug463417), p=wuno@lsvw, r=pweilbacher 2009-07-23 09:12:32 +03:00
timeless@mozdev.org 21998de2d0 Bug 504474 JS_ValueToBoolean is void
r=brendan
2009-07-22 17:31:04 -05:00
timeless@mozdev.org 0b3c8de459 Bug 496774 XPCJSRuntime::XPCJSRuntime shouldn't touch mJSRuntime without null checking something
r=bent sr=jst
2009-07-22 17:31:03 -05:00
timeless@mozdev.org 3975d2844b Bug 501593 update TestXPC to use Request Model
r=jorendorff sr=mrbkap
2009-07-22 17:31:02 -05:00
Leon Sha 611c18d496 Bug 504043 - Firefox will crash on sparc platform when some website. Last checkin is not up to date. r=gal. 2009-07-22 17:45:41 +08:00
Leon Sha ab0e5a9222 Bug 505416 - http://www.usatoday.com/ crash on sparc. r=gal 2009-07-22 17:34:28 +08:00
Leon Sha 0e743c782d Bug 504043 - Firefox will crash on sparc platform when some website. r=gal 2009-07-22 17:15:39 +08:00
Siddharth Agarwal a737ec0065 Part of Bug 503756 -- temporarily back out bug 489579 so that srcdir builds start working again. 2009-07-21 20:06:10 +05:30
Andreas Gal 39925dcebf Merge. 2009-07-20 14:18:31 -07:00
Andreas Gal bb097e20f4 Backed out changeset 8877e1f8645b (bug 501232). 2009-07-20 14:18:17 -07:00
Andreas Gal a651bf7d65 Merge. 2009-07-20 14:06:39 -07:00
Andreas Gal e0a53be787 Backed out changeset 692e8a1325f8 (bug 504705). Crashes with TMFLAGS=full on browser startup. 2009-07-20 13:58:00 -07:00
Jacob Bramley 2981f83dae Backing out a broken part of 99dfb2001094. (no bug) 2009-07-20 11:34:34 +01:00
Jacob Bramley 70a161fab3 Use ARM's 'Operand 2' encoding for immediates. Also fixes bug 504637. (490968, r=vladimir) 2009-07-20 10:56:44 +01:00
wes@page.ca f9776cfee4 Bug 504647 - JITted regular expressions crash SPARC Nanojit. r=dmandelin 2009-07-20 14:11:12 +08:00
Robert Sayre a857f5a4fa Merge tracemonkey to mozilla-central for backouts. 2009-07-21 00:57:41 -04:00
Benjamin Smedberg 00ddb60693 Fix review nits from bug 463417 which I forgot to address earlier. 2009-07-20 11:48:45 -04:00
Robert Sayre 25acfa5900 Merge tracemonkey to mozilla-central. 2009-07-20 11:18:04 -04:00
L. David Baron 472e254c4e Use char16_t when available, and when it is, don't test for -fshort-wchar. (Bug 502298) r=bsmedberg 2009-07-20 07:04:41 -04:00
wes@page.ca 36365fe722 Bug 504647 - JITted regular expressions crash SPARC Nanojit. r=dmandelin 2009-07-20 14:22:45 +08:00
David Anderson 32c5a0d352 Fixed bug where dependent traces weren't always trashed (bug 503144, r=gal). 2009-07-17 19:59:08 -07:00
Vladimir Vukicevic a7a88737ff b=471585; [arm] jit crash on expedia.com; r=gal 2009-07-17 16:03:59 -07:00
Benjamin Smedberg 9494d94a46 Bug 463417 - Port the nsinstall_win stuff over to the JS build engine as well 2009-07-17 15:22:30 -04:00
Benjamin Smedberg e04570aac7 Bug 463417 - import the nsinstall.exe source from CVS buildtools repository: make it capable of copying files with very long names, build it by default on Windows hosts, and stop using the moztools version, r?timeless 2009-07-17 15:10:35 -04:00
Brendan Eich 5439643091 Bug 499790 - common sub-expression elim for repeated (PND_ASSIGNED | PND_FUNARG), r=mrbkap. 2009-07-17 11:36:45 -07:00
Benjamin Smedberg 625bae93d8 Bug 483202 - Load chrome from the GRE directory in xpcshell, r=ted 2009-07-17 10:41:26 -04:00
Daniel Jeter II bf2b36394b Bug 503186 - DeprecationWarning using Python 2.6, r=bsmedberg 2009-07-17 10:20:11 -04:00
Nicholas Nethercote 10614238ae Bug 501232 - nanojit: remove LIR_2. r=edwsmith. 2009-07-17 16:25:18 +10:00
Paritosh Aggarwal a986d3c3e7 Bug 500786 - lirasm - provide support for guards. r=jorendorff. 2009-07-16 21:41:53 -05:00
Andreas Gal ab529db2c6 Shrink slots during GC only, split ReallocSlots into Alloc/Grow/ShrinkSlots (504478, r=igor). 2009-07-16 18:42:54 -07:00
Andreas Gal 8b4268c14a Inline malloc accounting functions (504219, r=jwalden). 2009-07-16 18:36:19 -07:00
Nicholas Nethercote 450104f1e6 Bug 504705 - TM/nanojit: use NULL as the condition for unconditional guards. r=gal. 2009-07-17 11:14:01 +10:00
Luke Wagner f5737ea311 Bug 406271: add quantifier support for regexp->native compiler, r=dmandelin 2009-07-16 17:17:35 -07:00
Blake Kaplan d29b421047 Fix Windows build bustage. rs=brendan 2009-07-16 13:53:36 -07:00
Brendan Eich 9e21e5e4ee Hide C++ from C includers. 2009-07-16 13:33:46 -07:00
Blake Kaplan 2664f2c0ff Bug 504590 - Don't return a "joined" function object, since we don't support them yet. r=brendan
--HG--
extra : rebase_source : b7134d683b6e4439f284f9bb033b8040f53cdfb0
2009-07-16 13:16:33 -07:00
Brendan Eich 59cf98d0fc Fix 502630 (r=Waldo). 2009-07-16 13:16:27 -07:00
Nicholas Nethercote 776097bbd2 Bug 504465 - NJ: Move GC classes to namespace MMgc, r=graydon. 2009-07-16 11:50:27 -07:00
Robert Sayre 2e2f246ecb Merge mozilla-central to tracemonkey. 2009-07-16 11:46:05 -04:00
Makoto Kato 97ac625207 Bug 503288 - add import/export declare for JavaScript engine. r=jim 2009-07-16 15:58:02 +09:00
Brendan Eich c1eeed0a6b Bug 503406 - TM: Trace calling a user-attached function to RegExp (r=mrbkap). 2009-07-15 17:51:19 -07:00
Brendan Eich 985683c4e7 Bug 503406 - TM: Trace calling a user-attached function to RegExp (r=mrbkap). 2009-07-15 17:48:22 -07:00
Brendan Eich 3730dee13f Bug 501230 - TM: fast path for String.toString (r=gal). 2009-07-15 17:36:24 -07:00
Neil Rashbrook f8436a1e8c Bug 501609 Make js/src build with VC7.1 r=graydon 2009-07-15 20:31:26 +01:00
Jeff Walden 3fbdddff3b Bug 503992 - js_Int32ToId doesn't return the right id when passed a negative integer which doesn't fit in a jsval. Also change how 'in' is interpreted on trace so that we don't side-exit when the named property exists directly on the object. ALL HAIL TESTCASES! r=jorendorff 2009-07-15 02:48:49 -07:00
Robert Sayre 0f141c80b8 Merge mozilla-central to tracemonkey. 2009-07-15 11:19:12 -04:00
Wesley W. Garland af29a20d23 Bug 504119 - jstracer.h no longer compiles debug builds on gcc < 4. r=jorendorff.
--HG--
extra : rebase_source : 4ea454201e93f26d87a5707d5b91c295e828cd2f
2009-07-14 19:15:23 -05:00
Andreas Gal 2ee7988225 Avoid integer division in NewGCThing path (503157, r=jwalden). 2009-07-14 17:06:09 -07:00
Andreas Gal 9725e835db Avoid integer math for GC trigger factor calculation in allocation path, take 2 (503463, r=dmandelin). 2009-07-14 17:03:20 -07:00
Nicholas Nethercote 267e0904b8 Bug 504213: nanojit: rename LIR_alloc, LIR_addp, LIR_param to match tamarin-redux. r=graydon. 2009-07-15 10:00:43 +10:00
Nicholas Nethercote 297caf141a Bug 504208: fix LInsHashSet::equals(). r=graydon. 2009-07-15 09:54:17 +10:00
Jason Orendorff 938115f06a Bug 502832 - TM: Crash [@ memcpy]. r=graydon.
--HG--
extra : rebase_source : 2b58bcfbba855e12b0e24ac6d423f4c1621cea12
2009-07-14 17:45:01 -05:00
Jesse Ruderman b1902d1862 Make uneval(window) always return something that can be evaled (bug 380959). r=mrbkap. 2009-07-14 13:30:32 -07:00
Peter Van der Beken af56bef308 Backed out changeset 2073d5aae8b6 (Avoid integer math for GC trigger factor calculation in allocation path (bug 503463)). 2009-07-14 11:49:43 +02:00
Peter Van der Beken eb186004cd Backed out changeset 2073d5aae8b6 (Avoid integer math for GC trigger factor calculation in allocation path (bug 503463)). 2009-07-14 11:49:15 +02:00
Peter Van der Beken 69dbfff3d5 Backed out changeset c5433450795f (Bug 503990: make isStmt() table-driven.) 2009-07-14 11:23:07 +02:00
Peter Van der Beken a9bcc3bee5 Backed out changeset c5433450795f (Bug 503990: make isStmt() table-driven). 2009-07-14 11:22:41 +02:00
Blake Kaplan 2f096be39e Add a crashtest for bug 503286. r=gal 2009-07-14 01:59:37 -07:00
wes@page.ca bece3fbbaf Bug 494864 - make nanojit debug output easier to follow. Sparc Changes. NPOTB code. r=graydon 2009-07-14 12:58:18 +08:00
Robert Sayre fde849fe38 Merge tracemonkey to mozilla-central. 2009-07-14 00:42:27 -04:00
Robert Sayre b886d67a09 merge backout 2009-07-14 00:26:05 -04:00
Robert Sayre df6438791f Backed out changeset b6a8110a858f 2009-07-14 00:25:35 -04:00
Robert Sayre 2fa7a05624 Merge backout 2009-07-14 00:25:14 -04:00
Robert Sayre c0443e5ac9 Backed out changeset 6ca843fc1e67 2009-07-14 00:24:15 -04:00
Nicholas Nethercote cc0bab4b9f Bug 503990: make isStmt() table-driven. r=gal. 2009-07-14 13:08:38 +10:00
Blake Kaplan 73ba7d6897 Bug 503817 - Deal with xpconnect handing us weird this objects. r=gal 2009-07-13 17:46:47 -07:00
David Mandelin 1fef189f0c Bug 503818: update upvar stack arithmetic for jsop_arguments patch, r=gal 2009-07-13 17:37:00 -07:00
Luke Wagner fcc1cb32a8 Bug 503981 - Fix thinko. r=jwalden 2009-07-13 17:31:15 -07:00
Blake Kaplan b2d4d75ae9 Bug 503286 - Use the right sp for sp_adj to account for tree calls fiddling with state.sp after we've deep bailed. r=jorendorff
--HG--
extra : rebase_source : 2d3e2237ef82d4ea5980b4ece9b484344f450036
2009-07-13 15:44:33 -07:00
Robert Sayre db6a051898 Fix dtrace build bustage. 2009-07-13 18:33:33 -04:00
Robert Sayre ac39df359f Merge tracemonkey to mozilla-central. 2009-07-13 18:19:51 -04:00
Andreas Gal 061ab25a4c Make js_ValueToString inline (503669, r=jwalden). 2009-07-13 14:55:04 -07:00
Andreas Gal 3a33abb2de Follup-fix for 503665 (missing inlines). 2009-07-13 14:41:38 -07:00
Andreas Gal 1dbf11b7e9 Make Scope::hold/drop and parts of Scope::search inline (503665, r=jwalden). 2009-07-13 14:29:32 -07:00
David Anderson 8682ffa17d Static analysis build fixes, follow-up to bug 497948. 2009-07-13 13:46:16 -07:00
Andrew Sutherland 1cb9ed2d12 bug 497355 - Assertion failure: STOBJ_GET_CLASS(obj) != &js_BlockClass, at /Users/moztest/comm/main/src/mozilla/js/src/jsscope.cpp:79. r=igor 2009-07-13 13:45:34 -07:00
David Anderson 75b7186a7a Refactored deduceTypeStability/closeLoop for a general cleanup needed for recursion (bug 497948, r=gal+sayrer). 2009-07-13 13:26:27 -07:00
Andreas Gal 3dec6bdb7f Avoid integer math for GC trigger factor calculation in allocation path (503463, r=dmandelin). 2009-07-13 13:24:25 -07:00
Julian Seward 5e86f224ff Bug 496693 - NJ: comment and refactor DeadCodeFilter vs Assembler::gen interactions, r=edwsmith.
--HG--
extra : rebase_source : e675f824946d4a8bb83b2aed8ff1911c8b23caee
2009-07-13 11:50:42 -07:00
David Mandelin fe89921cab Bug 502789: correct regexp->native compiler of handling case-insensitive matching of characters with multiple lower-case forms, r=lw 2009-07-13 12:41:30 -07:00
Benjamin Smedberg 8e8984f01b Bug 501657 - Put local python modules at the beginning of the python path, not the end, tested by Jory Pratt 2009-07-13 12:28:59 -04:00
Florian Queze 7bff611249 Bug 468569 - after building in srcdir, make distclean doesn't clean up enough. r=ted 2009-07-13 13:46:23 +02:00
Andreas Gal 7c2517b644 Make sure js_FinalizeStringRT can be inlined into js_GC() (503462, r=dmandelin). 2009-07-12 07:41:20 -07:00
Andreas Gal c82206a636 Inline FinalizeObject into js_GC() along with making Scope hold() and drop() inline, too (503461, r=dmandelin). 2009-07-12 07:38:59 -07:00
Andreas Gal 555844f69a Bump local gcthings limit to 64 (503156, r=igor). 2009-07-12 07:32:59 -07:00
Andreas Gal 0e3b5fa6b2 Avoid 16-bit arithmethic in GC arenas (503419, r=dmandelin). 2009-07-12 07:29:18 -07:00
Robert Sayre 941674d6af Merge mozilla-central to tracemonkey. 2009-07-11 23:46:16 -04:00
Andreas Gal eb560edecb Make CHECK_FOR_STRING_INDEX an inline function (503666, r=jwalden). 2009-07-11 15:41:32 -07:00
David Anderson a1e91e7853 Build fix, follow-up to bug 503595. 2009-07-11 16:02:31 -04:00
David Anderson 06bb2b1752 Fix -0 modulo -x disagreement on Windows (bug 503595, r=sayrer). 2009-07-11 12:40:37 -07:00
Andreas Gal a0906b9747 Remove unnecessary cast to unsigned (introduced by bug 502241, r=graydon). 2009-07-10 17:18:25 -07:00
Graydon Hoare 8d5ba28149 Bug 503593 - NJ: whitespace and modeline cleanup, r=gal.
--HG--
extra : rebase_source : c7fcc1acaadb2264796a3ee7a20866eecc4dc484
2009-07-10 12:58:34 -07:00
Blake Kaplan 68e3b61651 Bug 502449 - Now that our pseudo-frame can have a call object it needs slots, too. r=igor 2009-07-10 15:07:19 -07:00
Brendan Eich d9cfe8e1ed Bug 503524 - JSON.stringify does not condition number-typed space parameter per spec (r=sayrer). 2009-07-10 16:02:38 -04:00
Brendan Eich 25c70e971a Optimize stringify edge case. r=sayrer/jorendorff. 2009-07-10 15:13:54 -04:00
Graydon Hoare 4478870dce Bug 503437 - NJ: Commit missing CodeAlloc and NativePPC files from Adobe, r=gal.
--HG--
extra : rebase_source : 51a1d5fdc3c8ce0492f5986612a06858f2c4a5da
2009-07-10 11:21:53 -07:00
Jason Orendorff 5a23ccff30 Bug 503464 - Memory leak in JSScope::drop. r=brendan. 2009-07-10 10:36:29 -05:00
David Anderson 9418b42285 Fixed division and modulo bugs with negative numbers and 0 (bug 498237, r=gal). 2009-07-09 18:14:32 -07:00
Graydon Hoare 1cf51a308a Bug 502953 - Followup patch to remove residual makefile entries, r=dvander.
--HG--
extra : rebase_source : 5e0c1dea8ad190a0fd432a4c8a2791e1cccd7e2f
2009-07-09 13:33:16 -07:00
Brendan Eich 18b6d80494 Bug 503343 - Change JSScope macros to methods. r=jorendorff 2009-07-09 15:27:21 -05:00
Brendan Eich 4b8b0c40ff Pick nits including warning provoker in jsregexp.cpp from bugs 463535 and 453730. 2009-07-09 15:18:08 -04:00
Brendan Eich c45fc120b3 Optimize GCto avoid atomic decrement in js_DropScope (503155, r=jorendorff). 2009-07-09 14:59:44 -04:00
Peter Van der Beken c194ed7465 Fix for bug 503170 (Make QS argument unwrapping use thisptr offsets). r=jorendorff, sr=jst.
--HG--
extra : rebase_source : 1bf030e9ea24fd8efa3fd14feef3632020a3a359
2009-07-09 16:26:19 +02:00
Peter Van der Beken 811185b694 Fix for bug 504146 (Crash [@ nsGenericElement::cycleCollection::Traverse] with focus() method, popup, menulist, treecols). r=jst, sr=mrbkap.
--HG--
extra : rebase_source : ccd7a76cceab3f1ab593e2918d3847e14e8c5c22
2009-07-17 12:17:46 +02:00
Vladimir Vukicevic d5c8d33f90 b=503570, [arm] jit crash with illegal instruction; r=gal 2009-07-16 21:05:29 -07:00
Vladimir Vukicevic a6b2b59bb7 b=500472; flash activex shunt for Windows CE; r=jst 2009-07-16 14:13:29 -07:00
Peter Van der Beken 300ffe40ef Fix for bug 503167 (Replace xpc_qsReadOnlySetter with js_GetterOnlyPropertyStub). r=jorendorff, sr=jst.
--HG--
extra : rebase_source : 448b7e44111c8261736156e76c9936030457c40a
2009-07-09 16:26:19 +02:00
Peter Van der Beken 53f1b70f55 Fix for bug 503166 (XPCStringConvert::ReadableToJSString shouldn't allocate for empty string). r/sr=jst.
--HG--
extra : rebase_source : 76c08ffb3bced708ad8af9626b7dfcb3c3fae28f
2009-07-09 14:46:39 +02:00
Jason Orendorff a332b73841 Bug 503198 - Restore ability to trace initprop/setprop with non-branded scope and function rhs. r=brendan. 2009-07-09 06:49:44 -05:00
Jason Orendorff e137e274a7 Bug 503191 - trace-test.js aborts in testAddAnyInconvertibleObject et al. r=Waldo.
--HG--
extra : rebase_source : 4977a191af6285669e7e268bc713c03a9338c60b
2009-07-08 17:58:59 -05:00
Nicholas Nethercote eaa820a091 Bug 499605: localize _labels, _patches and pending_lives in Assembler. r=edwsmith. 2009-07-09 08:54:31 +10:00
Nicholas Nethercote f4a2d78bd5 Bug 502788: avoid many redundant NULL comparisons in the LirReader pipeline. r=edwsmith. 2009-07-09 08:34:22 +10:00
Jason Orendorff c47d270b3e Bug 502914 - JIT code can call js_AddProperty when the property already exists (Assertion failure: !SCOPE_HAS_PROPERTY(scope, sprop), at ../jsbuiltins.cpp:257). r=gal. 2009-07-08 15:44:58 -05:00
Jason Orendorff 3c47e8597b Last-minute change to the unit test in the previous changeset a08e3540da32, requested by bz in bug 502890 comment 6. Informal r=graydon. 2009-07-08 15:38:55 -05:00
Jason Orendorff a1567d958b Bug 502890 - Assigning to a called method on trace does not change the object's shape. r=gal,r=brendan. 2009-07-08 14:44:31 -05:00
David Mandelin d8eea56893 Bug 453730: trace JSOP_ARGUMENTS, r=gal 2009-07-08 11:16:41 -07:00
Graydon Hoare 354e2e1c19 Bug 502953 - Remove dead TraceTreeDrawer, r=dvander. 2009-07-07 15:31:03 -07:00
David Anderson 144bd57a95 Fixed two rare cases where missing globals in a nested loop could result in an outer recording using an incorrect typemap entry for those slots (bug 502604, r=gal). 2009-07-07 12:14:30 -07:00
Jason Orendorff fc97c6a1da Bug 498565 - Setting inline style always misses property cache. r=brendan.
--HG--
extra : rebase_source : 953740c5d693ee5358fb85690dc0e15df3bafa0a
2009-07-07 06:20:26 -05:00
Jason Orendorff 309c654446 Give the LIR instruction for loading obj->map the name "map" in debug output. r=brendan in bug 498565 comment 18.
--HG--
extra : rebase_source : 3c7954123b4b89d0f38b7e6c2397749a9156e342
2009-07-07 06:20:22 -05:00
Jason Orendorff 5a720d97f5 Minor cleanup. Fuse if-if in js_FillPropertyCache. r=brendan in bug 498565 comment 18.
--HG--
extra : rebase_source : 386e6c4b1c06aa14b9d7e6cb7efaf83c9fb5e7bd
2009-07-07 06:09:28 -05:00
Leon Sha 922f07010a Bug 502584. Firefox will crash when visiting www.hp.com on sparc platform. r=gal. NPOTB code 2009-07-07 14:16:35 +08:00
Nicholas Nethercote f0ee601a6d Trivial fix for a TMFILES=liveness debug output assertion failure. 2009-07-07 15:25:50 +10:00
Nicholas Nethercote 5e26dee3b1 Add some info on troubleshooting in the TraceVis README. 2009-07-07 12:31:09 +10:00
Nicholas Nethercote f842d85d8c Fix compile breakage on optimized builds caused by my last commit. 2009-07-07 09:49:55 +10:00
Nicholas Nethercote 30d92d565d Bug 502539: move displacements into load instructions. r=gal,edwsmith. 2009-07-07 09:26:12 +10:00
David Mandelin 3b58376efa Bug 502058: blacklist regexps for native compilation more efficiently and reliably, r=gal 2009-07-06 13:21:32 -07:00
Luke Wagner ba3d2d4613 Bug 501834 - Regression on js1_5/Regress/regress-312588.js crash [@ JS_HashTableRawLookup]. r=jwalden 2009-07-06 13:02:43 -07:00
Robert Sayre 8e530cf233 Merge mozilla-central to tracemonkey. 2009-07-06 12:20:54 -04:00
Andreas Gal e4f783ecd9 Build fix for 502145 with JS_TRACER disabled (no bug). 2009-07-06 07:01:21 +02:00
Andreas Gal a059dbcdc6 Shortcut lookup flag calculation when on trace (bug 502145, r=igor). 2009-07-06 06:42:13 +02:00
Peter Van der Beken 3cb9b762b8 Try to fix orange. 2009-07-05 20:03:52 +02:00
Andreas Gal 1a625dbe26 Add an argument to bench.sh that selects which shell to test (no bug). 2009-07-03 22:26:27 -07:00
Andreas Gal 5df8c83d50 Fix warnings in jsxdrapi.cpp (502296, r=jwalden). 2009-07-03 17:37:41 -07:00
Andreas Gal f9f18205d0 Consistently use signed ints for pcdepth (502241, r=brendan). 2009-07-03 17:03:24 -07:00
Andreas Gal d50a1a2603 Cleanup alignment cast for jump tables (502242, r=jwalden). 2009-07-03 16:55:22 -07:00
Nicholas Nethercote 120d9e3514 Bug 493125 - remove LIR_cs. r=edwsmith. 2009-07-02 12:21:28 +10:00
Luke Wagner 94c007f2b7 Bug 200505 - Better fix for C/C++ syntax problems with declaring the JSTempVector template. r=jwalden 2009-07-01 16:15:01 -07:00
Blake Kaplan 0c7edb2c56 Bug 501270 - Make pseudo-frames have call objects if they're around a heaveyweight function to preserve engine invariants. r=brendan 2009-07-01 11:40:36 -07:00
Nicholas Nethercote cd6287a591 Bug 492866: implement variable-width LIR. r=graydon. 2009-07-01 14:18:55 +10:00
Nicholas Nethercote bcbe52b5f0 Backed out changeset ae16e5919d19 (tree was closed for talos maintenance). 2009-07-01 11:33:54 +10:00
Nicholas Nethercote e78e9f8afd Make LIR variable-width (bug 492866, r=graydon). 2009-07-01 11:13:22 +10:00
Luke Wagner 4f33273a2d Bug 200505 - Optimization of jsref array_join_sub() function. r=waldo 2009-06-30 20:19:42 -04:00
Robert Sayre e01812ef5c Backed out changeset b2256abf53c0 2009-06-30 12:14:09 -07:00
Luke Wagner 0a452dc682 Bug 200505 - Optimization of jsref array_join_sub() function. r=waldo 2009-06-30 11:29:43 -07:00
Nicholas Nethercote 399a8d92ed Remove dead setCallTable() declaration (bug 488515, r=gal). 2009-06-30 14:55:44 +10:00
David Mandelin 3c11ee483f Bug 500621: make regexp lirbuf setup work the same as tracing lirbuf to avoid mem leak, r=dvander 2009-06-29 17:04:35 -07:00
Mike Hommey 42f2a0295a Bug 501241 - xpcshell fails to build when setting EDITLINE. r=mrbkap
--HG--
extra : rebase_source : c41df07d7ccaf98a15335493aa9227788da323ee
2009-06-29 16:10:54 -07:00
Andreas Gal 79deb8b45d js_GetMethod shouldn't detect (501229, r=jorendorff). 2009-06-29 15:19:37 -07:00
David Mandelin b346791c0b Bug 496448: check in python scripts for TraceVis, r=brendan 2009-06-29 14:56:57 -07:00
Andreas Gal 4363763e56 clearResv() is i->resv()->clear() now (501072, r=graydon). 2009-06-29 13:23:06 -07:00
Paritosh Aggarwal e81a6807f5 Bug 499365 - lirasm - Provide for execution of multiple fragments in a single file. r=jorendorff. 2009-06-29 13:26:43 -05:00
Andreas Gal d03d1c2175 Missing strtointeger path in js_StringToInt32 (501124, r=brendan). 2009-06-29 10:55:43 -07:00
Robert Sayre 8bb5628625 Merge. 2009-06-27 11:21:54 -07:00
Robert Sayre f20a731090 Merge mozilla-central to tracemonkey 2009-06-27 11:19:19 -07:00
Andreas Gal 1af37e23e7 Deep abort is not detected in JSOP_IN (500108, r=dvander). 2009-06-26 16:29:38 -07:00
Graydon Hoare 845a6c3c9a Bug 473989 - Adjust trace-test.js part of 'make check' in js/src to handle win32 properly, r=bsmedberg. 2009-06-26 12:37:58 -07:00
Graydon Hoare 60e8acd46d Bug 500580 - JS_CallFunction path isn't ~JIT guarded against non-global scope chains, r=brendan. 2009-06-26 11:13:32 -07:00
Graydon Hoare 3f8679bb22 Bug 500491 - Only reset saved JSOPTION_JIT after js_Execute, r=brendan. 2009-06-25 16:20:53 -07:00
Brendan Eich 97f62122e0 Back out incorrect patch for bug 497789 (r=jorendorff). 2009-06-26 10:40:51 -07:00
Jason Orendorff 21d6d268d5 Bug 499897 - reverse INULL in js_ComputeFilename. r=Waldo. 2009-06-25 18:03:46 -05:00
David Anderson 92a8acd61d Nits to Queue<T>, assert valid index and support 0 starting size (bug 500554, r=gal). 2009-06-25 17:14:54 -07:00
Jeff Walden 24cc5d0e5a Windows bustage fix, r=foopy
--HG--
extra : rebase_source : 3e6a65cb262f12fe73b3ef7657a1f38c9673ad99
2009-06-25 16:36:25 -07:00
David Anderson a244d745c9 Merge. 2009-06-25 16:19:56 -07:00
David Anderson 5e06170835 Nits. 2009-06-25 16:15:08 -07:00
David Anderson d7e89d57ea Avoid pedantic errors about trailing commas in lists (build bustage fix). 2009-06-25 16:02:29 -07:00
David Anderson 7e7e2a4c09 Follow-up nits to bug 500522. 2009-06-25 15:41:18 -07:00
David Anderson cec1d7828c Print exit names instead of numbers (bug 500522, r=gal). 2009-06-25 15:32:50 -07:00
David Anderson f2b1ddad20 Added TMFLAGS=full mode to mimic TRACEMONKEY=verbose (bug 500517, r=gal). 2009-06-25 14:43:20 -07:00
Brendan Eich 162bd0d22e Followup assertion restoration and comment fix (497789, r=jorendorff). 2009-06-25 14:16:06 -07:00
Graydon Hoare 2209e6f357 Bug 473989 - Enable trace-test on 'make check', r=ted. 2009-06-25 12:47:00 -07:00
Benjamin Smedberg 23be333eec GetAtomFromBytecode is actually JS_REQUIRES_STACK, just marking it so. 2009-06-25 15:19:37 -04:00
Benjamin Smedberg 1c0dd2d7fc Bug 499971 - js_GetCallVar and several others which are used as JSNatives must not be JS_REQURIES_STACK, r=jorendorff 2009-06-25 15:12:20 -04:00
Benjamin Smedberg b27e394e4c Bug 498398 - fast natives such as array_sort and many others must not be JS_REQUIRES_STACK, r=jorendorff 2009-06-25 15:12:19 -04:00
Benjamin Smedberg 6d2b516f74 Bug 491988 - do JS_REQUIRES_STACK analysis on function pointers, r=jorendorff+dmandelin 2009-06-25 15:12:19 -04:00
Benjamin Smedberg ddbb0828a9 Bug 491988 - Annotation fixes required for analyzing JS_REQUIRES_STACK for function pointers, r=jorendorff 2009-06-25 15:12:19 -04:00
Brendan Eich d10424f6a0 Seed new empty scope shape from prototype to handle foreshadowing, enable deep propcache hits keyed by shapes, simplify code (497789, r=igor). 2009-06-25 12:05:09 -07:00
Julian Seward 10b5d24199 Bug 494864 - Make nanojit debug output easier to follow, r=graydon. 2009-06-24 20:32:00 -07:00
Brendan Eich 39043b574d Nit followup to 496674 (r=graydon). 2009-06-24 16:33:20 -07:00
Robert Sayre 08b686f33a Merge mozilla-central to tracemonkey. 2009-06-24 13:16:16 -07:00
Graydon Hoare 888cdd96ff Bug 496674 - Replace FORALL macros with template functions and visitors, take 2, r=gal. 2009-06-19 18:48:05 -07:00
Jacob Bramley cf4a741613 Remove the BL method from the ARM nanojit back-end as it is no longer used. (487607, r=vladimir) 2009-06-24 15:57:17 +01:00
Jacob Bramley 8438a075b9 Use BLX to provide ARM/Thumb interworking support on ARM. (486639, r=vladimir) 2009-06-24 15:54:35 +01:00
Jacob Bramley c6ca80290d Correct some corner cases in the branch patching code for ARM. (486325, r=vladimir) 2009-06-24 15:26:07 +01:00
Jacob Bramley 532694817b Improve exit code efficiency on ARM. (491678, r=vladimir) 2009-06-24 08:17:44 +01:00
Boris Zbarsky 868a0f13c4 Bug 499865. Log blacklists as part of our jitstats. r=jorendorff 2009-06-23 23:44:38 -04:00
Andreas Gal 599cfe1504 Added a FIXME, reminding us to remove the proto chain walking code once bug 497789 has been fixed (comment change only, no bug). 2009-06-23 19:35:17 -07:00
Andreas Gal e56bacf21e Check for end of proto chain when walking it (499169, r=mrbkap). 2009-06-23 19:22:54 -07:00
Jeff Walden 4aa1480ec3 Bug 499772 - TM: TraceRecorder::test_property_cache needs JSClass.getProperty checks when a property isn't found on an object. r=jorendorff, r=brendan 2009-06-22 14:35:57 -07:00
Graydon Hoare 0dfde2416b Backed out changeset 5e1b444c803c, broke static analysis tinderbox. 2009-06-23 16:58:30 -07:00
Graydon Hoare fe212eba53 Bug 496674 - Replace FORALL macros with template functions and visitors, r=gal. 2009-06-19 18:48:05 -07:00
Andreas Gal e9dd875c66 Backed out changeset 55a8910d8436 (no consensus whether patch should be applied, bug 499664). 2009-06-23 15:50:23 -07:00
Andreas Gal f3d94549f4 Eliminate 64-bit LIR_callh hack (499664, r=dvander). 2009-06-23 15:11:49 -07:00
Andreas Gal 473d157db3 Move details of LIns format into LIns class itself (500053, r=dvander). 2009-06-23 14:51:15 -07:00
David Mandelin 83748c5b5b Bug 499019: don't report errors for code that is 'not reached', even as an intermediate result, r=jorendorff 2009-06-23 10:52:52 -07:00
Igor Bukanov f4549d60d4 bug 499570 - fixing shutdown leak of not-yet-closed JSNativeEnumerator instances. r=brendan 2009-06-23 18:52:03 +02:00
Jacob Bramley 6029523522 Don't use ARM's MOVW and MOVT instructions to write to the PC. (487595, r=vladimir) 2009-06-23 11:13:54 +01:00
Jacob Bramley eb67f05805 Clean up ARM's SET macro and correct a few condition codes. (488845, r=vladimir) 2009-06-23 11:12:22 +01:00
Jacob Bramley 32b0b8dd64 Clean up asm_branch and correct the use of condition flags on VFP conditions. (489583, r=vladimir) 2009-06-23 10:36:36 +01:00
Jacob Bramley 7970408038 Fix crash on ARM caused by spilling registers in asm_mmq. (495239, r=vladimir) Follow-up: Reveals (or creates) some failures documented in bug 499889. 2009-06-23 09:36:53 +01:00
Nicholas Nethercote 53ee975439 Remove unused field 'parent' from class LabelMap (bug 499400, r=gal). 2009-06-23 14:11:09 +10:00
Graydon Hoare 0dae54155f Bug 499603 - Stop leaking VMFragments on script-purge, r=jorendorff.
--HG--
extra : rebase_source : 110af19d876b552fbedffe4366ef4e1f5172bbfa
2009-06-22 15:48:37 -07:00
Paritosh Aggarwal bf5cc519f2 Bug 499016 - Provide testing support for lirasm. r=graydon. 2009-06-22 17:22:09 -05:00
Paritosh Aggarwal b3a89f2d0b Bug 497991 - Fix function calls in lirasm. r=graydon,r=jorendorff. 2009-06-22 17:16:21 -05:00
Nicholas Nethercote 852f2ca424 Remove unused isCse() and LirBuffer() args (bug 499260, r=edwsmith). 2009-06-22 14:48:16 +10:00
Nicholas Nethercote cb90a4e093 Fix assertion failure in trace-test.js with TRACEMONKEY=verbose (bug 499154, r=graydon). 2009-06-22 10:48:36 +10:00
nnethercote@mozilla.com 867a5b3521 remove LIR_calli and LIR_fcalli (492478, r=edwsmith,jorendorff). 2009-06-19 10:20:26 +01:00
Andreas Gal 6b51145754 Remove NativeThumb.cpp (bug 486535, hg totally sucks). 2009-06-19 09:47:16 +01:00
Jacob.Bramley@arm.com ca4198d6cc Remove remaining obsolete ARM Thumb code (486535, r=gal). 2009-06-19 09:45:52 +01:00
Andreas Gal 873057179e Backed out changeset 1b5584a4eba4. Accidentally committed some unreviewed changes. 2009-06-19 09:42:34 +01:00
Jacob.Bramley@arm.com 6cc51c116f Remove remaining obsolete ARM Thumb code (486535, r=gal). 2009-06-19 09:37:38 +01:00
Graydon Hoare c8e7c167ce Bug 497060 - Disable JIT on non-global initial scope chain, r=brendan.
--HG--
extra : rebase_source : f8052e5687bfa5fe5f9879622375c06dac647f95
2009-06-18 14:47:57 -07:00
Blake Kaplan 574a205d93 Bug 498993 - Don't mistake initialization for assignment when the assignment is hidden by a secon var declaration. r=brendan/jorendorff 2009-06-18 14:52:06 -07:00
Igor Bukanov 83e399418b bug 498899 - avoiding excessive JS_(LOCK|UNLOCK)_OBJ while quering property cache. r=brendan 2009-06-18 15:24:06 +02:00
Igor Bukanov 492d34ef0a Backed out changeset 7ab1be136cfa - that patch for bug 498899 has a bug. 2009-06-18 15:00:55 +02:00
Igor Bukanov 8c1a3aa971 bug 498899 - avoiding excessive JS_(LOCK|UNLOCK)_OBJ while quering property cache. r=brendan 2009-06-18 14:26:16 +02:00
Paritosh Aggarwal 215914b857 Bug 498926 - lirasm - Support --execute with LIR_fret. r=jorendorff. 2009-06-17 11:52:20 -05:00
Igor Bukanov a0e85d5b66 bug 498874 - fixing GCC warnings about unsigned < 0 comparisons. r=gal 2009-06-17 13:57:03 +02:00
Jonathan Steele 15bf0ffdd6 Bug 477170. Remove Windows95/98 support from configure.in. r=ted
--HG--
extra : rebase_source : cf9d5aa2347053266a63f92a27d1f23d0186a7d3
2009-06-24 21:10:47 +12:00
Andreas Gal a6c2127f5a Check for end of proto chain when walking it (499169, r=mrbkap). 2009-06-23 19:22:54 -07:00
Andreas Gal f6e7c28361 If the result of a demoted multiplication is 0, must undemote or we lose -0 (498549, r=dvander). 2009-06-17 08:06:21 +01:00
Nicholas Nethercote 1301679252 Bug 494639 - NJ: fix numerous LIR memory management problems, r=graydon 2009-06-16 14:01:31 -07:00
Graydon Hoare 3c2f1ae60d Bug 496448 - Followup to fix build, r=jorendorff.
--HG--
extra : rebase_source : b9e08e853fcd183ef88b7cfac1e70ca199feb214
2009-06-16 12:19:29 -07:00
Jason Orendorff 52902e311e Bug 498504 - lirasm - constant jumps produce assertions. intermediates treated as labels. p=paritosh,r=me. 2009-06-16 13:05:59 -05:00
Andreas Gal dbf64914c9 Right hand operand must be a 32-bit signed integer if we want to demote the operation (498236, r=dvander). 2009-06-16 09:35:59 +01:00
Nicholas Nethercote b3e7c965b3 Bug 496448: TraceVis TraceMonkey performance visualization, r=brendan 2009-06-16 09:30:01 +01:00
David Mandelin 5b3d422e39 Bug 497779: try to extend tree on inner-tree CASE_EXIT, r=gal 2009-06-16 09:10:28 +01:00
Phil Ringnalda 2f0903755d Bug 499632 - Remove run_viewer target, r=ted 2009-06-26 22:31:32 -07:00
Walter Meinl 07dfa68277 Bug 494490 - make install on linux installs the system_wrappers{_js} in includedir; r=benjamin 2009-06-24 23:31:27 +02:00
Jim Blandy a0e5e4da0b Bug 501760: Don't try to use mmap for JS allocation on Symbian. r=blassey 2009-07-09 14:59:54 -07:00
L. David Baron d3e9cefd73 Make some of the DEBUG_CC code accessible to code in non-debug builds so it can be used by memory tools for Web developers. (Bug 500233) r+sr=peterv 2009-07-08 18:10:29 -07:00
Vladimir Vukicevic 3605850185 b=503205; [arm] stop hitting bogus assertion in nPatchBranch; r=crashy 2009-07-08 16:46:57 -07:00
Phil Ringnalda 7143ca0eb9 Bug 435923 - Remove BUILD_OFFICIAL in favor of MOZILLA_OFFICIAL, r=ted 2009-07-07 20:24:45 -07:00
Phil Ringnalda f913c61322 Bug 501586 - Remove the last vestiges of MOZ_MILESTONE_RELEASE, r=ted 2009-07-07 20:24:40 -07:00
Peter Van der Beken 8c83072a51 Fix for bug 499787 (Remove one AddRef/Release pair from GatherProtoScriptableCreateInfo). r/sr=mrbkap.
--HG--
extra : rebase_source : 2db51a8d57cf6bdb8c42e677a819e1d3687e3593
2009-06-23 12:09:13 +02:00
Olli Pettay 36618fa8fb Bug 486990 - Context Menu can be disabled by stopping propagation, r=enn, sr=neil 2009-06-23 13:07:39 +03:00
Vladimir Vukicevic 220c1376a3 b=403345; dtrace probes get wrong function name, filename, and line number info when native methods are involved; r=brendan 2009-06-17 13:50:03 -07:00
Jason Orendorff ed84c6a07b Bug 497618 - Change JSString macros to methods. r=Waldo. 2009-06-10 20:29:44 -05:00
Jason Orendorff 46156d6671 Bug 498395 - "Assertion failure: !(pn->pn_dflags & flag), at ../jsparse.h". r=mrbkap, r=brendan.
--HG--
extra : rebase_source : c3d0ecfcbbbce0c7494ffd53dc240c2b69e6eb8f
2009-06-15 15:42:00 -05:00