Commit Graph

15851 Commits

Author SHA1 Message Date
Jim Blandy
5c0272ce1c Bug 673125: Maintain a list of active js::Interrupt frames, their FrameRegs, and their interruptors. r=jorendorff.
The comment atop InterpreterFrames explains why this is needed, although it
is only used by later patches in the series.

--HG--
extra : rebase_source : 8cef90aea28f4fd71091a7bb6effcfcc7c8b5aa0
2011-08-23 14:44:03 -05:00
Brian Hackett
5b644de997 Restore frame pointer at exception block entry before invoking any trap, bug 658491. r=jorendorff.
--HG--
rename : js/src/jit-test/tests/debug/onEnterFrame-05.js => js/src/jit-test/tests/debug/onEnterFrame-04.js
extra : rebase_source : 6790cf37ea7eec05e768940710a97b37f30a1ebf
2011-08-23 14:43:26 -05:00
Jason Orendorff
6514983537 Bug 680428 - onEnterFrame does not work with tracejit. r=dvander.
--HG--
rename : js/src/jit-test/tests/debug/onEnterFrame-05.js => js/src/jit-test/tests/debug/onEnterFrame-04.js
extra : rebase_source : f3c4ff14ae6a95e7c891ea5aac2cfee8c2e28c68
2011-08-23 14:42:17 -05:00
Jacek Caban
87e30c7819 Bug 680872 - PolyIC.cpp fails to compile on mingw-w64 r=jorendorff 2011-08-23 17:36:04 +02:00
Mike Hommey
531e9957c1 Bug 680642 - Don't enable YARR JIT on MIPS, as the implementation is missing. r=dmandelin 2011-08-23 16:13:55 +02:00
Mike Hommey
8aeec92c04 Bug 670719 - Only add -DENABLE_JIT=1 to CXXFLAGS if any of trace/method/yarr jit is enabled. r=dmandelin 2011-08-23 16:13:21 +02:00
Steve Fink
243e7968e5 Bug 678954 - Add object files back into dtrace command line for Solaris dtrace support (r=khuey)
Also the current version of systemtap on Linux does not need those object files any more (older versions did), they are accepted without complaint.

--HG--
extra : rebase_source : 95171251f96b31b4dbc9064fc75ff3aeaac4bf87
2011-08-17 15:14:52 -07:00
Bill McCloskey
ca3db625cd Bug 679593 - Null out JSScript (r=dmandelin) 2011-08-22 14:33:32 -07:00
Ed Morley
6d02b96c78 Backout e10579e136f1 (bug 680636) for breaking pymake builds 2011-08-22 22:26:00 +01:00
Gregory Szorc
f50e80f32d Bug 680636 - Execute nsinstall.py as Python module under PyMake; r=khuey 2011-08-22 19:32:51 +01:00
Mounir Lamouri
19c9fefc9c Merging mozilla-central into mozilla-inbound. 2011-08-22 19:47:54 +02:00
Mounir Lamouri
40f9c8f332 Merging mozilla-inbound into mozilla-central. 2011-08-22 19:46:18 +02:00
Gregory Szorc
617912109c Bug 680534 - Clean up $(IDL_DIR) rule definition; r=khuey 2011-08-22 18:34:01 +01:00
Rafael Ávila de Espíndola
09c724072a Bug 680711 - Remove the BUILD_MODULES variable. r=khuey 2011-08-22 13:10:15 -04:00
nospam.kotarou.dono@gmail.com
f5a04ae59a Bug 672024 - Mingw build error: undefined reference to `WinMain@16\' in nsinstall_win.c r=khuey 2011-08-22 14:22:03 +02:00
Geoff Brown
7329896875 Bug 668351 - Add make targets to run xpcshell tests on Android; r=jmaher 2011-08-22 09:00:50 +01:00
Geoff Brown
1264a5446f Bug 668349 - Changes to xpcshell.ini; r=jmaher 2011-08-22 09:00:50 +01:00
Brad Lassey
95b9e4b0eb Bug 661282 - Follow up: Bring back the original handling for not specifying --appomni; f=gbrown r=bsmedberg 2011-08-22 09:00:34 +01:00
Sander van Veen
5e4ea0ca8d Bug 673331 - Add identifying information to system compartments. r=mrbkap. 2011-08-21 16:02:24 -07:00
Ed Morley
ffbfafd053 Merge mozilla-central and mozilla-inbound 2011-08-21 19:14:08 +01:00
Rafael Ávila de Espíndola
a8617e6339 Bug 680515 - Don't use MODULE_OPTIMIZE_FLAGS in js/src.
Using MODULE_OPTIMIZE_FLAGS overrides MOZ_OPTIMIZE_FLAGS and prevents
js/src/configure from sharing more logic with the toplevel configure.
2011-08-20 18:28:52 -04:00
Phil Ringnalda
6f5f23ea63 Back out ecef6506d094 (bug 680515) for busting opt OS X 2011-08-19 18:42:11 -07:00
Matt Brubeck
505315087e Merge last green changeset from mozilla-central to mozilla-inbound 2011-08-19 16:26:25 -07:00
Rafael Ávila de Espíndola
60c25ccc4f Bug 680515 - Setting MOZ_OPTIMIZE_FLAGS in js/src/configure.in is not effective; r=khuey 2011-08-19 18:16:31 -04:00
David Flanagan
429a3e19b2 Bug 680228 - In Disassemble show associated catch for a try opcode. r=sphink
--HG--
extra : rebase_source : f2412f188c0bb7db7f5c4e9717938a9888c7c0ed
2011-08-19 22:46:32 +02:00
Benjamin Smedberg
8693754aaa Bug 679796 - Make js_DumpStackFrame traverse saved frame chains and use the topmost iterated frame, not cx->fp(), r=luke 2011-08-19 15:39:27 -04:00
arno renevier
7a8e500d3d Bug 677864: fixes components members class description; r=mrbkap 2011-08-19 15:27:43 -04:00
Kyle Huey
dbf45cc017 Back out Bug 678867. 2011-08-19 15:17:34 -04:00
Kyle Huey
b9c27ce7e8 Back out Bug 678867. 2011-08-19 15:17:19 -04:00
Kyle Huey
0e75aa6dec Back out Bug 659311 which made it to m-c prematurely. 2011-08-19 13:16:24 -04:00
Kyle Huey
7393462fd3 Back out Bug 680515. 2011-08-22 11:08:48 -04:00
Kyle Huey
7887b9304a Backed out changeset 53f198cfbf47 because Bug 680515 caused compiler flags to change undesirably. 2011-08-22 11:08:33 -04:00
Marty Rosenberg
6eca8ea513 Bug 678928: don't use fmem_imm_off in the macro assembler, use its wrapper: 'floatTransfer'. r=adrake 2011-08-19 15:08:42 -07:00
Luke Wagner
bfcd3382e4 Bug 676937 - Make entering a compartment and pushing a dummy frame an atomic stack operation (r=mrbkap)
--HG--
extra : rebase_source : 5c5bfe6968e92ae9039cc65af919bd1519260492
2011-08-05 14:06:33 -07:00
Luke Wagner
aadcfc804f Bug 670071 - make Invoke + InvokeArgsGuard less error prone (r=waldo)
--HG--
extra : rebase_source : 7c37385d649394b07dbb92b20e33d6b28874acb0
2011-08-05 08:22:53 -07:00
Luke Wagner
82b532273f Bug 678362 - HashTable should not require callers to bounds-check initial capacity (r=waldo)
--HG--
extra : rebase_source : d0bb0faa097cd04b5be0644f17a37fb96aaffc2d
2011-08-11 18:10:16 -07:00
Luke Wagner
82d1f93fca Bug 677367 - Update pc in mjit throw-handling to match interp (r=dvander)
--HG--
extra : rebase_source : f57e8869d09959c444e13416c960a864f407de4a
2011-08-11 16:59:55 -07:00
Luke Wagner
7bed016524 Bug 677367 - Debug eval-in-frame needs to compute this of enclosing frame (r=jorendorff)
--HG--
rename : js/src/jit-test/tests/bug666448.js => js/src/jit-test/tests/basic/bug666448.js
extra : rebase_source : 0e58378c7456739e305fe2ed10a06a85dedbe830
2011-08-10 17:34:34 -07:00
Ehsan Akhgari
bb6cfae3d6 Bug 680277 - Debug builds should always be compiled with frame pointers; r=khuey 2011-08-18 19:16:25 -04:00
Ms2ger
5406bc5b33 Merge m-c to m-i. 2011-08-18 22:01:33 +02:00
Terrence Cole
5db6e596e0 Bug 547875 - No OOM check on trace when creating a null closure in JSOP_LAMBDA r=dmandelin 2011-08-18 21:50:18 +02:00
Jason Orendorff
4235dced5c Bug 679879 - Change JSFunction macros to methods. Part 2, js/src changes. r=Waldo. 2011-08-18 12:39:44 -05:00
Jason Orendorff
e03d6ae0ab Bug 679013 - jsdbg2: Crash when a scripted proxy handler throws Error.prototype. r=Waldo. 2011-08-18 12:30:19 -05:00
Kyle Huey
c29ddcfaa4 Merge b-s to m-c. 2011-08-18 06:49:06 -04:00
Marco Bonardo
5f0e2fc98d Backout changeset e6d269bc23b9 (bug 674251) to investigate Tdhtml regression on Mac. 2011-08-18 10:18:08 +02:00
Kyle Huey
78de1cd29f Bug 678867: Commit the half of the patch that mysteriously vanished. r=ted 2011-08-17 17:39:11 -04:00
Kyle Huey
80800be4e5 Bug 678867: Eradicate VPATH abuse from js/src. r=ted 2011-08-17 14:15:06 -04:00
Kyle Huey
de6e8acfb3 Merge m-c to b-s. 2011-08-17 07:32:25 -04:00
Mike Hommey
889bc1e410 Backout changesets 66b336cc59b1 and dfe63797f67a (bug 676252) beause of Linux opt perma-red 2011-08-17 07:45:20 +02:00
Ehsan Akhgari
6ebbd9cd9e Bump the Firefox versions from 8 to 9 on mozilla-central 2011-08-16 14:24:21 -04:00
Luke Wagner
7fc4640d11 Bug 679251 - InlineReturn should advance the pc always (r=dvander) 2011-08-16 09:23:30 -07:00
Brian Hackett
24c7f785f6 Fix GC hazard, bug 679094. r=jorendorff. 2011-08-16 06:52:44 -05:00
Mike Hommey
06def372f6 Bug 672756 - Allow to populate startupcache on xulrunner applications built with the SDK. r=ted 2011-08-16 09:19:51 +02:00
Daniel Holbert
03ca49f291 merge m-c to m-i 2011-08-15 21:12:06 -07:00
Steve Fink
0c99ef82c8 Bug 679893 - Move up handling of -D js shell argument so that JSOPTION_PCCOUNTS is set before constructing the initial script for Function class (r=cdleary)
--HG--
extra : rebase_source : 4a075c9091fd0ca6bb66df908360e1c3828be496
2011-08-17 15:14:39 -07:00
Ehsan Akhgari
0217d4f515 Backout changeset b75337bbcf6b (bug 677864) because of xpcshell test failure 2011-08-17 17:11:23 -04:00
arno renevier
b9993b42fa Bug 677864 - Fixes components members class description. r=mrbkap
--HG--
extra : rebase_source : 881d2b170dfbbd75848600a6b723e27bbc5e71e3
2011-08-16 13:57:58 -07:00
arno renevier
c0c2fd819c Bug 677880 - Rename nsIScriptableInterfaces and nsIScriptableInterfacesByID. r=mrbkap
--HG--
extra : rebase_source : 3d4f7062b9a1c9b07d51660751e121b141bb968c
2011-08-16 13:57:23 -07:00
Marco Castelluccio
fe9bc7f764 Bug 674014 - Remove "check whether mmap() sees write()s". r=glandium 2011-08-18 15:17:30 +02:00
Steve Fink
93cd3119ac Bug 673631 - Clean up probes and register (almost) all profiler control entry points in JS_DefineProfilingFunctions (r=luke,waldo,jst)
Previously, JS_DefineProfilingFunctions only defined a very basic set of
functions (startProfiling and stopProfiling), and various scattered places
added more specific ones (start/stop vtune, dumpProfile, etc.) This patch makes
jsdbgapi do all of it, so that all users get the same set.

Also rename JS_DumpProfile -> JS_DumpBytecode to avoid name conflict. The
bytecode dumps are how the counters ("profiles") are displayed, so the
DumpProfile name was bogus anyway.

--HG--
extra : rebase_source : 2d3e626ef43ac41c6da401a779775a63fc96a427
2011-07-26 15:56:09 -07:00
Chris Leary
44ce315942 Bug 675269: shell arguments bound to global |arguments|. (r=dvander) 2011-08-15 13:57:53 -07:00
Jeff Walden
98b0739498 Bug 678998 - Rename IsFunctionQName to GetLocalNameFromFunctionQName and make it infallible, now that QName's localName slot stores an atom and conversion to jsid can be infallible. r=luke
--HG--
extra : rebase_source : 5f0958ab3053b07ca87eb5955b274e3bd551d23d
2011-08-15 00:12:48 -04:00
Jeff Walden
dbd2819cf5 Bug 678998 - Make the QName localName slot store a local name that's been atomized, for simplicity. r=luke
--HG--
extra : rebase_source : 87d44a95111da809436322d95abd506e1c7beb00
2011-08-15 00:12:48 -04:00
Daniel Holbert
4f7855da4c (no bug) Use C-style instead of C++-style comment in jsopcode.h. rs=mrbkap 2011-08-15 12:11:41 -07:00
Daniel Holbert
429357d73b Bug 678845: Add "u" suffix to large integer literal values in testIndexToString.cpp, to fix GCC warning. r=Waldo 2011-08-15 11:44:17 -07:00
Mike Hommey
81319a847a Backed out changeset 884efa9dcbf9 due to OSX debug orange 2011-08-15 10:39:10 +02:00
Mike Hommey
c71d17420a Bug 672756 - Allow to populate startupcache on xulrunner applications built with the SDK. r=ted 2011-08-15 09:24:13 +02:00
Nicholas Nethercote
456abe9346 Bug 678126 - Add "tjit-data/trace-monitor" memory reporter. r=dmandelin. 2011-08-14 19:45:38 -07:00
Phil Ringnalda
34e9bd3e8e Bug 678781 - warnings-as-errors - format '%p' expects type 'void*', but argument 4 has type 'JSScript*' in InvokeHelpers.cpp:880:80, r=billm 2011-08-14 15:34:22 -07:00
Jason Orendorff
fbb0edbd8d Merge jsdbg2 to mozilla-inbound. See bug 672829. 2011-08-13 13:29:18 -05:00
Jason Orendorff
a1ebe4283d Mark test regress-677589.js as shell-only, since it tests the shell-only clone() function. no_r=me. 2011-08-13 07:05:43 -05:00
Jason Orendorff
e1a7105345 Fix GCC bogus opt-only warning in jsoptparse.cpp. no_r=me. 2011-08-13 07:00:33 -05:00
Jason Orendorff
36ce3d311c Fix opt-only linker error due to missing #include (probably due to a bad merge). r=try_server_red. 2011-08-13 06:57:35 -05:00
Robert Sayre
84d46f8730 Bug 678656 - fix some warnings in js/src/jsemit.cpp. r=dmandelin. 2011-08-13 06:54:16 -05:00
Jason Orendorff
d0dae6067c Merge from mozilla-central to jsdbg2. 2011-08-12 18:18:59 -05:00
Jason Orendorff
b213ad1587 Address review comment from bhackett (bug 672829 comment 84). 2011-08-12 17:22:43 -05:00
Ms2ger
66ab4757eb Merge m-c to m-i 2011-08-13 14:47:03 +02:00
Phil Ringnalda
d3b432509b Back out c8f38fb18c6a (bug 673631) for breaking the Shark shell build 2011-08-12 19:24:22 -07:00
Paul Biggar
373ea045df No bug: Fix comment where "new_array" should be "array_new" (rs=sfink). 2011-08-12 17:15:59 -07:00
Malini Das
a0832b693a Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das
da32b5cbd3 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- update tests. r=jmaher, a=test-only 2011-08-12 12:21:37 -04:00
Malini Das
e306b1b5aa Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Matt Brubeck
f2cba5adcb Merge the last green changeset from mozilla-inbound to mozilla-central 2011-08-12 06:41:55 -07:00
Jason Orendorff
d36ff061fa Address review comments from bhackett (bug 672829 comment 82). 2011-08-12 07:44:14 -05:00
Jason Orendorff
65e5022233 Remove a test that is redundant with Object-seal-01.js. 2011-08-12 07:42:38 -05:00
Jason Orendorff
1420796c6c Bug 678201 - Use CallArgs in Debugger.cpp. Part 6, add CallArgs to Object methods. r=luke. 2011-08-11 16:58:14 -05:00
Jason Orendorff
9fa8b7523e Bug 678201 - Use CallArgs in Debugger.cpp. Part 5, add CallArgs to Frame methods. r=luke. 2011-08-11 16:56:53 -05:00
Jason Orendorff
4527ec677f Bug 678201 - Use CallArgs in Debugger.cpp. Part 4, add CallArgs to Script methods. r=luke. 2011-08-11 16:52:44 -05:00
Jason Orendorff
c48c096916 Bug 678201 - Use CallArgs in Debugger.cpp. Part 3, add CallArgs to Debugger methods. r=luke. 2011-08-11 16:51:20 -05:00
Jason Orendorff
0a316b7c8b Bug 678201 - Use CallArgs in Debugger.cpp. Part 2, move THIS_DEBUGGER just before its first use. r=luke. 2011-08-11 16:49:17 -05:00
Jason Orendorff
385fa0774d Bug 678201 - Use CallArgs in Debugger.cpp. Part 1, specialize THISOBJ macro to THIS_DEBUGGER. r=luke. 2011-08-11 16:48:40 -05:00
Jason Orendorff
a84b890520 Address review comments from billm in bug 672829 comment 76. 2011-08-11 16:07:35 -05:00
Jason Orendorff
02efc70ce2 Fix Frame.arguments bug noticed by luke in bug 672829 comment 69. 2011-08-11 15:50:04 -05:00
Jason Orendorff
f3fcd7625a Address review comments from dmandelin (bug 672829 comment 68). 2011-08-11 09:40:25 -05:00
Jason Orendorff
eaa68e0207 Fix error messages to address review comments from sfink (bug 672829 comment 66). 2011-08-11 02:00:23 -05:00
Jason Orendorff
ed3e6bfd54 Add passing test Object-isSealed-01.js. no_r=me. 2011-08-11 01:33:19 -05:00
Jason Orendorff
9bca815475 Address review comments from billm (bug 672829 comment 65). 2011-08-11 00:58:28 -05:00
Rafael Ávila de Espíndola
875d19b690 Bug 678036 - Fix the build with clang in c++0x mode. The first field of a nanojit::CallInfo is a uintptr_t, fix the cast. r=cdleary 2011-08-11 15:39:13 +02:00
Mounir Lamouri
8b3a5c07fb Merging mozilla-inbound into mozilla-central. 2011-08-11 13:08:47 +02:00
Jason Orendorff
59fd77e00c Trivial cleanups: do not export vm/Debugger.h; rename Debugger::mark to markAllIteratively, delete a stray space. No bug number, rs=jimb. 2011-08-10 12:57:30 -05:00