Commit Graph

15990 Commits

Author SHA1 Message Date
Brian Hackett
f6bda3215b [INFER] Maybe fix ARM build. 2011-08-21 20:31:10 -07:00
Brian Hackett
a8c7cd87da [INFER] Fix ADDPROP PIC recompilation hazard, bug 680797. 2011-08-21 20:28:38 -07:00
Brian Hackett
02b4833303 [INFER] Don't mark the entry register allocation for a loop as needing updating until it has actually been computed, bug 680809. 2011-08-21 20:23:30 -07:00
Rafael Ávila de Espíndola
305df53162 Bug 678051 - Fix c++0x initializer list error found by clang. r=nnethercote.
--HG--
extra : convert_revision : 55c10227eece4a02b593997eda3dedef39af7beb
2011-08-21 20:18:18 -07:00
Brian Hackett
2c43eb4076 [INFER] Ensure inlined frames are expanded when searching for exception handlers, bug 680759. 2011-08-21 19:52:04 -07:00
Brian Hackett
45b8a69877 Merge MC -> JM 2011-08-21 16:00:26 -07:00
Ed Morley
ffbfafd053 Merge mozilla-central and mozilla-inbound 2011-08-21 19:14:08 +01:00
Igor Bukanov
cf19ff5d15 bug 680755 - replacing last frame checks with an auto class. r=jorendorff 2011-08-21 16:23:48 +02:00
Jason Orendorff
04e98f6fd3 Bug 677386 - Fix jsdbg2 breakpoint GC rules. r=billm. 2011-08-24 18:42:19 -05:00
Jason Orendorff
51d9a1ec05 Fix a breakpoint GC bug found by billm. See bug 677386 comment 8, first paragraph. r=billm on IRC. 2011-08-24 18:42:19 -05:00
Jim Blandy
01972cd38f Bug 673125: Implement the Debugger.Frame.prototype.onStep accessor. r=jorendorff. 2011-08-23 14:45:36 -05:00
Jim Blandy
3abd972834 Bug 673125: Provide stack-allocated vectors of JSObject pointers. r=luke. 2011-08-23 14:45:21 -05:00
Jim Blandy
fab58c0d9c Bug 673125: Have each JSScript maintain both a count and a flag indicating whether it should be in single-step mode. r=jorendorff.
The rationale is explained in the comments in jsscript.h.
2011-08-23 14:44:22 -05:00
Jim Blandy
f392770f34 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.
2011-08-23 14:44:03 -05:00
Brian Hackett
8cbe20828b Restore frame pointer at exception block entry before invoking any trap, bug 658491. r=jorendorff. 2011-08-23 14:43:26 -05:00
Jason Orendorff
b33e0d70c3 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
2011-08-23 14:42:17 -05: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
Brian Hackett
553636a891 [INFER] Remove s.live assertion. 2011-08-19 11:45:37 -07:00
Brian Hackett
f2c77a7056 [INFER] Don't treat initializers mutating __proto__ as constant singletons, bug 680217. 2011-08-19 10:54:51 -07:00
Kyle Huey
0e75aa6dec Back out Bug 659311 which made it to m-c prematurely. 2011-08-19 13:16:24 -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
William Maddox
7685c1d387 Bug 673214 - nanojit.h should probably include njcpudetect.h [stejohns@adobe.com] (r=nnethercote)
--HG--
extra : convert_revision : fc5941cc395ec47ca06c022fd7cdb44d9130eaf8
2011-08-17 15:41:30 -07: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
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
William Maddox
b1deb597ff Bug 679454 - Correctly handle cross-segment jumps on MIPS [chris@mips.com] (r=wmaddox)
--HG--
extra : convert_revision : bed1948bd2e72c4d77016289242645a50277483d
2011-08-17 14:29:08 -07:00
Edwin Smith
38fd21bc5d Bug 679397 - X64 branch patch code seems to be wrong for jmp 64bit, but is actually fine: comment needed. (r=edwsmith)
--HG--
extra : convert_revision : f8df3cfd88b628f5488f3b6734543e3f7ff6f968
2011-08-17 16:11:36 -04:00
Luke Wagner
5f3109a26e Bug 676937 - Make entering a compartment and pushing a dummy frame an atomic stack operation (r=mrbkap) 2011-08-05 14:06:33 -07:00
Brian Hackett
eae037f0a7 [INFER] Allow analysis/compilation of top level <script>, bug 662704. 2011-08-18 08:54:36 -07:00
Jan de Mooij
a8cdc60ea1 [INFER] Don't clobber value register in convertForTypedArray, bug 679666. r=bhackett 2011-08-18 16:07:55 +02:00
Brian Hackett
febafa7470 [INFER] Add missing check for unknownProperties(), bug 679810. 2011-08-17 17:41:50 -07:00
Brian Hackett
623e341976 [INFER] Add missing MakeTypeId, bug 679799. 2011-08-17 17:37:32 -07:00
Brian Hackett
42c4de9ad1 [INFER] Don't use type barriers when compiling GETELEM on typed arrays, bug 678782. 2011-08-17 16:11:38 -07:00
Brian Hackett
e3657362df [INFER] Mark singleton JSObjects as well as TypeObjects when a GC is triggered during analysis, bug 678240. 2011-08-17 13:16:11 -07:00
Brian Hackett
7619efd11f [INFER] Always print spew on debug mode type failures. 2011-08-17 09:07:42 -07:00
Brian Hackett
f3b5be7a42 [INFER] Allocate typeset data and properties from arenas, occasionally purge observed types in compartments, bug 679329. 2011-08-17 06:48:14 -07:00
Jan de Mooij
4857992503 [INFER] Compile IFEQX/IFNEX, GOTOX and TABLESWITCHX, bug 678939. r=bhackett 2011-08-17 11:44:02 +02:00
Brian Hackett
2360cdb4f3 [INFER] Fix GC hazard, bug 679094. 2011-08-15 18:52:22 -07:00
Brian Hackett
475556195e [INFER] Fix warnings. 2011-08-15 11:41:52 -07:00
Leon Sha
09aa8919d5 Bug 674179 - [INFER] Make TypeInference work on solaris sparc. r= bhackett. 2011-08-15 01:38:34 -07:00
Brian Hackett
06268c9f02 Merge MC -> JM 2011-08-14 19:51:16 -07:00
Brian Hackett
4cc8b9aec6 [INFER] Fix recompilation hazard in BindName IC, bug 676764. 2011-08-12 13:16:17 -07:00
Brian Hackett
4c595716d9 [INFER] Treat 'this' in constructors as live throughout the script, bug 678234. 2011-08-12 09:41:48 -07:00
Brian Hackett
e1bf2dd7ad [INFER] Sync 'this' fe when testing for primitive return in functions which return a value with unknown type, bug 678141. 2011-08-12 09:18:48 -07:00
Brian Hackett
a267141537 [INFER] Avoid bogus assertion in AssertValidPropertyCacheHit, bug 678087. 2011-08-12 07:54:15 -07:00
Brian Hackett
4c611afd71 Merge MC -> JM 2011-08-12 07:20:08 -07:00
Brian Hackett
bff5c4b010 [INFER] Finalize 'new' script objects in background when possible, bug 678048. 2011-08-11 20:56:17 -07:00
Brian Hackett
88486c366a [INFER] Fix typed array merge botch, bug 678029. 2011-08-11 09:42:41 -07:00
Luke Wagner
fb1c834edd Bug 676937 - Make entering a compartment and pushing a dummy frame an atomic stack operation (r=mrbkap) 2011-08-10 17:34:42 -07:00
Shu-yu Guo
bf65fbecb4 [INFER] Fold integer values across TOID. r=bhackett 2011-08-10 16:06:36 -07: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
Shu-yu Guo
552db1b86a [INFER] Have DUP/DUP2 propagate correct SSA values. r=bhackett 2011-08-10 12:30:34 -07:00
Brian Hackett
58b98f768d [INFER] Address opcode profiling review comments, bug 676515. r=sfink 2011-08-10 10:05:49 -07:00
Brian Hackett
b1b711bcfc [INFER] Maybe fix ARM build. 2011-08-10 09:18:05 -07:00
Brian Hackett
a0624338aa [INFER] Don't check for pending exception when restoring interpreter vars after pushing/popping an inline frame. 2011-08-10 09:13:42 -07:00
Kyle Huey
77bcd4d8bb Merge b-s to m-c. 2011-08-10 11:12:30 -04:00
Justin Wood
19e1a18275 Backout Bug 648134 due to bustage. (rather than back out the whole push) 2011-08-10 05:18:24 -04:00
Brian Hackett
21eec4face [INFER] Fix build breaks. 2011-08-09 20:51:22 -07:00
Brian Hackett
2b67b73ad5 [INFER] Watch out for incorrect SSA use chains in scripts where LOCAL ops alias stack values, bug 677635. 2011-08-09 19:02:24 -07:00
Brian Hackett
1986684c09 [INFER] Don't attach property stubs to GETELEMs fetching stringified integer indexes, bug 677019. 2011-08-09 18:18:58 -07:00
Kyle Huey
9536725f1f Bug 458936: Replace xpidlc's typelib generation with a python equivalent. r=ted 2011-08-09 20:48:41 -04:00
Brian Hackett
5782d27b2a [INFER] Maybe fix ARM build. 2011-08-09 17:19:42 -07:00
Brian Hackett
65c48b648b [INFER] Store base of data directly in typed arrays, bug 677743. 2011-08-09 17:12:52 -07:00
Brian Hackett
9b769204de Merge MC -> JM 2011-08-09 13:29:11 -07:00
Brian Hackett
08395b54ce [INFER] Trigger recompilation when changing or removing newScript information, bug 677006. 2011-08-09 09:52:55 -07:00
Brian Hackett
cbe02dc1d0 [INFER] Inline creation of objects for {}, [], Array() and monomorphic scripted new, bug 677006. 2011-08-09 09:26:08 -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
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