Commit Graph

22321 Commits

Author SHA1 Message Date
Rafael Ávila de Espíndola
3984de1de8 Bug 788276 - Properly check for broken (deprecated) compilers. r=gps.
Check for old versions of llvm.
2012-09-12 14:48:16 -04:00
Tom Schuster
a6de2b4f37 No bug - Proxy::fun_toString should call the fun_toString handler. r=jorendorff 2012-09-12 19:06:56 +02:00
Jason Orendorff
031d67828c Bug 781343 - Part 2: common up some debug functions in shell/js.cpp. r=jimb.
--HG--
extra : rebase_source : 83946e4ad299b5a1fa8a246156414ca92d76bf84
2012-09-12 11:03:15 -05:00
Jason Orendorff
8ab261f54a Bug 781343 - "Assertion failure: !cx->isExceptionPending()". r=jimb.
--HG--
extra : rebase_source : f1347aaf159380c78563418b73a412a8518a0517
2012-09-12 11:02:22 -05:00
Jason Orendorff
48c8e8d9bf Bug 779025 - jit-test/tests/collections/Map-iterator-add-remove.js causes AddressSanitizer heap-use-after-free. r=luke.
--HG--
extra : rebase_source : bef5647e7a6936f4302880300e36653e21fc831e
2012-09-12 11:01:34 -05:00
Jason Orendorff
1288cd8a5e Bug 778557 - "Assertion failure: !args.rval().isPrimitive() && callee != &args.rval().toObject()". r=jimb.
--HG--
extra : rebase_source : fa51b866178d26c0a2e17f0de13d4398b6ce8897
2012-09-12 11:00:08 -05:00
Yusuke Suzuki
52f75243f9 Bug 790247 - Reflect.parse should treat x["y"] as a computed MemberExpression. r=jorendorff. 2012-09-12 10:27:09 -05:00
Gina Yeh
1cca3ee12d Bug 789014 - Final version: Broadcast bonding-related events via system message, r=qdot, r=mrbkap 2012-09-12 22:03:42 +08:00
Jan de Mooij
76ffe3fcc8 No bug - Fix Clang warnings in jsinfer.cpp and IonFrames.cpp. r=pierron 2012-09-12 15:00:45 +02:00
Jon Coppeard
fb88cce090 Bug 787905 - GC: SweepBackgroundThings can be called with freed compartments in list r=billm 2012-09-12 10:52:19 +01:00
Nicholas Nethercote
6af4eb32dd Bug 788957 (part 5) - Remove unused arguments from NoteLValue(). r=benjamin.
--HG--
extra : rebase_source : 0619c948733d8968868960daca1920a237342174
2012-09-10 20:44:05 -07:00
Nicholas Nethercote
6798e6861d Bug 788957 (part 4) - Add GlobalSharedContext, a sub-class of SharedContext, and also make FunctionBox a sub-class of SharedContext. r=benjamin.
--HG--
extra : rebase_source : 625a93dc48acbbdb9185378534e52b700688011d
2012-09-10 20:43:14 -07:00
Nicholas Nethercote
170e2935ae Bug 788957 (part 3) - Change SharedContext::inFunction() to SharedContext::isFunction. r=benjamin.
--HG--
extra : rebase_source : ce3e88a0d9da9d6946783e86188ae80cdae7dabc
2012-09-10 20:42:18 -07:00
Nicholas Nethercote
e58297be27 Bug 788957 (part 2) - Split ContextFlags into AnyContextFlags and FunctionContextFlags. r=benjamin.
--HG--
extra : rebase_source : a850729d3ca94cc6a04c87bf26e6154a7e1ef18b
2012-09-10 20:40:11 -07:00
Nicholas Nethercote
1d3a09e9e5 Bug 788957 (part 1) - Change FunctionBox so it has an ObjectBox rather than is an ObjectBox. r=benjamin.
--HG--
extra : rebase_source : b7f2465bddce85a641be03c7120be8b949653bd2
2012-09-10 17:58:32 -07:00
Terrence Cole
07c15260ff Bug 746112 - Don't decommit if page size is too large; r=billm
The powerpc architecture has 64KiB pages, which is too large to represent in the
free list.  This patch splits the page size from the arena size and disabled
decommit logic in that case.
2012-09-05 12:40:25 -07:00
Terrence Cole
b654f5b571 Bug 790436 - Add GuardObject annotation to JS::Root; r=sfink
It is invalid to use JS::Root as a temporary, since destruction order is not
specified in this case.

--HG--
extra : rebase_source : 1ce35c0c938fd2f7a0998bc1b9cddff222c016fd
2012-09-11 14:58:47 -07:00
Bill McCloskey
50207695f5 Bug 787847 - Missing property IC needs to check proto chain for proxies (r=luke) 2012-09-11 17:06:24 -07:00
Ehsan Akhgari
bf95568d0e Merge IonMonkey into mozilla-inbound 2012-09-11 16:38:44 -04:00
David Anderson
cee4eb116d Merge magic: IGNORE BAD COMMIT MESSAGES 2012-09-11 10:33:00 -07:00
David Anderson
7b438ddde2 Merge IonMonkey to mozilla-central. a=arewefastyet
--HG--
rename : content/base/src/nsWebSocket.cpp => content/base/src/WebSocket.cpp
rename : content/base/src/nsWebSocket.h => content/base/src/WebSocket.h
2012-09-11 10:25:14 -07:00
Bobby Holley
4473d2369c Bug 788914 - Kill the XOW flag. r=mrbkap
There are really two questions to be asked: is the caller chrome, and does the
caller subsume the callee. We have other, more precise ways of asking both of
these questions.
2012-09-11 01:05:10 -07:00
Bobby Holley
9d14b3e60e Bug 788914 - Kill partially transparent wrappers. r=mrbkap 2012-09-11 01:05:10 -07:00
Bobby Holley
0900323b2e Bug 788914 - Remove dynamic UniversalXPConnect checks sprinkled around the wrapper code. r=mrbkap 2012-09-11 01:05:10 -07:00
Bobby Holley
2f472dd63b Bug 788914 - Recompute cross-compartment wrappers when UniversalXPConnect is enabled. r=mrbkap 2012-09-11 01:05:10 -07:00
Bobby Holley
a3e2696480 Bug 788914 - Generate vanilla cross-compartment wrappers when UniversalXPConnect is enabled. r=mrbkap 2012-09-11 01:05:10 -07:00
Mike Hommey
b0c0deaf39 Bug 789837 - Properly set dependencies on .deps directories. r=ted 2012-09-11 09:43:32 +02:00
Benjamin Peterson
6c127f7a77 No bug - Make NameResolver constructor explicit. r=sfink 2012-09-11 16:25:12 -04:00
Terrence Cole
0d6ab667ae Bug 784631 - Fix some clang build errors in SpiderMonkey; r=Waldo f=espindola
Computed gotos are not in the C++ standard: clang and gcc differ on semantics.
2012-09-11 12:31:04 -07:00
Eddy Bruel
bff8be71da Bug 720619 - Attempt a puncture for the [[DefaultValue]] trap; r=bholley 2012-09-11 21:42:01 +02:00
Bobby Holley
f1fd4b30db Bug 789713 - Ignore domain when computing whether to share non-PreCreate WNs cross-compartment. r=mrbkap 2012-09-11 10:23:20 -07:00
Shu-yu Guo
82ed635ddd Bug 788403 - Fix ParallelArray.scatter iteration and row bounds checking (r=dmandelin) 2012-09-11 10:12:05 -07:00
David Anderson
7c176d7a19 Use HandleValue for all vm calls (bug 786130, r=sstangl). 2012-09-10 16:40:44 -07:00
David Anderson
f35b87ba1c Completely disable IonMonkey when MOZ_APP_NAME=b2g (bug 790092, r=sstangl).
--HG--
extra : rebase_source : 35dac954dbacacbae36848a47492f2ec25273a65
2012-09-10 15:28:11 -07:00
Sean Stangl
746d8349ff Bug 789735 - Handle lazily-created TypeObjects in IonBuilder. r=dvander 2012-09-10 15:13:38 -07:00
David Anderson
24145fc9a1 Merge from mozilla-central. 2012-09-10 12:16:38 -07:00
Rafael Ávila de Espíndola
6c7b4adc54 Bug 787931 - update the default compiler on OS X because we can't build with gcc 4.2 any longer. r=gps. 2012-09-10 14:52:26 -04:00
Jan de Mooij
0522b0d60d Bug 789448 - Don't call GetPcScript under ToIdOperation. r=dvander 2012-09-10 10:16:24 +02:00
Daniel Holbert
f32f6b5f8b Bug 789382: Change nsIScriptError methods init() and initWithWindowID() to take nsAString, rather than wchar / PRUnichar*. r=bz sr=bsmedberg 2012-09-09 16:29:12 -07:00
Rafael Ávila de Espíndola
78cae85108 Bug 787931 - Add better error message. r=gps. 2012-09-11 09:02:20 -04:00
David Anderson
5d16f3abdd Fix bug where forbiding Ion compilation could miss marking an IonScript (bug 786107, r=terrence). 2012-09-07 15:31:35 -07:00
David Anderson
b0a287cfcc Merge from mozilla-central. 2012-09-07 15:17:11 -07:00
Jan de Mooij
593f383998 Bug 788476 - Fold x & -1 to x. r=dvander 2012-09-07 12:53:02 +02:00
Gary Kwong
4fdce95693 Bug 641563 - Add test. r=me 2012-09-07 02:20:43 -07:00
Gary Kwong
1f7c326d67 Bug 633828 - Fix nit in test. r=nitpick
--HG--
extra : rebase_source : a8cb6e6936720d5b5c5694e82aca0b0f7d073345
2012-09-07 02:17:27 -07:00
Ed Morley
38c6f2fdd8 Backout 5853df66d488, e8fadd906232, d787279d282c, 8c1ed6327355, 94cfcf5da7c8, 87aa103d7e87 (bug 585922) for failures in test_bug411236.html 2012-09-07 09:15:34 +01:00
Bobby Holley
27358249f4 Bug 788914 - Kill the XOW flag. r=mrbkap
There are really two questions to be asked: is the caller chrome, and does the
caller subsume the callee. We have other, more precise ways of asking both of
these questions.
2012-09-06 22:55:18 -07:00
Bobby Holley
3b8d75b1cc Bug 788914 - Kill partially transparent wrappers. r=mrbkap 2012-09-06 22:55:18 -07:00
Bobby Holley
5b16b0b95a Bug 788914 - Remove dynamic UniversalXPConnect checks sprinkled around the wrapper code. r=mrbkap 2012-09-06 22:55:18 -07:00
Bobby Holley
69a8c46e0e Bug 788914 - Recompute cross-compartment wrappers when UniversalXPConnect is enabled. r=mrbkap 2012-09-06 22:55:18 -07:00
Bobby Holley
5ef4ab7e3c Bug 788914 - Generate vanilla cross-compartment wrappers when UniversalXPConnect is enabled. r=mrbkap 2012-09-06 22:55:18 -07:00
David Anderson
6c5722e35b Merge from mozilla-central. 2012-09-06 18:28:59 -07:00
Sean Stangl
723d6c73f7 Bug 787921 - Fix IonMonkey interrupt detection. r=dvander 2012-09-06 16:34:48 -07:00
Tom Schuster
516460a8dc Bug 769363 - IonMonkey: LBoundsCheck should not require a register for the length operand. r=jandem 2012-09-05 15:54:16 +02:00
David Anderson
a21c0b9bdb More bustage fix. 2012-09-05 17:13:09 -07:00
David Anderson
5456cc17fc Fix merge bustage. 2012-09-05 16:41:59 -07:00
David Anderson
043ddae94a Merge from mozilla-central.
--HG--
rename : js/jsd/jsd_scpt.c => js/jsd/jsd_scpt.cpp
rename : js/jsd/jsd_stak.c => js/jsd/jsd_stak.cpp
rename : js/jsd/jsd_val.c => js/jsd/jsd_val.cpp
2012-09-05 16:18:11 -07:00
Tom Schuster
c047875a65 Backed out changeset 2257377e7972 2012-09-05 16:31:15 +02:00
Tom Schuster
58a0ff50f6 Bug 769363 - IonMonkey: LBoundsCheck should not require a register for the length operand. r=jandem 2012-09-05 15:54:16 +02:00
Jan de Mooij
84b7b334fb Bug 787906 - Don't emit a shift instruction for x >>> 0. r=dvander 2012-09-05 11:54:33 +02:00
Sean Stangl
22abc28b96 No bug - Exciting adventures in rebasing. r=red 2012-09-04 16:12:50 -07:00
Sean Stangl
f647b18b1f Bug 787292 - Faster x64 boxed loads/stores. r=dvander 2012-09-04 15:42:03 -07:00
Sean Stangl
40d9470010 Bug 787343 - Support unboxed input to MPassArg. r=dvander 2012-09-04 15:20:32 -07:00
Ed Morley
e994031403 Backout a3a7de3e2938 (bug 784294), cddd665d83f0 (bug 787927) for failures in browser_dbg_bfcache.js 2012-09-06 18:50:34 +01:00
Steve Fink
07239b4243 Bug 787709 - Crash test for bug 787775. r=woof!
--HG--
extra : rebase_source : 803db5d08bead4908d5fa2d487848a0912dcd538
2012-09-06 10:29:19 -07:00
Marty Rosenberg
d439d55b61 Fix CodeGenerator::visitAbsI's handling of snapshot (no bug, r=dvander) 2012-09-04 17:00:13 -04:00
Eric Faust
fda7c0841c Bug 781388 - Fix build. (r=ImAMoron) 2012-09-04 15:23:25 -04:00
Sean Stangl
aa7b1c5a1c Backout 5059a4152b84. 2012-09-04 12:20:23 -07:00
Eric Faust
e56ce78576 Bug 781388 - Optimize codegen for infallible DOM methods. (r=sstangl) 2012-09-04 15:18:50 -04:00
David Anderson
55a88750dd Inline constants when deciding OSR types (bug 787301, r=kannan). 2012-09-04 11:58:21 -07:00
Jan de Mooij
4262f3bac0 Bug 788111 - Fix double condition in OutOfLineTruncate. r=dvander 2012-09-04 20:20:40 +02:00
Jan de Mooij
b90d244eaf Bug 785974 - Handle JSOP_URSH with double type without bailouts. r=dvander
--HG--
extra : rebase_source : e0e06944e53e044eb45dc60ffabd1a1059a6358c
2012-09-01 19:11:18 +02:00
David Anderson
16de435941 Remove debug line from test. 2012-08-31 17:57:24 -07:00
David Anderson
85d1507470 Include loop entry types when determining OSR types (bug 774644, r=jandem). 2012-08-31 17:41:53 -07:00
Jan de Mooij
35bc031566 Bug 777383 - Don't add undefined type to property reads before test ops. r=bhackett 2012-08-31 13:16:01 +02:00
Jan de Mooij
a877fc9bcf Bug 786294 - Don't use emit-at-uses for double constants on x64. r=dvander 2012-08-31 10:39:05 +02:00
Sean Stangl
2b88b7a223 Bug 787292 - Faster x64 boxed loads/stores. r=dvander 2012-08-30 22:27:23 -07:00
David Anderson
8040d7314c Get --disable-ion working again (bug 787288, r=sstangl). 2012-08-30 18:54:09 -07:00
Brian Hackett
2233316bc3 Re-enable JM inlining when IonMonkey is disabled, bug 786925. r=dvander 2012-08-30 14:44:15 -06:00
Brian Hackett
1169d93f11 Don't eagerly fetch values from prototypes when analyzing reads on shadowed properties, bug 786915. r=jandem 2012-08-30 10:11:44 -06:00
David Anderson
53c72eee46 Fix merge bustage, part a billion. 2012-08-30 00:31:13 -07:00
David Anderson
510354e59f Bustage fix. 2012-08-29 21:59:32 -07:00
David Anderson
6081a8de6b Merge bustage, part 3. 2012-08-29 20:57:37 -07:00
David Anderson
8e19c38abc Fix merge bustage part 2. 2012-08-29 18:17:32 -07:00
David Anderson
7c2bf8eec7 Fix merge bustage. 2012-08-29 18:04:42 -07:00
David Anderson
f1820f99a7 Merge. 2012-08-29 17:58:13 -07:00
David Anderson
25c3dd55c0 Merge from mozilla-central.
--HG--
rename : js/src/sharkctl.cpp => js/src/devtools/sharkctl.cpp
rename : js/src/sharkctl.h => js/src/devtools/sharkctl.h
rename : js/src/MemoryMetrics.cpp => js/src/jsmemorymetrics.cpp
2012-08-29 17:57:37 -07:00
David Anderson
6b403f94c2 Merge from mozilla-central.
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-29 17:51:24 -07:00
Luke Wagner
f70f4a0893 Bug 784188 - Use the correct ArenaKind for inline CallObject creation (r=dvander) 2012-08-29 14:33:28 -07:00
Sean Stangl
6a72b57ced Backed out changeset d11dafc10fc0 2012-08-29 12:18:45 -07:00
Siddharth Agarwal
6e3e5ab3cb Merge mozilla-central to mozilla-inbound. 2012-08-29 20:41:03 +05:30
Siddharth Agarwal
4ac6379343 Backout bug 784262 because of Pymake bustage and GNU Make "warning: overriding commands for target". 2012-08-29 20:36:23 +05:30
Jan de Mooij
638e50726c Bug 784127 - Stop inlining monomorphic property accesses if a shape guard fails. r=sstangl 2012-08-29 10:56:14 +02:00
Mike Hommey
543e39518d Bug 785871 - Make config.status importable. r=gps 2012-08-29 08:55:58 +02:00
Mike Hommey
6f9fd5c1fe Bug 785622 - Only include .pp files corresponding to files we do build. r=khuey 2012-08-29 08:55:58 +02:00
Mike Hommey
2c1a2e9335 Bug 784262 - Use generic install/copy rule in rules.mk. r=ted 2012-08-29 08:55:57 +02:00
Mike Hommey
35fc14432b Bug 783950 - Refresh libffi patches. r=ted 2012-08-29 08:55:57 +02:00
Gregory Szorc
aa3ebf1947 Bug 786540 - Remove unused exports target; r=glandium
This rule does nothing. It serves no purpose. It shall be eliminated.
2012-08-28 20:13:29 -07:00
Luke Wagner
1b8703b211 Bug 784894 - Fix sharkctl.h #include on OSX (r=bustage) 2012-08-28 16:56:54 -07:00
Brian Hackett
897e42e112 Don't assume calls with ignored return values will produce undefined, bug 786491. r=luke 2012-08-28 17:39:01 -06:00