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

15290 Коммитов

Автор SHA1 Сообщение Дата
wes@page.ca dcd9fbb831 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 f32484cca2 Merge tracemonkey to mozilla-central. 2009-07-14 00:42:27 -04:00
Robert Sayre cfc1a483c3 merge backout 2009-07-14 00:26:05 -04:00
Robert Sayre 9fe2594dda Backed out changeset b6a8110a858f 2009-07-14 00:25:35 -04:00
Robert Sayre 726793f1cc Merge backout 2009-07-14 00:25:14 -04:00
Robert Sayre 567b251661 Backed out changeset 6ca843fc1e67 2009-07-14 00:24:15 -04:00
Nicholas Nethercote 8432cab581 Bug 503990: make isStmt() table-driven. r=gal. 2009-07-14 13:08:38 +10:00
Blake Kaplan efb7bc96a9 Bug 503817 - Deal with xpconnect handing us weird this objects. r=gal 2009-07-13 17:46:47 -07:00
David Mandelin 0d85465d42 Bug 503818: update upvar stack arithmetic for jsop_arguments patch, r=gal 2009-07-13 17:37:00 -07:00
Luke Wagner 8d250cbab4 Bug 503981 - Fix thinko. r=jwalden 2009-07-13 17:31:15 -07:00
Blake Kaplan 60f28895a8 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 d04c2a613c Fix dtrace build bustage. 2009-07-13 18:33:33 -04:00
Robert Sayre 76edc78836 Merge tracemonkey to mozilla-central. 2009-07-13 18:19:51 -04:00
Andreas Gal 26343fbe92 Make js_ValueToString inline (503669, r=jwalden). 2009-07-13 14:55:04 -07:00
Andreas Gal 2cf657e82f Follup-fix for 503665 (missing inlines). 2009-07-13 14:41:38 -07:00
Andreas Gal b6529823d1 Make Scope::hold/drop and parts of Scope::search inline (503665, r=jwalden). 2009-07-13 14:29:32 -07:00
David Anderson 9ef87025a5 Static analysis build fixes, follow-up to bug 497948. 2009-07-13 13:46:16 -07:00
Andrew Sutherland 92554a99a5 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 68a94db9de 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 0492833c8c Avoid integer math for GC trigger factor calculation in allocation path (503463, r=dmandelin). 2009-07-13 13:24:25 -07:00
Julian Seward 00243d2f8f 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 fe26342c84 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 4a8ae27612 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 9e20313634 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 99058f910f Make sure js_FinalizeStringRT can be inlined into js_GC() (503462, r=dmandelin). 2009-07-12 07:41:20 -07:00
Andreas Gal 6f9d3b1b9e 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 aff1a4fbb8 Bump local gcthings limit to 64 (503156, r=igor). 2009-07-12 07:32:59 -07:00
Andreas Gal 5593b07e28 Avoid 16-bit arithmethic in GC arenas (503419, r=dmandelin). 2009-07-12 07:29:18 -07:00
Robert Sayre 4ee4a46dfe Merge mozilla-central to tracemonkey. 2009-07-11 23:46:16 -04:00
Andreas Gal 36214724dc Make CHECK_FOR_STRING_INDEX an inline function (503666, r=jwalden). 2009-07-11 15:41:32 -07:00
David Anderson 4da306e893 Build fix, follow-up to bug 503595. 2009-07-11 16:02:31 -04:00
David Anderson 9d0afa8156 Fix -0 modulo -x disagreement on Windows (bug 503595, r=sayrer). 2009-07-11 12:40:37 -07:00
Andreas Gal 88d66ad970 Remove unnecessary cast to unsigned (introduced by bug 502241, r=graydon). 2009-07-10 17:18:25 -07:00
Graydon Hoare 0eda0152d6 Bug 503593 - NJ: whitespace and modeline cleanup, r=gal.
--HG--
extra : rebase_source : c7fcc1acaadb2264796a3ee7a20866eecc4dc484
2009-07-10 12:58:34 -07:00
Blake Kaplan 1a39470bb7 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 bcd7f90a89 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 4e5dcde6ae Optimize stringify edge case. r=sayrer/jorendorff. 2009-07-10 15:13:54 -04:00
Graydon Hoare 7620a29a81 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 ca853a1cf6 Bug 503464 - Memory leak in JSScope::drop. r=brendan. 2009-07-10 10:36:29 -05:00
David Anderson 1b42e76745 Fixed division and modulo bugs with negative numbers and 0 (bug 498237, r=gal). 2009-07-09 18:14:32 -07:00
Graydon Hoare 93fd9b78e6 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 b26c3a2062 Bug 503343 - Change JSScope macros to methods. r=jorendorff 2009-07-09 15:27:21 -05:00
Brendan Eich f7ed16db83 Pick nits including warning provoker in jsregexp.cpp from bugs 463535 and 453730. 2009-07-09 15:18:08 -04:00
Brendan Eich 0563d26c70 Optimize GCto avoid atomic decrement in js_DropScope (503155, r=jorendorff). 2009-07-09 14:59:44 -04:00
Peter Van der Beken 7db4f5cd9f 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 6154c4b07e 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 4c1aac78db b=503570, [arm] jit crash with illegal instruction; r=gal 2009-07-16 21:05:29 -07:00
Vladimir Vukicevic cab646a652 b=500472; flash activex shunt for Windows CE; r=jst 2009-07-16 14:13:29 -07:00
Peter Van der Beken 02cf383aad 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 6c66488de0 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 879541b8ec 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 faa117c007 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 a6704330e8 Bug 499605: localize _labels, _patches and pending_lives in Assembler. r=edwsmith. 2009-07-09 08:54:31 +10:00
Nicholas Nethercote 10aa01c704 Bug 502788: avoid many redundant NULL comparisons in the LirReader pipeline. r=edwsmith. 2009-07-09 08:34:22 +10:00
Jason Orendorff 6231a18dbc 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 f46e5b55ed 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 45d78f6b4d 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 add28984af Bug 453730: trace JSOP_ARGUMENTS, r=gal 2009-07-08 11:16:41 -07:00
Graydon Hoare 5bd92baec5 Bug 502953 - Remove dead TraceTreeDrawer, r=dvander. 2009-07-07 15:31:03 -07:00
David Anderson 801bf5fb3a 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 a76a344830 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 5831133ea7 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 e4b167b3e6 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 0a82538ec8 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 c6abfe12e5 Trivial fix for a TMFILES=liveness debug output assertion failure. 2009-07-07 15:25:50 +10:00
Nicholas Nethercote 5ba4351251 Add some info on troubleshooting in the TraceVis README. 2009-07-07 12:31:09 +10:00
Nicholas Nethercote 42b4799749 Fix compile breakage on optimized builds caused by my last commit. 2009-07-07 09:49:55 +10:00
Nicholas Nethercote 0123dd4b1d Bug 502539: move displacements into load instructions. r=gal,edwsmith. 2009-07-07 09:26:12 +10:00
David Mandelin 938af66eb9 Bug 502058: blacklist regexps for native compilation more efficiently and reliably, r=gal 2009-07-06 13:21:32 -07:00
Luke Wagner f14098bddb 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 7da710114d Merge mozilla-central to tracemonkey. 2009-07-06 12:20:54 -04:00
Andreas Gal 58be2470a2 Build fix for 502145 with JS_TRACER disabled (no bug). 2009-07-06 07:01:21 +02:00
Andreas Gal 539e90642d Shortcut lookup flag calculation when on trace (bug 502145, r=igor). 2009-07-06 06:42:13 +02:00
Peter Van der Beken 7461727b5f Try to fix orange. 2009-07-05 20:03:52 +02:00
Andreas Gal 62b184e1f8 Add an argument to bench.sh that selects which shell to test (no bug). 2009-07-03 22:26:27 -07:00
Andreas Gal 38d8fac6c7 Fix warnings in jsxdrapi.cpp (502296, r=jwalden). 2009-07-03 17:37:41 -07:00
Andreas Gal fae6c2c16d Consistently use signed ints for pcdepth (502241, r=brendan). 2009-07-03 17:03:24 -07:00
Andreas Gal 38bec06e4c Cleanup alignment cast for jump tables (502242, r=jwalden). 2009-07-03 16:55:22 -07:00
Nicholas Nethercote 62f7c87f98 Bug 493125 - remove LIR_cs. r=edwsmith. 2009-07-02 12:21:28 +10:00
Luke Wagner 3c25c163ba 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 55f8232fd9 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 2126305b08 Bug 492866: implement variable-width LIR. r=graydon. 2009-07-01 14:18:55 +10:00
Nicholas Nethercote 4cda697bb6 Backed out changeset ae16e5919d19 (tree was closed for talos maintenance). 2009-07-01 11:33:54 +10:00
Nicholas Nethercote 5ac80508a7 Make LIR variable-width (bug 492866, r=graydon). 2009-07-01 11:13:22 +10:00
Luke Wagner 0dbb7fe5e9 Bug 200505 - Optimization of jsref array_join_sub() function. r=waldo 2009-06-30 20:19:42 -04:00
Robert Sayre ac161b29f7 Backed out changeset b2256abf53c0 2009-06-30 12:14:09 -07:00
Luke Wagner f4262ecf76 Bug 200505 - Optimization of jsref array_join_sub() function. r=waldo 2009-06-30 11:29:43 -07:00
Nicholas Nethercote 0387130125 Remove dead setCallTable() declaration (bug 488515, r=gal). 2009-06-30 14:55:44 +10:00
David Mandelin 99949e5c2a 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 6c72c60910 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 d12732ccbe js_GetMethod shouldn't detect (501229, r=jorendorff). 2009-06-29 15:19:37 -07:00
David Mandelin 9e8e0f155f Bug 496448: check in python scripts for TraceVis, r=brendan 2009-06-29 14:56:57 -07:00
Andreas Gal f88980cdf4 clearResv() is i->resv()->clear() now (501072, r=graydon). 2009-06-29 13:23:06 -07:00
Paritosh Aggarwal 2f3f19f2d3 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 3dda00e0ed Missing strtointeger path in js_StringToInt32 (501124, r=brendan). 2009-06-29 10:55:43 -07:00
Robert Sayre 0ea9ef5bdf Merge. 2009-06-27 11:21:54 -07:00
Robert Sayre f28cd0f53f Merge mozilla-central to tracemonkey 2009-06-27 11:19:19 -07:00
Andreas Gal c7c6875d53 Deep abort is not detected in JSOP_IN (500108, r=dvander). 2009-06-26 16:29:38 -07:00
Graydon Hoare d6e8ddb960 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 608ab1827c 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 b44a5e1940 Bug 500491 - Only reset saved JSOPTION_JIT after js_Execute, r=brendan. 2009-06-25 16:20:53 -07:00
Brendan Eich e4eb26eec9 Back out incorrect patch for bug 497789 (r=jorendorff). 2009-06-26 10:40:51 -07:00
Jason Orendorff 9ed1b5714e Bug 499897 - reverse INULL in js_ComputeFilename. r=Waldo. 2009-06-25 18:03:46 -05:00
David Anderson 5c1354da2f 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 72c9c4ea8c Windows bustage fix, r=foopy
--HG--
extra : rebase_source : 3e6a65cb262f12fe73b3ef7657a1f38c9673ad99
2009-06-25 16:36:25 -07:00
David Anderson 71dc90a4dc Merge. 2009-06-25 16:19:56 -07:00
David Anderson e2e588f7a9 Nits. 2009-06-25 16:15:08 -07:00
David Anderson e023b371d1 Avoid pedantic errors about trailing commas in lists (build bustage fix). 2009-06-25 16:02:29 -07:00
David Anderson 14fed67663 Follow-up nits to bug 500522. 2009-06-25 15:41:18 -07:00
David Anderson cf76f7bcd1 Print exit names instead of numbers (bug 500522, r=gal). 2009-06-25 15:32:50 -07:00
David Anderson 01555189df Added TMFLAGS=full mode to mimic TRACEMONKEY=verbose (bug 500517, r=gal). 2009-06-25 14:43:20 -07:00
Brendan Eich 0f0928b678 Followup assertion restoration and comment fix (497789, r=jorendorff). 2009-06-25 14:16:06 -07:00
Graydon Hoare 27d6f90feb Bug 473989 - Enable trace-test on 'make check', r=ted. 2009-06-25 12:47:00 -07:00
Benjamin Smedberg df4498e9c8 GetAtomFromBytecode is actually JS_REQUIRES_STACK, just marking it so. 2009-06-25 15:19:37 -04:00
Benjamin Smedberg 8425bf9e89 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 9bde4f0300 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 56df1f0865 Bug 491988 - do JS_REQUIRES_STACK analysis on function pointers, r=jorendorff+dmandelin 2009-06-25 15:12:19 -04:00
Benjamin Smedberg 55cc99b03f 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 93354c76c5 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 3c2efd0a5e Bug 494864 - Make nanojit debug output easier to follow, r=graydon. 2009-06-24 20:32:00 -07:00
Brendan Eich 9025a34370 Nit followup to 496674 (r=graydon). 2009-06-24 16:33:20 -07:00
Robert Sayre 6a6c2fc430 Merge mozilla-central to tracemonkey. 2009-06-24 13:16:16 -07:00
Graydon Hoare 757456e029 Bug 496674 - Replace FORALL macros with template functions and visitors, take 2, r=gal. 2009-06-19 18:48:05 -07:00
Jacob Bramley 0ca54b63c5 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 8da7934fdd Use BLX to provide ARM/Thumb interworking support on ARM. (486639, r=vladimir) 2009-06-24 15:54:35 +01:00
Jacob Bramley 008383fa40 Correct some corner cases in the branch patching code for ARM. (486325, r=vladimir) 2009-06-24 15:26:07 +01:00
Jacob Bramley 1ac546f87f Improve exit code efficiency on ARM. (491678, r=vladimir) 2009-06-24 08:17:44 +01:00
Boris Zbarsky 53153ae1dd Bug 499865. Log blacklists as part of our jitstats. r=jorendorff 2009-06-23 23:44:38 -04:00
Andreas Gal 45f64ac5b6 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 29541601ad Check for end of proto chain when walking it (499169, r=mrbkap). 2009-06-23 19:22:54 -07:00
Jeff Walden 728a217de8 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 3247924303 Backed out changeset 5e1b444c803c, broke static analysis tinderbox. 2009-06-23 16:58:30 -07:00
Graydon Hoare 16609d8a37 Bug 496674 - Replace FORALL macros with template functions and visitors, r=gal. 2009-06-19 18:48:05 -07:00
Andreas Gal 2e23d77442 Backed out changeset 55a8910d8436 (no consensus whether patch should be applied, bug 499664). 2009-06-23 15:50:23 -07:00
Andreas Gal a0abd7fa68 Eliminate 64-bit LIR_callh hack (499664, r=dvander). 2009-06-23 15:11:49 -07:00
Andreas Gal 2b85721194 Move details of LIns format into LIns class itself (500053, r=dvander). 2009-06-23 14:51:15 -07:00
David Mandelin b5835292b2 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 ca47be33c5 bug 499570 - fixing shutdown leak of not-yet-closed JSNativeEnumerator instances. r=brendan 2009-06-23 18:52:03 +02:00
Jacob Bramley 78e3ec6a4d 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 110458c8a4 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 074631d53c 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 fbc6d7224b 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 2607a5750d Remove unused field 'parent' from class LabelMap (bug 499400, r=gal). 2009-06-23 14:11:09 +10:00
Graydon Hoare b094caff7f 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 87fe4ff394 Bug 499016 - Provide testing support for lirasm. r=graydon. 2009-06-22 17:22:09 -05:00
Paritosh Aggarwal 1b5bd7988c Bug 497991 - Fix function calls in lirasm. r=graydon,r=jorendorff. 2009-06-22 17:16:21 -05:00
Nicholas Nethercote 3841384e3e Remove unused isCse() and LirBuffer() args (bug 499260, r=edwsmith). 2009-06-22 14:48:16 +10:00
Nicholas Nethercote b7a14c0256 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 174b6a9874 remove LIR_calli and LIR_fcalli (492478, r=edwsmith,jorendorff). 2009-06-19 10:20:26 +01:00
Andreas Gal e1bf7fcac2 Remove NativeThumb.cpp (bug 486535, hg totally sucks). 2009-06-19 09:47:16 +01:00
Jacob.Bramley@arm.com c1e865b841 Remove remaining obsolete ARM Thumb code (486535, r=gal). 2009-06-19 09:45:52 +01:00
Andreas Gal 9131352b7a Backed out changeset 1b5584a4eba4. Accidentally committed some unreviewed changes. 2009-06-19 09:42:34 +01:00
Jacob.Bramley@arm.com 0a5fef6509 Remove remaining obsolete ARM Thumb code (486535, r=gal). 2009-06-19 09:37:38 +01:00
Graydon Hoare 62b30456df 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 fba9860074 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 8cb0efec26 bug 498899 - avoiding excessive JS_(LOCK|UNLOCK)_OBJ while quering property cache. r=brendan 2009-06-18 15:24:06 +02:00
Igor Bukanov 407f774141 Backed out changeset 7ab1be136cfa - that patch for bug 498899 has a bug. 2009-06-18 15:00:55 +02:00
Igor Bukanov b5255ffab4 bug 498899 - avoiding excessive JS_(LOCK|UNLOCK)_OBJ while quering property cache. r=brendan 2009-06-18 14:26:16 +02:00
Paritosh Aggarwal e167c6d9b2 Bug 498926 - lirasm - Support --execute with LIR_fret. r=jorendorff. 2009-06-17 11:52:20 -05:00
Igor Bukanov 29f931221f bug 498874 - fixing GCC warnings about unsigned < 0 comparisons. r=gal 2009-06-17 13:57:03 +02:00
Jonathan Steele 2e25f45794 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 d455cfe1f6 Check for end of proto chain when walking it (499169, r=mrbkap). 2009-06-23 19:22:54 -07:00
Andreas Gal af1e4816cd 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 d7f40bae65 Bug 494639 - NJ: fix numerous LIR memory management problems, r=graydon 2009-06-16 14:01:31 -07:00
Graydon Hoare e8a611be74 Bug 496448 - Followup to fix build, r=jorendorff.
--HG--
extra : rebase_source : b9e08e853fcd183ef88b7cfac1e70ca199feb214
2009-06-16 12:19:29 -07:00
Jason Orendorff 67b92dd994 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 ef6ebe4879 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 6af0848b53 Bug 496448: TraceVis TraceMonkey performance visualization, r=brendan 2009-06-16 09:30:01 +01:00
David Mandelin 05d4551d84 Bug 497779: try to extend tree on inner-tree CASE_EXIT, r=gal 2009-06-16 09:10:28 +01:00
Phil Ringnalda e7d4b33ab3 Bug 499632 - Remove run_viewer target, r=ted 2009-06-26 22:31:32 -07:00
Walter Meinl 4739734af2 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 92677ff596 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 dfd2b373c7 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 b53ba941af b=503205; [arm] stop hitting bogus assertion in nPatchBranch; r=crashy 2009-07-08 16:46:57 -07:00
Phil Ringnalda d2ca4abd8e Bug 435923 - Remove BUILD_OFFICIAL in favor of MOZILLA_OFFICIAL, r=ted 2009-07-07 20:24:45 -07:00
Phil Ringnalda b493ac4260 Bug 501586 - Remove the last vestiges of MOZ_MILESTONE_RELEASE, r=ted 2009-07-07 20:24:40 -07:00
Peter Van der Beken 8a929b8dd5 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 5c69014ee8 Bug 486990 - Context Menu can be disabled by stopping propagation, r=enn, sr=neil 2009-06-23 13:07:39 +03:00
Vladimir Vukicevic 87e9c3bbdd 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 d748abbc44 Bug 497618 - Change JSString macros to methods. r=Waldo. 2009-06-10 20:29:44 -05:00
Jason Orendorff f1a1b5d012 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
Nicholas Nethercote 377a5cca71 NJ: fix load opcode checking, r=graydon. 2009-06-15 12:04:06 -07:00
Andreas Gal 731ccbf2f2 Support tracing instanceof operator (498351, r=jorendorff). 2009-06-15 16:44:30 +01:00
Andreas Gal 3d8a18be9e Remove obsolete ARM/Thumb code (no bug). 2009-06-13 20:05:28 -05:00
Brendan Eich 21d0446618 Over-parenthesize per house style and to avoid GCC warning (r=nnethercote, private communication). 2009-06-14 19:37:43 -07:00
Andreas Gal 78c2805c4f Cleanup expression filter in LIR.cpp (497935, r=edwsmith). 2009-06-13 18:04:08 -05:00
Andreas Gal 2cf0500025 Don't trace attempted setting of a constant in an active frame (495962, r=brendan). 2009-06-13 17:31:19 -05:00
Andreas Gal 3db0007cbb adjustCallerTypes does not aggressively undemote globals anymore (bug 496482, r=dvander). relanding 2009-06-12 17:26:56 -07:00
Andreas Gal f6d3823b9a Optimize ECMA double to int32 conversion path (patch by mohammad.r.haghighat@intel.com, r=dvander). 2009-06-12 15:18:10 -07:00
Blake Kaplan 4a73145f6b Bug 497998 - Remove obsolete assertion. r=brendan 2009-06-12 14:53:25 -07:00
Graydon Hoare 13f89f4db2 Bug 484142 - Standalone LIR assembler, r=jorendorff. 2009-06-12 11:33:08 -07:00
Andreas Gal 4d749e81b0 Implement oracle-based speculative fmod/fdiv/fmul demotion (474443, r=graydon,dvander). 2009-06-12 08:33:32 -07:00
Blake Kaplan 4f85c606d0 Bug 497119 - Don't assume that we have a cx->fp (or that fp is on cx->fp at all). Set up display as it would have been when fp was active, though. r=brendan 2009-06-11 14:12:23 -07:00
Jeff Walden 0f0824850b Bug 497207 - Define |enum JSTraceType| and stop overloading JSVAL_* for trace-time types. r=jorendorff
--HG--
extra : rebase_source : bb72ca3ad8fab4d0b2affca611630bf5a9559531
2009-06-10 16:58:02 -07:00
Andreas Gal fb69e1940d Correctly disable conditional moves on platforms that do not support them (497455, r=graydon). 2009-06-10 15:21:10 -07:00
Brendan Eich a92026b314 Cast to int16 when tagging slot as an int jsval to satisfy an assertion (497146, r=igor from the future). 2009-06-10 12:15:01 -07:00
David Mandelin 293dd7ac94 Bug 497015: correctly account for tracing/interpreter differences in layout of slots/stack for upvars in top-level frame, r=gal 2009-06-09 17:18:42 -07:00
David Mandelin ed1bdc410d Bug 496922: do upvars correctly when the function defining the upvar was called with extra args, r=brendan,gal 2009-06-09 11:49:53 -07:00
Brendan Eich 18f4f502cb Wrapper automation should not apply to flat closures, plus cleanup (496790, r=igor). 2009-06-09 00:51:02 -07:00
Blake Kaplan 8880976941 Bug 496870 - Emit JSOP_STARTXMLEXPR before potentially emitting any LC nodes in a list. r=Waldo 2009-06-08 16:48:30 -07:00
ikezoe@clear-code.com f6c804164e LIns::isOp2() lacks qjoin (496851, r=gal,edwsmith). 2009-06-08 15:04:19 -07:00
Benjamin Smedberg 34ef74c81f Followup to bug 496824 - reverse the order of the asserts so that we know accessing cx->fp is safe 2009-06-08 17:07:26 -04:00
Brendan Eich b8e74e0e88 Add static analysis incantation, plus assert cx->fp for sanity (496824, r=mrbkap). 2009-06-08 13:35:43 -07:00
David Anderson 78276b0022 Fixed sideexit coalescing code not checking global count (bug 496813, r=gal). 2009-06-08 13:20:25 -07:00
Brendan Eich 8677f6b0b8 Fix destructuring binding to follow the cheezy dominance relation rules of the upvar analysis (496134, r=mrbkap; take 2). 2009-06-08 13:03:50 -07:00
Blake Kaplan aa49664ee1 Bug 496245 - Assertion failure: fun->u.i.script->upvarsOffset. r=brendan/dmandelin 2009-06-08 12:13:37 -07:00
David Mandelin 76108a5d31 Bug 496251: use up-to-date typemap when getting upvar from trace entry native frame, r=gal 2009-06-08 10:48:18 -07:00
Brendan Eich 7bc62fc773 Fix delete upvar (and local var, too) analysis (496422, r=igor). 2009-06-07 13:07:16 -07:00
danderson@mozilla.com cd083f82ce Merge global type maps at the loop nesting anchor site (496743, r=gal). 2009-06-06 14:04:23 -07:00
Nicholas Nethercote 2e703dfba9 Bug 495028. nanojit: add opcode checks to all LIR get/set methods. r=edwsmith 2009-06-06 12:58:11 -04:00
Robert Sayre b9d056f1e3 Back out bug 496134, destructuring assignment upvar fixes due to reported fuzzer problems 2009-06-06 02:20:06 -04:00
David Mandelin e8ec5605ac Bug 496270: correct use of C++ reference returned from function, r=gal 2009-06-05 16:19:06 -07:00
Brendan Eich 389f4a26c1 Fix destructuring binding to follow the cheezy dominance relation rules of the upvar analysis (496134, r=mrbkap). 2009-06-05 16:14:00 -07:00
Brendan Eich 503e7bd428 Skip let binding not in scope (in let head, e.g.) and find any shadowed binding (496532, r=mrbkap). 2009-06-05 13:55:51 -07:00
Brendan Eich b78f29c528 Last gasp for 496605 (r=igor). 2009-06-05 12:24:20 -07:00
Brendan Eich 13c356d322 Fast ultimate fighting web-compat followup for 496605 (r=mrbkap). 2009-06-05 12:13:22 -07:00
Brendan Eich 3845cba8f0 Bug 496605 - Need to prevent optimized closure escape via foo.caller still (r=igor). 2009-06-05 11:41:32 -07:00
Andreas Gal 3b395d1f05 Censor block objects in addition to call objects when accessing 'this' (496507, r=mrbkap). 2009-06-04 23:25:20 -07:00
Andreas Gal 9fbda25b61 Censor call object and substitute it with global object in getThis (496325, r=mrbkap). 2009-06-04 21:04:32 -07:00
Andreas Gal 963b3d1104 When merging type maps in a side exit, use the inner tree's globals (495958, r=dvander). 2009-06-04 20:42:56 -07:00
Robert Sayre bc58285df7 Merge. 2009-06-04 23:16:04 -04:00
Robert Sayre e98175be6f Merge m-c to tracemonkey. 2009-06-04 23:14:49 -04:00
Andreas Gal 1199bcd4cf Merge. 2009-06-04 20:12:44 -07:00
Andreas Gal 7769ca668c Backed out changeset 2ad658e9f42a (bug 495958, re-opened). 2009-06-04 20:12:31 -07:00
Andreas Gal 9a4616e89f Merge. 2009-06-04 20:11:07 -07:00
Andreas Gal 1012dc2e87 Backed out changeset 17664f5cab40 (bug 496482, also backing out the bug that introduced this bug). 2009-06-04 20:10:55 -07:00
Brendan Eich 3442a335eb Bug 494235: wrap escaping optimized closures for the debugger API (r=igor/mrbkap). 2009-06-04 18:58:47 -07:00
Andreas Gal 6e088c83e0 adjustCallerTypes does not aggressively undemote globals anymore (bug 496482). 2009-06-04 21:50:26 -04:00
timeless@mozdev.org 99deca10be Bug 440982 To avoid calling JS at unsafe times from JS_GC, jsds_ScriptHookProc should not get the script hook unless it needs to and it is safe to call
r=brendan sr=brendan
2009-06-04 21:00:56 -04:00
David Mandelin 3ba45396d8 Bug 496391: trash all trees before deleting fragments in js_PurgeScriptFragments, r=graydon 2009-06-04 17:50:08 -07:00
David Mandelin 6ccab514dc Bug 496319: correctly unpack FrameInfo::argc, r=mrbkap 2009-06-04 15:19:59 -07:00
Brendan Eich 8c719ddfa0 Make @ns::attr force HEAVYWEIGHT to avoid having to analyze ns as a lexical name (hack for 496316, r=igor). 2009-06-04 10:58:06 -07:00
Robert Sayre e72df385e3 Merge mozilla-central to tracemonkey. 2009-06-03 23:19:45 -04:00
Blake Kaplan e4192dd45f Bug 496113 - Unwrap 'with' objects before calling into getters to restore API compatibility. r=brendan 2009-06-03 16:37:44 -07:00
Jeff Walden 73693dae7d Bug 496054 - TM: Null deref [@ JITted code] involving __proto__ munging and array-like access. r=brendan 2009-06-03 16:34:37 -07:00
Boris Zbarsky 86fa0e0fb3 Bug 484459. Give SandboxClass a convert method so it doesn't end up delegating that to the prototype. r+sr=mrbkap 2009-06-03 18:49:53 -04:00
Andreas Gal 0907e50793 Capture missing globals from current environment, not the tree entry map when extending a side exit (495958, r=graydon). 2009-06-03 12:43:38 -07:00
Igor Bukanov 030e6eff11 bug 494645 - new "-r" option to the dis function disassemble recursively. r=mrbkap 2009-06-03 20:44:20 +02:00
David Mandelin f84e42a660 Bug 494269: trace JSOP_LAMBDA_FC, r=brendan,gal 2009-06-03 11:19:20 -07:00
Robert Sayre 6742da9299 Merge. 2009-06-03 01:18:05 -04:00
Blake Kaplan f131e4d920 Bug 495843 - Crash [@ js_Interpret] or Assertion failure: cg->stackDepth == stackDepth, at ../jsemit.cpp. r=brendan 2009-06-03 01:17:20 -04:00
Andreas Gal 0b00abfa4a Fall off trace if 'this' is a 'with' object (496057, r=mrbkap). 2009-06-02 20:03:58 -07:00
Andreas Gal 4132f36c93 Bug 495897 - Assertion failure: ti->typeMap.matches(ti_other->typeMap) with undeclared global. r=dvander 2009-06-02 22:28:59 -04:00
David Mandelin 8d227f27c6 Bug 495907: use more reliable code to get outermost tree script nest level, r=gal 2009-06-02 11:52:24 -07:00
Robert Sayre 9fb4d963fd Merge mozilla-central to tracemonkey. 2009-06-02 14:31:13 -04:00
Andreas Gal fd2fd093d7 Inspect the scope for the right object when looking up properties on fast arrays (495844, r=jwalden). 2009-06-01 18:58:56 -07:00
Andreas Gal 880e604ed7 Detect global object wrapping at recording time and on trace (495699, r=mrbkap). 2009-06-01 18:52:08 -07:00
Bob Clary 91e24a48b1 JavaScript Tests - bug 463782, bug 476192 - fix summaries to not include string 'Assertion fail', npotb. 2009-06-01 16:41:17 -07:00
Bob Clary c584a375ce bug 473096 - JavaScript Test - adjust test for new decompilation pattern. 2009-06-01 16:41:11 -07:00
Bob Clary abd0b9ed41 bug 476049 - JavaScript Test by Igor Bukanov. 2009-06-01 16:41:06 -07:00