Commit Graph

25212 Commits

Author SHA1 Message Date
Igor Bukanov
486ba2f469 bug 674251 - making JSScript a GC-thing. r=jorendorff,bhackett1024 2011-08-09 10:51:59 +02:00
Luke Wagner
7b216a61b8 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
b6b88f59e7 [INFER] Allow analysis/compilation of top level <script>, bug 662704. 2011-08-18 08:54:36 -07:00
Jan de Mooij
ba9d7b079c [INFER] Don't clobber value register in convertForTypedArray, bug 679666. r=bhackett 2011-08-18 16:07:55 +02:00
Brian Hackett
358100f144 [INFER] Add missing check for unknownProperties(), bug 679810. 2011-08-17 17:41:50 -07:00
Brian Hackett
7c61d8be31 [INFER] Add missing MakeTypeId, bug 679799. 2011-08-17 17:37:32 -07:00
Brian Hackett
92bf4ecc83 [INFER] Don't use type barriers when compiling GETELEM on typed arrays, bug 678782. 2011-08-17 16:11:38 -07:00
Brian Hackett
642c58bc41 [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
0b2a5a1429 [INFER] Always print spew on debug mode type failures. 2011-08-17 09:07:42 -07:00
Brian Hackett
123ea20cc0 [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
f3069475b1 [INFER] Compile IFEQX/IFNEX, GOTOX and TABLESWITCHX, bug 678939. r=bhackett 2011-08-17 11:44:02 +02:00
Brian Hackett
7e3e13c958 [INFER] Fix GC hazard, bug 679094. 2011-08-15 18:52:22 -07:00
Brian Hackett
5ce12bd4b1 [INFER] Fix warnings. 2011-08-15 11:41:52 -07:00
Leon Sha
e0b3aa4f6f Bug 674179 - [INFER] Make TypeInference work on solaris sparc. r= bhackett. 2011-08-15 01:38:34 -07:00
Brian Hackett
cf0e434189 Merge MC -> JM 2011-08-14 19:51:16 -07:00
Brian Hackett
7928615d37 [INFER] Fix recompilation hazard in BindName IC, bug 676764. 2011-08-12 13:16:17 -07:00
Brian Hackett
e7b546c8e8 [INFER] Treat 'this' in constructors as live throughout the script, bug 678234. 2011-08-12 09:41:48 -07:00
Brian Hackett
c3ab293c8b [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
29985a4bd0 [INFER] Avoid bogus assertion in AssertValidPropertyCacheHit, bug 678087. 2011-08-12 07:54:15 -07:00
Brian Hackett
a19a98106f Merge MC -> JM 2011-08-12 07:20:08 -07:00
Brian Hackett
fa6a6f9e42 [INFER] Finalize 'new' script objects in background when possible, bug 678048. 2011-08-11 20:56:17 -07:00
Brian Hackett
836fcfda5e [INFER] Fix typed array merge botch, bug 678029. 2011-08-11 09:42:41 -07:00
Luke Wagner
ba641bfc37 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
312000b3a4 [INFER] Fold integer values across TOID. r=bhackett 2011-08-10 16:06:36 -07:00
Rafael Ávila de Espíndola
67523116c9 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
43d40b8987 Merging mozilla-inbound into mozilla-central. 2011-08-11 13:08:47 +02:00
Shu-yu Guo
4f06332449 [INFER] Have DUP/DUP2 propagate correct SSA values. r=bhackett 2011-08-10 12:30:34 -07:00
Brian Hackett
5dc4fb04ab [INFER] Address opcode profiling review comments, bug 676515. r=sfink 2011-08-10 10:05:49 -07:00
Brian Hackett
76db765975 [INFER] Maybe fix ARM build. 2011-08-10 09:18:05 -07:00
Brian Hackett
3123c829cc [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
0dbd15635f Merge b-s to m-c. 2011-08-10 11:12:30 -04:00
Justin Wood
56cf7c44a6 Backout Bug 648134 due to bustage. (rather than back out the whole push) 2011-08-10 05:18:24 -04:00
Brian Hackett
7cda3111bc [INFER] Fix build breaks. 2011-08-09 20:51:22 -07:00
Brian Hackett
5d8dd5243b [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
66def33457 [INFER] Don't attach property stubs to GETELEMs fetching stringified integer indexes, bug 677019. 2011-08-09 18:18:58 -07:00
Kyle Huey
2154abc9ea Bug 458936: Replace xpidlc's typelib generation with a python equivalent. r=ted 2011-08-09 20:48:41 -04:00
Brian Hackett
a3d788d895 [INFER] Maybe fix ARM build. 2011-08-09 17:19:42 -07:00
Brian Hackett
3f74089b59 [INFER] Store base of data directly in typed arrays, bug 677743. 2011-08-09 17:12:52 -07:00
Brian Hackett
c743913090 Merge MC -> JM 2011-08-09 13:29:11 -07:00
Brian Hackett
305491606a [INFER] Trigger recompilation when changing or removing newScript information, bug 677006. 2011-08-09 09:52:55 -07:00
Brian Hackett
71ef9211e9 [INFER] Inline creation of objects for {}, [], Array() and monomorphic scripted new, bug 677006. 2011-08-09 09:26:08 -07:00
Luke Wagner
d928e02bd9 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
ee1e3d9a60 Merge jsdbg2 to mozilla-inbound. See bug 672829. 2011-08-13 13:29:18 -05:00
Jason Orendorff
b5b1e0e9d5 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
a07d905bff Fix GCC bogus opt-only warning in jsoptparse.cpp. no_r=me. 2011-08-13 07:00:33 -05:00
Jason Orendorff
6dbdb969c7 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
bc8306cf97 Bug 678656 - fix some warnings in js/src/jsemit.cpp. r=dmandelin. 2011-08-13 06:54:16 -05:00
Jason Orendorff
ed19f80f10 Merge from mozilla-central to jsdbg2. 2011-08-12 18:18:59 -05:00
Jason Orendorff
0062d59009 Address review comment from bhackett (bug 672829 comment 84). 2011-08-12 17:22:43 -05:00
Ms2ger
f1ce0d69e4 Merge m-c to m-i 2011-08-13 14:47:03 +02:00
Phil Ringnalda
5bc15911a8 Back out c8f38fb18c6a (bug 673631) for breaking the Shark shell build 2011-08-12 19:24:22 -07:00
Paul Biggar
0fde035266 No bug: Fix comment where "new_array" should be "array_new" (rs=sfink). 2011-08-12 17:15:59 -07:00
Malini Das
c20b68638f 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
91a27b5ddc 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
ea71db787e 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
981b18c20b Merge the last green changeset from mozilla-inbound to mozilla-central 2011-08-12 06:41:55 -07:00
Jason Orendorff
816c6734a0 Address review comments from bhackett (bug 672829 comment 82). 2011-08-12 07:44:14 -05:00
Jason Orendorff
b2bda62604 Remove a test that is redundant with Object-seal-01.js. 2011-08-12 07:42:38 -05:00
Jason Orendorff
2430a7ddf1 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
b1bc3dd5cb 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
e897abc518 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
a67c73c0fd 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
788276adb1 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
bd8edd8a73 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
e380b03fed Address review comments from billm in bug 672829 comment 76. 2011-08-11 16:07:35 -05:00
Jason Orendorff
0b35a3ea77 Fix Frame.arguments bug noticed by luke in bug 672829 comment 69. 2011-08-11 15:50:04 -05:00
Jason Orendorff
ede06b0702 Address review comments from dmandelin (bug 672829 comment 68). 2011-08-11 09:40:25 -05:00
Jason Orendorff
7e403322d1 Fix error messages to address review comments from sfink (bug 672829 comment 66). 2011-08-11 02:00:23 -05:00
Jason Orendorff
0784b3d12b Add passing test Object-isSealed-01.js. no_r=me. 2011-08-11 01:33:19 -05:00
Jason Orendorff
fb49ae587c Address review comments from billm (bug 672829 comment 65). 2011-08-11 00:58:28 -05:00
Jason Orendorff
625cb87b40 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
Jason Orendorff
d86b9e786e Bug 677371 - [jsdbg2] Assertion failure: throwing, at jscntxt.h:1274. r=jimb 2011-08-09 18:01:38 -05:00
Jason Orendorff
7f4f0ebb75 Bug 677587 - [jsdbg2] Assertion failure: debuggees.has(global), at vm/Debugger.cpp:1564. r=jimb. 2011-08-09 16:23:20 -05:00
Jason Orendorff
6e911b1cff Bug 677589 - [jsdbg2] Crash [@ JSObject::getClass] when cloning null. r=jimb. 2011-08-09 15:47:28 -05:00
Jason Orendorff
a29486bb4b Bug 677593 - [jsdbg2] Assertion failure: (ptrBits & 0x7) == 0, at ../jsval.h:705. r=jimb. 2011-08-09 15:46:41 -05:00
Jason Orendorff
17433542e7 Merge from mozilla-central to jsdbg2. 2011-08-09 10:21:12 -05:00
Ehsan Akhgari
356a62adb7 Merge the latest green changeset on mozilla-inbound to mozilla-central 2011-08-09 08:09:13 -04:00
Jan Varga
a298beaa2e Bug 617528 Part 2 - Core implementation r=smaug
--HG--
rename : content/html/content/test/test_bug418756.html => content/html/content/test/test_checked.html
2011-08-08 19:31:32 +02:00
Jason Orendorff
e43bf3ae22 Various test fixes. Some tests are changed so that they will still pass when native frames are added. 2011-08-06 17:40:55 -05:00
Brian Hackett
d02af80f44 [INFER] Fix ARM build. 2011-08-05 10:36:01 -07:00
Brian Hackett
5f58d9ae54 [INFER] Fix build break. 2011-08-05 09:49:42 -07:00
Igor Bukanov
a95a4fe60f bug 665354 - page-independent free span. r=wmccloskey 2011-08-05 18:43:59 +02:00
Marty Rosenberg
ff183d9b70 Fix fnegd_r() JaegerSpew. (Bug 676577, r=sstangl) 2011-08-10 17:51:00 -07:00
Marty Rosenberg
d25c7c6d4f Add GCC format attribute to JaegerSpew. (Bug 676577, r=sstangl) 2011-08-10 17:36:07 -07:00
Jason Orendorff
f89e2e8a73 Bug 672804 - "Assertion failure: parent" with trap right after JSOP_ENTERBLOCK. r=billm. 2011-08-10 17:40:39 -05:00
Jason Orendorff
998aedc526 Bug 677924 - JS shell: version(4096) asserts. r=cdleary. 2011-08-10 17:37:29 -05:00
Luke Wagner
caa47ccf64 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
Brad Lassey
d8758cf4ec backing out changesets 1baddb020156, d9456378c12d, 187ac0d7b154, 40e392d958e0 and f2e8ee893fe4 2011-08-10 18:18:09 -04:00
Brad Lassey
7c5064d2b0 follow up patch to fix orange from mismatched rules.mk r=orange 2011-08-10 17:53:37 -04:00
Luke Wagner
3c52a720af 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
07c93563ea 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
e33db94096 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
6e8ad40288 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
ecda2c9cc5 Bug 680277 - Debug builds should always be compiled with frame pointers; r=khuey 2011-08-18 19:16:25 -04:00
Ms2ger
4ef091c3ed Merge m-c to m-i. 2011-08-18 22:01:33 +02:00
Terrence Cole
929af32cf7 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
d440dd51a3 Bug 679879 - Change JSFunction macros to methods. Part 2, js/src changes. r=Waldo. 2011-08-18 12:39:44 -05:00
Jason Orendorff
7ed3561b9f Bug 679013 - jsdbg2: Crash when a scripted proxy handler throws Error.prototype. r=Waldo. 2011-08-18 12:30:19 -05:00
Kyle Huey
b4ea8dc43d Merge b-s to m-c. 2011-08-18 06:49:06 -04:00
Marco Bonardo
9376d94b80 Backout changeset e6d269bc23b9 (bug 674251) to investigate Tdhtml regression on Mac. 2011-08-18 10:18:08 +02:00
Kyle Huey
35767cd11c Bug 678867: Commit the half of the patch that mysteriously vanished. r=ted 2011-08-17 17:39:11 -04:00
Kyle Huey
7a97b4e260 Bug 678867: Eradicate VPATH abuse from js/src. r=ted 2011-08-17 14:15:06 -04:00
Kyle Huey
52581be774 Merge m-c to b-s. 2011-08-17 07:32:25 -04:00
Mike Hommey
55d3d28f57 Backout changesets 66b336cc59b1 and dfe63797f67a (bug 676252) beause of Linux opt perma-red 2011-08-17 07:45:20 +02:00
Ehsan Akhgari
97d8df19c2 Bump the Firefox versions from 8 to 9 on mozilla-central 2011-08-16 14:24:21 -04:00
Luke Wagner
2f3fa94526 Bug 679251 - InlineReturn should advance the pc always (r=dvander) 2011-08-16 09:23:30 -07:00
Brian Hackett
28ad505604 Fix GC hazard, bug 679094. r=jorendorff. 2011-08-16 06:52:44 -05:00
Mike Hommey
5c9c4a45ed 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
c35631abba merge m-c to m-i 2011-08-15 21:12:06 -07:00
Steve Fink
a84c59346f 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
6bd747cf5d Backout changeset b75337bbcf6b (bug 677864) because of xpcshell test failure 2011-08-17 17:11:23 -04:00
arno renevier
5f4e28b783 Bug 677864 - Fixes components members class description. r=mrbkap
--HG--
extra : rebase_source : 881d2b170dfbbd75848600a6b723e27bbc5e71e3
2011-08-16 13:57:58 -07:00
arno renevier
2d0c87fb7d Bug 677880 - Rename nsIScriptableInterfaces and nsIScriptableInterfacesByID. r=mrbkap
--HG--
extra : rebase_source : 3d4f7062b9a1c9b07d51660751e121b141bb968c
2011-08-16 13:57:23 -07:00
Brian Hackett
3086c8c1eb [INFER] Mark functions uninlineable when calling Invoke on an already-inlined frame, bug 676491. 2011-08-05 08:15:50 -07:00
Brian Hackett
8d408ca623 [INFER] Handle recompilation hazard in NAME ICs, recompilation triggered by BINDNAME, bug 676764. 2011-08-05 07:41:11 -07:00
Brian Hackett
3fb8034b85 [INFER] Pin types against GC when splicing prototypes, bug 675232. 2011-08-05 06:47:22 -07:00
Brian Hackett
c98e143eb7 [INFER] More detailed opcode-level profiling, bug 676515. 2011-08-05 05:51:14 -07:00
Walter Meinl
65a8495818 Bug 648134 - [OS/2] follow-up Stop building intermediate static libs with fakelibs. r=glandium 2011-08-05 00:16:00 -04:00
Michael Wu
fbcd07dca0 Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg 2011-08-06 22:03:32 -07:00
Ehsan Akhgari
346bc29808 Merge mozilla-central and mozilla-inbound 2011-08-07 00:45:59 -04:00
Phil Ringnalda
79604c5856 Bug 243453 - Fix a 10 year old comment typo to fix a 7 year old bug with a 6 year old review request, rs=jband's 7 year old comment 2 in the bug DONTBUILD 2011-08-06 18:16:28 -07:00
Paul Biggar
15f103724e Bug 668936: Stringify String.prototype.replace's arguments in the right order (r=jwalden) 2011-08-05 19:28:31 -07:00
Marty Rosenberg
2fc178b8b4 Bug 649202 - Implement fast typed arrays for ARM (r=jbramley) 2011-08-05 18:14:50 -07:00
Tom Schuster
82842beaa5 Bug 653175 - An array index with a null character could wrongly be considered to be valid. r=jorendorff 2011-08-06 00:37:54 +02:00
Tom Schuster
a5111d2bad Bug 675896 - Expand Unicode ranges to handle chinese identifiers. Add UnicodeData.txt version 6.0.0 r=waldo
--HG--
rename : js/src/make_unicode.py => js/src/vm/make_unicode.py
2011-08-05 18:08:34 +02:00
Luke Wagner
dcceeb54b3 Bug 676486 - Only compare args in StackIter when the StackFrame hasArgs (r=waldo) 2011-08-05 08:22:51 -07:00
Jason Orendorff
540ac4f465 Address review comments from brendan (bug 672829 comment 42). 2011-08-03 19:43:39 -05:00
Brian Hackett
0e2c2c3245 [INFER] Fix uninitialized variable. 2011-08-02 17:58:48 -07:00
Brian Hackett
e876010a0f [INFER] Fix merge botch. 2011-08-02 14:23:44 -07:00
Brian Hackett
24b4e8ee94 [INFER] Fix merge botch, infinite loop. 2011-08-02 13:04:21 -07:00
Brian Hackett
ddbe27d468 Merge MC -> JM 2011-08-02 09:08:05 -07:00
Brian Hackett
adc74680fc [INFER] Fix broken test. 2011-08-02 08:45:49 -07:00
Brian Hackett
a096aee9e8 [INFER] Watch for bytecodes with no fallthrough when rejoining the interpreter, bug 675921. 2011-08-02 08:39:33 -07:00
Brian Hackett
c8f7357156 [INFER] Set script for type of Function.prototype, bug 675889. 2011-08-02 08:27:42 -07:00
Marco Bonardo
baa593cf17 Merge mozilla-central and mozilla-inbound 2011-08-02 11:52:56 +02:00
Michael Wu
e9c6fdc029 Back out bug 667047 for possible orange 2011-08-01 22:46:38 -07:00
Michael Wu
39b9344e26 Backed out changeset 617081e0fdf5 (bug 667047) for possible orange 2011-08-01 22:46:17 -07:00
Brian Hackett
0b1723e110 [INFER] Improve precision when SETELEM is used on singleton objects, bug 675167. 2011-08-01 22:24:29 -07:00
Michael Wu
f9f83bdd42 Merging backout (bug 664249) for possible orange r=killer 2011-08-01 21:20:23 -07:00
Michael Wu
c69cefd52b Backed out changeset 3b9852666565 (bug 664249) for possible orange r=killer 2011-08-01 21:20:01 -07:00
Michael Wu
45846283da merge backout (bug 664249) for possible orange 2011-08-01 21:19:12 -07:00
Michael Wu
70b34aa4c0 Backed out changeset f29ddae820bf (bug 664249) for possible orange r=killer 2011-08-01 21:18:48 -07:00
Ben Turner
893fdf3927 Bug 674721 - 'Add memory reporting for web worker data'. r=jst+njn.
--HG--
extra : transplant_source : 9%D0%8D%BF%CE%B1Z%CC%85%EF%F5e%28%0B%A9%D1%18%99%21%11
2011-08-01 21:06:17 -07:00
Nikhil Marathe
a2611c69a8 Bug 664249 - API fixes for inlined TypedArray properties. r=mrbkap
--HG--
extra : rebase_source : fd068e786d6d49b4800a6efebf9811191a6309ef
2011-08-01 15:50:04 -07:00
Nikhil Marathe
cf24fb8cd0 Bug 664249 - Inline TypedArray properties into slots. r=mrbkap
--HG--
extra : rebase_source : 6e3cd2dd738f25b6e1fcf7ac61eaa7f14c238ffc
2011-08-01 15:49:51 -07:00
Jason Orendorff
993a33736b Merge from mozilla-central to jsdbg2. 2011-08-01 17:46:33 -05:00
Nikhil Marathe
57c3ed0aec Bug 667047 - Ensure proper __proto__ behaviour as a normal property after setting it to null once. r=mrbkap
--HG--
extra : rebase_source : 7fc382055bd6b100c85b97189fbbf58742e87fea
2011-08-01 15:26:54 -07:00
Tom Schuster
6b189d6fe0 Add tests for bug 497692 and bug bug 514808 r=Waldo over irc
--HG--
extra : rebase_source : 38e28d963570bcc79c59cb65f2e2294e9068cead
2011-08-02 00:29:12 +02:00
Brian Hackett
9070d268d9 [INFER] Only allow expansion of all inline frames in a compartment, bug 675251. 2011-08-01 09:09:39 -07:00
Ben Turner
d52214f7a6 Bug 676376 - 'prevent multi-threaded JSRuntime access in new web worker memory reporters'. r=luke+sicking. 2011-08-06 18:03:46 -07:00
Marco Bonardo
d9feaaf1ec Merge last green changeset from mozilla-inbound to mozilla-central 2011-08-01 16:04:07 +02:00
Kyle Huey
f10a862cfb Merge m-c to b-s. 2011-08-01 08:06:23 -04:00
Brian Hackett
82d5c58518 [INFER] Allow rejoining after GCs triggered within IterNext, bug 674391. 2011-07-31 08:54:17 -07:00
Brian Hackett
ac0a84cbaf [INFER] Don't mark type sets and type objects as unknown when in an inconsistent object/property hash state, bug 674511. Allow compilation logging for specific scripts. 2011-07-31 08:40:46 -07:00
Brian Hackett
6c9c949bdc [INFER] Use correct PC when calling lambda stubs, bug 674364. 2011-07-28 19:09:57 -07:00
Brian Hackett
47b5c3287d Merge MC -> JM.
--HG--
rename : dom/src/threads/Makefile.in => dom/workers/Makefile.in
rename : dom/src/threads/test/Makefile.in => dom/workers/test/Makefile.in
rename : dom/src/threads/test/WorkerTest.jsm => dom/workers/test/WorkerTest.jsm
rename : dom/src/threads/test/atob_worker.js => dom/workers/test/atob_worker.js
rename : dom/src/threads/test/chromeWorker_subworker.js => dom/workers/test/chromeWorker_subworker.js
rename : dom/src/threads/test/chromeWorker_worker.js => dom/workers/test/chromeWorker_worker.js
rename : dom/src/threads/test/closeOnGC_worker.js => dom/workers/test/closeOnGC_worker.js
rename : dom/src/threads/test/importScripts_worker.js => dom/workers/test/importScripts_worker.js
rename : dom/src/threads/test/importScripts_worker_imported1.js => dom/workers/test/importScripts_worker_imported1.js
rename : dom/src/threads/test/importScripts_worker_imported2.js => dom/workers/test/importScripts_worker_imported2.js
rename : dom/src/threads/test/json_worker.js => dom/workers/test/json_worker.js
rename : dom/src/threads/test/recursion_worker.js => dom/workers/test/recursion_worker.js
rename : dom/src/threads/test/relativeLoad_sub_worker.js => dom/workers/test/relativeLoad_sub_worker.js
rename : dom/src/threads/test/relativeLoad_worker.js => dom/workers/test/relativeLoad_worker.js
rename : dom/src/threads/test/simpleThread_worker.js => dom/workers/test/simpleThread_worker.js
rename : dom/src/threads/test/terminate_worker.js => dom/workers/test/terminate_worker.js
rename : dom/src/threads/test/test_404.html => dom/workers/test/test_404.html
rename : dom/src/threads/test/test_chromeWorker.html => dom/workers/test/test_chromeWorker.html
rename : dom/src/threads/test/test_chromeWorker.xul => dom/workers/test/test_chromeWorker.xul
rename : dom/src/threads/test/test_chromeWorkerJSM.xul => dom/workers/test/test_chromeWorkerJSM.xul
rename : dom/src/threads/test/test_close.html => dom/workers/test/test_close.html
rename : dom/src/threads/test/test_closeOnGC.html => dom/workers/test/test_closeOnGC.html
rename : dom/src/threads/test/test_errorPropagation.html => dom/workers/test/test_errorPropagation.html
rename : dom/src/threads/test/test_fibonacci.html => dom/workers/test/test_fibonacci.html
rename : dom/src/threads/test/test_importScripts.html => dom/workers/test/test_importScripts.html
rename : dom/src/threads/test/test_json.html => dom/workers/test/test_json.html
rename : dom/src/threads/test/test_longThread.html => dom/workers/test/test_longThread.html
rename : dom/src/threads/test/test_navigator.html => dom/workers/test/test_navigator.html
rename : dom/src/threads/test/test_recursion.html => dom/workers/test/test_recursion.html
rename : dom/src/threads/test/test_relativeLoad.html => dom/workers/test/test_relativeLoad.html
rename : dom/src/threads/test/test_simpleThread.html => dom/workers/test/test_simpleThread.html
rename : dom/src/threads/test/test_suspend.html => dom/workers/test/test_suspend.html
rename : dom/src/threads/test/test_terminate.html => dom/workers/test/test_terminate.html
rename : dom/src/threads/test/test_threadErrors.html => dom/workers/test/test_threadErrors.html
rename : dom/src/threads/test/test_threadTimeouts.html => dom/workers/test/test_threadTimeouts.html
rename : dom/src/threads/test/test_throwingOnerror.html => dom/workers/test/test_throwingOnerror.html
rename : dom/src/threads/test/test_xhr.html => dom/workers/test/test_xhr.html
rename : dom/src/threads/test/test_xhrAbort.html => dom/workers/test/test_xhrAbort.html
rename : dom/src/threads/test/threadTimeouts_worker.js => dom/workers/test/threadTimeouts_worker.js
rename : dom/src/threads/test/xhr_worker.js => dom/workers/test/xhr_worker.js
2011-07-28 18:10:31 -07:00
Brian Hackett
d38a55b3f9 [INFER] Don't check isMarked() on type objects when a GC tracer with a callback is active. 2011-07-28 16:32:59 -07:00
Marco Castelluccio
97d0a327eb Bug 674014 - Remove "check whether mmap() sees write()s". r=glandium 2011-08-18 15:17:30 +02:00
Brian Hackett
d452b4ccc7 [INFER] Allow the same shape to be shared by objects with different types, bug 674621. 2011-07-28 14:17:42 -07:00
Jason Orendorff
ab9745757f Merge from mozilla-central to jsdbg2. 2011-07-28 13:45:51 -05:00
Brian Hackett
1a7b57e2bd [INFER] Reduce inference-related script overhead, bug 674609. 2011-07-28 09:16:53 -07:00
Luke Wagner
ebd5e2825c Bug 676023 - Increment pc on error path out of JSOP_RETURN (r=dvander) 2011-08-04 23:15:35 -07:00
Mike Hommey
d6030568c6 Bug 674837 - Properly set android build options on NDK5+. r=ted 2011-07-28 14:58:15 +02:00
Jan de Mooij
ea1d6dd046 [INFER] LICM for typed arrays, bug 671084. r=bhackett 2011-07-28 11:53:29 +02:00
Jim Blandy
30585a7bcb Bug 672728: Define MoveRef, an rvalue reference type; provide some support for move construction and assignment in js::Vector and js::HashTable. r=luke 2011-08-01 17:52:53 -07:00
Ginn Chen
207a0d6373 Bug 673854 - (TypeInference)Fix TI for Solaris x86. r=bhackett. 2011-07-28 09:24:56 +08:00
Jason Orendorff
daebe48d84 Merge from mozilla-central to jsdbg2 branch. 2011-07-27 18:23:16 -05:00
Jason Orendorff
9fc2172359 Rename jsdbg.{h,cpp} to vm/Debugger.{h,cpp}. This addresses a review comment from brendan in bug 627829 comment 42.
--HG--
rename : js/src/jsdbg.cpp => js/src/vm/Debugger.cpp
rename : js/src/jsdbg.h => js/src/vm/Debugger.h
2011-07-27 18:03:34 -05:00
Brad Lassey
53aebec663 bug 661282 - make xpcshell run on android, follow up to not requre --appomni r=bsmedberg 2011-07-27 14:04:36 -04:00
Geoff Brown
51853bb780 Bug 668349 - changes to xpcshell.ini; r=jmaher 2011-08-10 16:56:49 -04:00
Siddharth Agarwal
f36593f7a8 Bug 615473 - Make ctypes.stdcall_abi and ctypes.winapi_abi aliases to the sole ABI on Win64. r=dwitte 2011-08-11 01:02:49 +05:30
Tom Schuster
b6f9f332e2 Bug 616744 - Add GetElement PIC for arguments objects r=dvander 2011-07-27 15:39:55 +02:00
Jeff Walden
5572ff62cb Bug 674207 - Assertion attempting to convert the value of the 'it' property in the shell to a primitive. r=luke
--HG--
extra : rebase_source : 40334c0f47f4b0dcb30f1f8cf6dadf87b7b29ada
2011-07-26 23:33:58 -07:00
Steve Fink
3c7d7cdcad 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 : 0e5ae9748cd497b9a0d2f51527799c4092f51fd0
2011-07-26 15:56:09 -07:00
Steve Fink
8616787346 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
59db38b83f Bug 675269: shell arguments bound to global |arguments|. (r=dvander) 2011-08-15 13:57:53 -07:00
Jeff Walden
e5483b3b1e 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
1b36104399 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
149bee7552 (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
87efe6e992 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
d568957d89 Backed out changeset 884efa9dcbf9 due to OSX debug orange 2011-08-15 10:39:10 +02:00
Mike Hommey
5e94c9cd42 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
fa9fc14205 Bug 678126 - Add "tjit-data/trace-monitor" memory reporter. r=dmandelin. 2011-08-14 19:45:38 -07:00
Phil Ringnalda
359cb7103c 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
Shu-yu Guo
5861b9e64d [INFER] Fix more assertions, bug 673705. r=bhackett
--HG--
rename : js/src/jit-test/tests/basic/bug673705.js => js/src/jit-test/tests/basic/bug673705-1.js
2011-07-26 14:16:59 -07:00
Tom Schuster
c91cb8d2a3 Bug 652771 - Update Unicode character support for space categorization, also somewhat for uppercase and lowercase (although these will only be fully fixed in followup bugs). r=jwalden. Further (lumped together to address interdependencies): Bug 672760 - Don't pass the EOF non-character to any of the Unicode character-categorization functions. r=jwalden
--HG--
extra : rebase_source : f415de9c0c9e58e3a28d6cd7e474ab1370d2d244
2011-07-26 14:10:33 -07:00
Michael Wu
46a170c5f0 Bug 671417 - Incorrect use of PRBool when other types are more appropriate or vice versa, r=bz,ehsan,dwitte,joe,vlad,luke,mak,roc 2011-07-26 23:43:37 -07:00
Mike Hommey
f1e9cb22b0 Bug 674910 - Statically link against libstdc++ on Android. r=blassey 2011-07-28 18:55:38 +02:00
Igor Bukanov
2ce78ccd32 bug 673795 - part2, using lists of avaiulable chunks for faster chunk selection. r=wmccloskey
--HG--
extra : rebase_source : ae4f5a82bc4042e341fdb5c08e3f0fe4b4ae8935
2011-07-26 09:55:23 +02:00
Rafael Ávila de Espíndola
ffa810a68a bug 672501 - pass MOZ_OPTIMIZE_LDFLAGS when checking for __thread support. r=ted 2011-07-25 20:43:00 -04:00
Brian Hackett
48fe13b237 Merge. 2011-07-25 16:48:30 -07:00
Brian Hackett
025e98f13f [INFER] Mark overflows on TOID when result value is a non-integer, bug 674085. 2011-07-25 16:46:32 -07:00
Brian Hackett
e480bda895 [INFER] Mark functionScript while tracing type objects, bug 673797. 2011-07-25 15:44:11 -07:00
Brendan Eich
b5b6e9e797 Tweak to skip-if not fail-if for bug 588061's shell-only test. 2011-08-01 14:45:57 -07:00
Steve Fink
ebd48958ac Bug 673612 - JS shell help was missing functions added through jsdbgapi (r=cdleary)
--HG--
extra : rebase_source : 67668380cdbf28d7bbdc1fc5e39beaf386eb05ab
2011-07-26 15:55:43 -07:00
Steve Fink
02127b4a5a Bug 673627 - Make --enable-callgrind turn on --enable-profiling (r=dmandelin)
--HG--
extra : rebase_source : aefb887b05329fb2c80260160dcbd6f9b18ab815
2011-07-26 15:56:04 -07:00
Steve Fink
5af8475adf Bug 673616 - Fix build with --enable-shared-js and --enable-shark (r=khuey)
--HG--
extra : rebase_source : 8ec038317f7381df27942bd529ef9225ebc6fb0e
2011-07-26 15:42:16 -07:00
Brian Hackett
f4efc29746 [INFER] Scan entire prototype chain for a lookupProperty hook when nop-ing accesses on singleton objects, bug 673788. 2011-07-25 15:00:42 -07:00
Brian Hackett
c2526aa719 [INFER] Check compartment when tracing TypeObject conservative roots during GC, bug 673792. 2011-07-25 14:48:22 -07:00
Brian Hackett
94bef39c52 [INFER] Clear all frame ncode values on GC to avoid confusing the recompiler, bug 673812. 2011-07-25 13:57:29 -07:00