Commit Graph

27917 Commits

Author SHA1 Message Date
Eric Faust
bedf8a05fc Bug 765454 - IonMonkey: Inline common scripted accessors. (r=djvj,jandem) 2013-07-23 13:36:05 -07:00
Eric Faust
995f07efa9 Bug 891980 - IonMonkey: Allow lookupGeneric on fun_resolve hooked objects. (r=Waldo) 2013-07-23 13:32:36 -07:00
Jan de Mooij
35bb11f6d8 Bug 866888 part 4 - Move bailout tail code to its own stub. r=h4writer 2013-07-23 09:23:42 +02:00
Jan de Mooij
6732c0fc47 Bug 866888 part 3 - Fix bailout overrecursion check. r=djvj 2013-07-23 09:23:40 +02:00
Jan de Mooij
ec0d5ce176 Bug 866888 part 2 - Add ScriptAnalysis::hasTryFinally. r=bhackett 2013-07-23 09:23:37 +02:00
Jan de Mooij
7e5cff87d3 Bug 866888 part 1 - Add SRC_TRY source note for JSOP_TRY. r=luke 2013-07-23 09:23:34 +02:00
Bobby Holley
dd6e6fc84c Bug 896126 - Don't wrap pending exceptions into the atoms compartment. r=luke 2013-07-22 16:40:01 -07:00
Shu-yu Guo
fbf9a824f8 Bug 860965 - Part 3: Tests for parallel operations on Array. (r=nmatsakis)
--HG--
rename : js/src/jit-test/tests/parallelarray/comprehension-in-loop.js => js/src/jit-test/tests/parallel/Array-buildPar-in-loop.js
rename : js/src/jit-test/tests/parallelarray/comprehension-nested.js => js/src/jit-test/tests/parallel/Array-buildPar-nested.js
rename : js/src/jit-test/tests/parallelarray/comprehension-1.js => js/src/jit-test/tests/parallel/Array-buildPar.js
rename : js/src/jit-test/tests/parallelarray/filter-all.js => js/src/jit-test/tests/parallel/Array-filterPar-all.js
rename : js/src/jit-test/tests/parallelarray/filter-every-third-element.js => js/src/jit-test/tests/parallel/Array-filterPar-every-third-element.js
rename : js/src/jit-test/tests/parallelarray/filter-non-divisible.js => js/src/jit-test/tests/parallel/Array-filterPar-non-divisible.js
rename : js/src/jit-test/tests/parallelarray/filter-none.js => js/src/jit-test/tests/parallel/Array-filterPar-none.js
rename : js/src/jit-test/tests/parallelarray/filter-truthy.js => js/src/jit-test/tests/parallel/Array-filterPar-truthy.js
rename : js/src/jit-test/tests/parallelarray/filter-very-few.js => js/src/jit-test/tests/parallel/Array-filterPar-very-few.js
rename : js/src/jit-test/tests/parallelarray/map-add-from-upvar-field.js => js/src/jit-test/tests/parallel/Array-mapPar-add-from-upvar-field.js
rename : js/src/jit-test/tests/parallelarray/map-parallel-assign-to-def-prop.js => js/src/jit-test/tests/parallel/Array-mapPar-assign-to-def-prop.js
rename : js/src/jit-test/tests/parallelarray/map-factorial.js => js/src/jit-test/tests/parallel/Array-mapPar-factorial.js
rename : js/src/jit-test/tests/parallelarray/map-fn-args.js => js/src/jit-test/tests/parallel/Array-mapPar-fn-args.js
rename : js/src/jit-test/tests/parallelarray/map-inc.js => js/src/jit-test/tests/parallel/Array-mapPar-inc.js
rename : js/src/jit-test/tests/parallelarray/map-nested.js => js/src/jit-test/tests/parallel/Array-mapPar-nested.js
rename : js/src/jit-test/tests/parallelarray/map-short.js => js/src/jit-test/tests/parallel/Array-mapPar-short.js
rename : js/src/jit-test/tests/parallelarray/reduce-bail.js => js/src/jit-test/tests/parallel/Array-reducePar-bail.js
rename : js/src/jit-test/tests/parallelarray/reduce-fn-args.js => js/src/jit-test/tests/parallel/Array-reducePar-fn-args.js
rename : js/src/jit-test/tests/parallelarray/reduce-length-one.js => js/src/jit-test/tests/parallel/Array-reducePar-length-one.js
rename : js/src/jit-test/tests/parallelarray/reduce-mul-short.js => js/src/jit-test/tests/parallel/Array-reducePar-mul-short.js
rename : js/src/jit-test/tests/parallelarray/reduce-mul.js => js/src/jit-test/tests/parallel/Array-reducePar-mul.js
rename : js/src/jit-test/tests/parallelarray/nested-sum-each-row.js => js/src/jit-test/tests/parallel/Array-reducePar-nested-sum-each-row.js
rename : js/src/jit-test/tests/parallelarray/reduce-sum.js => js/src/jit-test/tests/parallel/Array-reducePar-sum.js
rename : js/src/jit-test/tests/parallelarray/scan-fn-args.js => js/src/jit-test/tests/parallel/Array-scanPar-fn-args.js
rename : js/src/jit-test/tests/parallelarray/scan-2.js => js/src/jit-test/tests/parallel/Array-scanPar-one.js
rename : js/src/jit-test/tests/parallelarray/scan-sorted.js => js/src/jit-test/tests/parallel/Array-scanPar-sorted.js
rename : js/src/jit-test/tests/parallelarray/scan-1.js => js/src/jit-test/tests/parallel/Array-scanPar-sum.js
rename : js/src/jit-test/tests/parallelarray/alloc-array-nonwritable.js => js/src/jit-test/tests/parallel/alloc-array-nonwritable.js
rename : js/src/jit-test/tests/parallelarray/alloc-array.js => js/src/jit-test/tests/parallel/alloc-array.js
rename : js/src/jit-test/tests/parallelarray/alloc-different-objs.js => js/src/jit-test/tests/parallel/alloc-different-objs.js
rename : js/src/jit-test/tests/parallelarray/alloc-many-objs.js => js/src/jit-test/tests/parallel/alloc-many-objs.js
rename : js/src/jit-test/tests/parallelarray/alloc-obj.js => js/src/jit-test/tests/parallel/alloc-obj.js
rename : js/src/jit-test/tests/parallelarray/alloc-too-many-objs.js => js/src/jit-test/tests/parallel/alloc-too-many-objs.js
rename : js/src/jit-test/tests/parallelarray/bailout-executed.js => js/src/jit-test/tests/parallel/bailout-executed.js
rename : js/src/jit-test/tests/parallelarray/bailout-never-executed.js => js/src/jit-test/tests/parallel/bailout-never-executed.js
rename : js/src/jit-test/tests/parallelarray/binary-arith-numbers.js => js/src/jit-test/tests/parallel/binary-arith-numbers.js
rename : js/src/jit-test/tests/parallelarray/bug783924.js => js/src/jit-test/tests/parallel/bug783924.js
rename : js/src/jit-test/tests/parallelarray/bug787282.js => js/src/jit-test/tests/parallel/bug787282.js
rename : js/src/jit-test/tests/parallelarray/bug853555.js => js/src/jit-test/tests/parallel/bug853555.js
rename : js/src/jit-test/tests/parallelarray/bug853573.js => js/src/jit-test/tests/parallel/bug853573.js
rename : js/src/jit-test/tests/parallelarray/bug853576.js => js/src/jit-test/tests/parallel/bug853576.js
rename : js/src/jit-test/tests/parallelarray/bug854021.js => js/src/jit-test/tests/parallel/bug854021.js
rename : js/src/jit-test/tests/parallelarray/bug854050.js => js/src/jit-test/tests/parallel/bug854050.js
rename : js/src/jit-test/tests/parallelarray/bug854381.js => js/src/jit-test/tests/parallel/bug854381.js
rename : js/src/jit-test/tests/parallelarray/bug857846.js => js/src/jit-test/tests/parallel/bug857846.js
rename : js/src/jit-test/tests/parallelarray/bug858077.js => js/src/jit-test/tests/parallel/bug858077.js
rename : js/src/jit-test/tests/parallelarray/bug858582.js => js/src/jit-test/tests/parallel/bug858582.js
rename : js/src/jit-test/tests/parallelarray/bug890465.js => js/src/jit-test/tests/parallel/bug890465.js
rename : js/src/jit-test/tests/parallelarray/bug894782.js => js/src/jit-test/tests/parallel/bug894782.js
rename : js/src/jit-test/tests/parallelarray/bug895782.js => js/src/jit-test/tests/parallel/bug895782.js
rename : js/src/jit-test/tests/parallelarray/closure-5.js => js/src/jit-test/tests/parallel/closure-allocate-invoke.js
rename : js/src/jit-test/tests/parallelarray/closure-2.js => js/src/jit-test/tests/parallel/closure-creation.js
rename : js/src/jit-test/tests/parallelarray/closure-3.js => js/src/jit-test/tests/parallel/closure-eta-expand.js
rename : js/src/jit-test/tests/parallelarray/closure-4.js => js/src/jit-test/tests/parallel/closure-invoke.js
rename : js/src/jit-test/tests/parallelarray/closure-8.js => js/src/jit-test/tests/parallel/closure-nested-branch.js
rename : js/src/jit-test/tests/parallelarray/closure-7.js => js/src/jit-test/tests/parallel/closure-nested-compute.js
rename : js/src/jit-test/tests/parallelarray/closure-6.js => js/src/jit-test/tests/parallel/closure-nested.js
rename : js/src/jit-test/tests/parallelarray/compare-strings-eq.js => js/src/jit-test/tests/parallel/compare-strings-eq.js
rename : js/src/jit-test/tests/parallelarray/compare-strings-ne.js => js/src/jit-test/tests/parallel/compare-strings-ne.js
rename : js/src/jit-test/tests/parallelarray/compare-values.js => js/src/jit-test/tests/parallel/compare-values.js
rename : js/src/jit-test/tests/parallelarray/comprehension-2.js => js/src/jit-test/tests/parallel/comprehension-2.js
rename : js/src/jit-test/tests/parallelarray/comprehension-fn-args.js => js/src/jit-test/tests/parallel/comprehension-fn-args.js
rename : js/src/jit-test/tests/parallelarray/comprehension-scale.js => js/src/jit-test/tests/parallel/comprehension-scale.js
rename : js/src/jit-test/tests/parallelarray/comprehension-throws.js => js/src/jit-test/tests/parallel/comprehension-throws.js
rename : js/src/jit-test/tests/parallelarray/constructor-1.js => js/src/jit-test/tests/parallel/constructor-1.js
rename : js/src/jit-test/tests/parallelarray/constructor-2.js => js/src/jit-test/tests/parallel/constructor-2.js
rename : js/src/jit-test/tests/parallelarray/constructor-3.js => js/src/jit-test/tests/parallel/constructor-3.js
rename : js/src/jit-test/tests/parallelarray/constructor-4.js => js/src/jit-test/tests/parallel/constructor-4.js
rename : js/src/jit-test/tests/parallelarray/constructor-5.js => js/src/jit-test/tests/parallel/constructor-5.js
rename : js/src/jit-test/tests/parallelarray/constructor-throws.js => js/src/jit-test/tests/parallel/constructor-throws.js
rename : js/src/jit-test/tests/parallelarray/element-1.js => js/src/jit-test/tests/parallel/element-1.js
rename : js/src/jit-test/tests/parallelarray/element-2.js => js/src/jit-test/tests/parallel/element-2.js
rename : js/src/jit-test/tests/parallelarray/element-3.js => js/src/jit-test/tests/parallel/element-3.js
rename : js/src/jit-test/tests/parallelarray/enumerate-1.js => js/src/jit-test/tests/parallel/enumerate-1.js
rename : js/src/jit-test/tests/parallelarray/flatten-1.js => js/src/jit-test/tests/parallel/flatten-1.js
rename : js/src/jit-test/tests/parallelarray/flatten-2.js => js/src/jit-test/tests/parallel/flatten-2.js
rename : js/src/jit-test/tests/parallelarray/flatten-3.js => js/src/jit-test/tests/parallel/flatten-3.js
rename : js/src/jit-test/tests/parallelarray/flatten-throws.js => js/src/jit-test/tests/parallel/flatten-throws.js
rename : js/src/jit-test/tests/parallelarray/get-1.js => js/src/jit-test/tests/parallel/get-1.js
rename : js/src/jit-test/tests/parallelarray/get-2.js => js/src/jit-test/tests/parallel/get-2.js
rename : js/src/jit-test/tests/parallelarray/get-3.js => js/src/jit-test/tests/parallel/get-3.js
rename : js/src/jit-test/tests/parallelarray/get-4.js => js/src/jit-test/tests/parallel/get-4.js
rename : js/src/jit-test/tests/parallelarray/get-6.js => js/src/jit-test/tests/parallel/get-6.js
rename : js/src/jit-test/tests/parallelarray/holes-1.js => js/src/jit-test/tests/parallel/holes-1.js
rename : js/src/jit-test/tests/parallelarray/holes-2.js => js/src/jit-test/tests/parallel/holes-2.js
rename : js/src/jit-test/tests/parallelarray/parallel-getelement-ic.js => js/src/jit-test/tests/parallel/ic-getelement.js
rename : js/src/jit-test/tests/parallelarray/parallel-getproperty-ic.js => js/src/jit-test/tests/parallel/ic-getproperty.js
rename : js/src/jit-test/tests/parallelarray/index-1.js => js/src/jit-test/tests/parallel/index-1.js
rename : js/src/jit-test/tests/parallelarray/index-2.js => js/src/jit-test/tests/parallel/index-2.js
rename : js/src/jit-test/tests/parallelarray/index-3.js => js/src/jit-test/tests/parallel/index-3.js
rename : js/src/jit-test/tests/parallelarray/index-4.js => js/src/jit-test/tests/parallel/index-4.js
rename : js/src/jit-test/tests/parallelarray/inline-new-bad-type.js => js/src/jit-test/tests/parallel/inline-new-bad-type.js
rename : js/src/jit-test/tests/parallelarray/map-2.js => js/src/jit-test/tests/parallel/int32-overflow.js
rename : js/src/jit-test/tests/parallelarray/length-1.js => js/src/jit-test/tests/parallel/length-1.js
rename : js/src/jit-test/tests/parallelarray/length-2.js => js/src/jit-test/tests/parallel/length-2.js
rename : js/src/jit-test/tests/parallelarray/length-3.js => js/src/jit-test/tests/parallel/length-3.js
rename : js/src/jit-test/tests/parallelarray/mandelbrot.js => js/src/jit-test/tests/parallel/mandelbrot.js
rename : js/src/jit-test/tests/parallelarray/map-3.js => js/src/jit-test/tests/parallel/map-3.js
rename : js/src/jit-test/tests/parallelarray/overflow-throws.js => js/src/jit-test/tests/parallel/overflow-throws.js
rename : js/src/jit-test/tests/parallelarray/parallelarraycompiledout.js => js/src/jit-test/tests/parallel/parallelarraycompiledout.js
rename : js/src/jit-test/tests/parallelarray/partition-1.js => js/src/jit-test/tests/parallel/partition-1.js
rename : js/src/jit-test/tests/parallelarray/partition-throws.js => js/src/jit-test/tests/parallel/partition-throws.js
rename : js/src/jit-test/tests/parallelarray/reduce-higher-dim.js => js/src/jit-test/tests/parallel/reduce-higher-dim.js
rename : js/src/jit-test/tests/parallelarray/reduce-throws.js => js/src/jit-test/tests/parallel/reduce-throws.js
rename : js/src/jit-test/tests/parallelarray/scan-3.js => js/src/jit-test/tests/parallel/scan-3.js
rename : js/src/jit-test/tests/parallelarray/scan-throws.js => js/src/jit-test/tests/parallel/scan-throws.js
rename : js/src/jit-test/tests/parallelarray/scatter-1.js => js/src/jit-test/tests/parallel/scatter-1.js
rename : js/src/jit-test/tests/parallelarray/scatter-10.js => js/src/jit-test/tests/parallel/scatter-10.js
rename : js/src/jit-test/tests/parallelarray/scatter-11.js => js/src/jit-test/tests/parallel/scatter-11.js
rename : js/src/jit-test/tests/parallelarray/scatter-12.js => js/src/jit-test/tests/parallel/scatter-12.js
rename : js/src/jit-test/tests/parallelarray/scatter-13.js => js/src/jit-test/tests/parallel/scatter-13.js
rename : js/src/jit-test/tests/parallelarray/scatter-2.js => js/src/jit-test/tests/parallel/scatter-2.js
rename : js/src/jit-test/tests/parallelarray/scatter-3.js => js/src/jit-test/tests/parallel/scatter-3.js
rename : js/src/jit-test/tests/parallelarray/scatter-4.js => js/src/jit-test/tests/parallel/scatter-4.js
rename : js/src/jit-test/tests/parallelarray/scatter-5.js => js/src/jit-test/tests/parallel/scatter-5.js
rename : js/src/jit-test/tests/parallelarray/scatter-6.js => js/src/jit-test/tests/parallel/scatter-6.js
rename : js/src/jit-test/tests/parallelarray/scatter-7.js => js/src/jit-test/tests/parallel/scatter-7.js
rename : js/src/jit-test/tests/parallelarray/scatter-8.js => js/src/jit-test/tests/parallel/scatter-8.js
rename : js/src/jit-test/tests/parallelarray/scatter-9.js => js/src/jit-test/tests/parallel/scatter-9.js
rename : js/src/jit-test/tests/parallelarray/scatter-regression-1.js => js/src/jit-test/tests/parallel/scatter-regression-1.js
rename : js/src/jit-test/tests/parallelarray/scatter-throws.js => js/src/jit-test/tests/parallel/scatter-throws.js
rename : js/src/jit-test/tests/parallelarray/shape-1.js => js/src/jit-test/tests/parallel/shape-1.js
rename : js/src/jit-test/tests/parallelarray/shape-2.js => js/src/jit-test/tests/parallel/shape-2.js
rename : js/src/jit-test/tests/parallelarray/shape-3.js => js/src/jit-test/tests/parallel/shape-3.js
rename : js/src/jit-test/tests/parallelarray/shape-4.js => js/src/jit-test/tests/parallel/shape-4.js
rename : js/src/jit-test/tests/parallelarray/shape-5.js => js/src/jit-test/tests/parallel/shape-5.js
rename : js/src/jit-test/tests/parallelarray/spew.js => js/src/jit-test/tests/parallel/spew.js
rename : js/src/jit-test/tests/parallelarray/stack-overflow.js => js/src/jit-test/tests/parallel/stack-overflow.js
rename : js/src/jit-test/tests/parallelarray/strict-equals-1.js => js/src/jit-test/tests/parallel/strict-equals-1.js
rename : js/src/jit-test/tests/parallelarray/strings.js => js/src/jit-test/tests/parallel/strings.js
rename : js/src/jit-test/tests/parallelarray/surfaces-1.js => js/src/jit-test/tests/parallel/surfaces-1.js
rename : js/src/jit-test/tests/parallelarray/surfaces-2.js => js/src/jit-test/tests/parallel/surfaces-2.js
rename : js/src/jit-test/tests/parallelarray/surfaces-3.js => js/src/jit-test/tests/parallel/surfaces-3.js
rename : js/src/jit-test/tests/parallelarray/throw-executed.js => js/src/jit-test/tests/parallel/throw-executed.js
rename : js/src/jit-test/tests/parallelarray/throw-never-executed.js => js/src/jit-test/tests/parallel/throw-never-executed.js
rename : js/src/jit-test/tests/parallelarray/timeout-gc.js => js/src/jit-test/tests/parallel/timeout-gc.js
rename : js/src/jit-test/tests/parallelarray/timeout.js => js/src/jit-test/tests/parallel/timeout.js
rename : js/src/jit-test/tests/parallelarray/toString-1.js => js/src/jit-test/tests/parallel/toString-1.js
rename : js/src/jit-test/tests/parallelarray/write-array.js => js/src/jit-test/tests/parallel/write-array.js
rename : js/src/jit-test/tests/parallelarray/write-illegal-array-elt.js => js/src/jit-test/tests/parallel/write-illegal-array-elt.js
rename : js/src/jit-test/tests/parallelarray/write-illegal-obj.js => js/src/jit-test/tests/parallel/write-illegal-obj.js
rename : js/src/jit-test/tests/parallelarray/write-obj.js => js/src/jit-test/tests/parallel/write-obj.js
2013-07-22 16:12:07 -07:00
Shu-yu Guo
c66aa2de55 Bug 860965 - Part 2: Add Array.build. (r=nmatsakis) 2013-07-22 16:12:07 -07:00
Jeff Walden
dc1be62488 Bug 896842 - Implement mozilla::DoublesAreIdentical. r=luke 2013-06-18 15:35:03 -07:00
Ms2ger
2f25ec2166 Bug 892225 - backout changeset b4426d926b31. 2013-07-23 17:34:57 +02:00
Bill McCloskey
daca74ad0a Bug 895340 - Fix error reporting of JS exceptions from C++ (r=bholley) 2013-07-23 08:32:36 -07:00
Joshua Cranmer
7b9a04da79 Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Joshua Cranmer
918e4b37e5 Bug 884061 - Part 3n: Use NS_DECL_THREADSAFE_ISUPPORTS in js/, r=bholley
--HG--
extra : rebase_source : 4f888058e3f842affd496e35bdd3c2037d1abf43
2013-07-18 21:23:32 -05:00
Yaron Tausky
61c1b351d3 Bug 771865 - Avoid creating NumberObject in (.1).toString. r=luke 2013-07-23 09:20:38 -04:00
Trevor Saunders
831340b96d bug 887483 - disallow FORCE_STATIC_LIB when LIBXUL_LIBRARY is set because its redundant r=gps 2013-06-25 14:28:42 -04:00
Jon Coppeard
e4fdeb28ca Bug 896398 - GC: Fix some reported rooting hazards in XPConnect r=bholley 2013-07-23 10:58:28 +01:00
Jon Coppeard
3155328d9e Bug 891966 - 2 - Comment calls to Handle::fromMarkedLocation r=bz 2013-07-23 10:58:28 +01:00
Jon Coppeard
da4b383f2b Bug 891966 - 1 - Don't allow construction of Handle<T> from Heap<T> r=bz 2013-07-23 10:58:27 +01:00
Jon Coppeard
e8d192d169 Bug 888338 - 5 - post barrier remaining heap-based GC things in XPConnect r=bholley 2013-07-23 10:58:27 +01:00
Jon Coppeard
54dcfe4766 Bug 888338 - 4 - post barrier CTypes r=terrence 2013-07-23 10:58:27 +01:00
Jon Coppeard
f8a6950a3b Bug 888338 - 3 - don't call gray root tracer for minor GCs r=terrence 2013-07-23 10:58:26 +01:00
Jon Coppeard
d8798632f1 Bug 888338 - 2 - give post barrier callback function an extra data argument r=terrence 2013-07-23 10:58:26 +01:00
Jon Coppeard
1bb7f2a908 Bug 888338 - 1 - Add TenuredHeap<T> class r=terrence r=bz 2013-07-23 10:58:26 +01:00
Shu-yu Guo
91b4c3d28c Bug 860965 - Part 1: Copy 1D ParallelArray operations to Array. (r=luke,nmatsakis) 2013-05-11 22:39:46 -07:00
Shu-yu Guo
84f8af7a1f Bug 895782 - Fix callsite cloning interaction with inline dispatch in Ion redux. (r=jandem) 2013-07-22 16:12:06 -07:00
Eric Faust
763fedf95c Bug 895985 - Remove CallInfo lambda data. (r=djvj) 2013-07-22 15:33:19 -07:00
Ryan VanderMeulen
7ce18c38f8 Backed out changeset 190563720411 (bug 895465) for Linux32 jit-test failures. 2013-07-22 15:23:19 -04:00
Dan Gohman
ff1a70f879 Bug 895465 - IonMonkey: Optimize codegen for test(and(x, y)). r=mrosenberg 2013-07-22 10:36:40 -07:00
Jon Coppeard
24883c5130 Bug 895883 - IonMonkey: (ARM) Use hardware divide instruction for unsigned division where possible r=mjrosenb 2013-07-22 10:14:16 +01:00
Nicholas Nethercote
2924abdb8f Bug 887558 (part 4) - Introduce WrapperObject and CrossCrompartmentWrapperObject. r=jorendorff.
--HG--
extra : rebase_source : a4749bd143a2c668072bfeefa436f5ada9b8d374
2013-06-27 22:42:30 -07:00
Daniel Holbert
48cef1f66f Bug 896018 - Remove unused field 'context' from CompartmentChecker. r=bhackett 2013-07-19 21:20:29 -04:00
Matt Brubeck
ffb7786c86 Bug 896028 - Add a standard Makefile variable for mochitest-metro files [r=gps] 2013-07-19 16:59:23 -07:00
Masatoshi Kimura
1ef12167fc Bug 895231 - Make sure the Components shim is consistent with the real Components. r=bholley 2013-07-20 07:53:51 +09:00
Steve Fink
5fbcf38ca2 Bug 887420 - Do not read off the end of the transfer map, r=Waldo
--HG--
extra : rebase_source : aae0289af6d58d9ff785afa959accc44342762ea
2013-07-17 15:12:19 -07:00
Luke Wagner
2a96b8369c Bug 893434 - OdinMonkey: make accessing non-data properties a link-time validation error (r=bbouvier)
--HG--
extra : rebase_source : beb308b3455d0fae18a6d6d5fee744f8b59dc2f2
2013-07-17 17:22:07 -05:00
Hannes Verschore
3decb99850 Bug 891808: IonMonkey: Improve bailing information for JSOP_FUNAPPLY and JSOP_FUNCALL, r=jandem 2013-07-19 13:48:48 -07:00
Jeff Walden
dcbf878b9b Bug 895723 - Fix ion/AsmJS.h to not depend on bootlegged dependencies. r=luke
--HG--
extra : rebase_source : 3473fa9c42de65fdb579225c41e534d79c42d7fe
2013-07-19 13:05:11 -07:00
Jeff Walden
ae745f0306 Bug 895723 - Don't open the mozilla namespace in AsmJS.cpp -- use particular things from it instead. This eases the pain of dealing with js/mozilla namespace conflicts, particularly for Vector. r=luke
--HG--
extra : rebase_source : 666d3e9d340f6c882a21230c63783a72ba25a9e5
2013-07-19 13:05:10 -07:00
Hannes Verschore
a081420713 Bug 894582 - IonMonkey: Constant fold arithm operations with double output that fits in int32. r=jandem 2013-07-19 16:21:05 -04:00
Brian Hackett
f7d352eb76 Bug 875125 - Construct worker thread's PerThreadData before spawning actual thread on a CLOSED TREE 2013-07-19 12:57:12 -06:00
Roberta De Viti
e1d7bf65ec Bug 894717 - Fix 'plase upgrade' typo in autoconf files. r=khuey 2013-07-19 10:47:15 -07:00
Hannes Verschore
8bddc4f845 Bug 895019 - Tracelogger: Add logger for minor gc, r=jandem 2013-07-19 10:41:32 -07:00
Brian Hackett
045d67c07b Bug 875125 - Fix typo. 2013-07-19 11:01:46 -06:00
Hannes Verschore
38e7cc5a9b Bug 893853 - IonMonkey: Don't set typeset of |this| when type is unknown, r=bhackett 2013-07-19 09:46:23 -07:00
Hannes Verschore
4b678ca3d6 Bug 895019: Cleanup and make the tracelogger work again, r=jandem 2013-07-19 09:31:12 -07:00
Terrence Cole
ddff7e400c Bug 895654 - Remove references to Unrooted from the static exact rooting analysis; r=bhackett,sfink,terrence
DONTBUILD

--HG--
extra : rebase_source : 32046960a39679cf82916dc7d35ea3374de700f8
2013-07-18 15:12:46 -07:00
Steve Fink
68a34e1b6b Bug 895647 - new GC type: js::LazyScript, r=terrence
DONTBUILD

--HG--
extra : rebase_source : 78d019afe1f46c056c561c2faf4dac351ffb4454
2013-07-18 15:10:23 -07:00
Felix S. Klock II
0efa164d96 Bug 894854: env var disabling censoring of self-hosted script frames (r=till)
It is only aenabled for debug builds.  The env var is: MOZ_SHOW_ALL_JS_FRAMES
2013-07-17 09:58:00 +02:00
Gervase Markham
acfedfd6cb Bug 715549 - remove last vestiges of tri-licence. DONTBUILD. 2013-07-19 16:08:33 +01:00
Douglas Crosher
d2210da18b Bug 895830 - OdinMonkey: fix compilation of the perf spewer support. r=luke 2013-07-19 20:42:38 +10:00
Sankha Narayan Guria
10ef8a4d9a Bug 866847 - Implement map#forEach and Set#forEach. r=evilpie 2013-07-19 08:19:44 +05:30
Brian Hackett
e37d00a29c Bug 875125 - Allow scripts to be parsed/emitted off the main thread, r=billm. 2013-07-19 08:06:02 -06:00
Sean Stangl
b41e1eef50 Bug 868674 - Make supportsFloatingPoint() a static function. r=h4writer
---
 js/src/assembler/assembler/MacroAssemblerARM.h    |  6 +++---
 js/src/assembler/assembler/MacroAssemblerARMv7.h  |  6 +++---
 js/src/assembler/assembler/MacroAssemblerMIPS.h   |  6 +++---
 js/src/assembler/assembler/MacroAssemblerSparc.h  |  6 +++---
 js/src/assembler/assembler/MacroAssemblerX86.h    | 12 ++++--------
 js/src/assembler/assembler/MacroAssemblerX86_64.h |  6 +++---
 js/src/ion/AsmJS.cpp                              |  4 ++--
 js/src/jsapi.cpp                                  |  2 +-
 8 files changed, 22 insertions(+), 26 deletions(-)

---
 js/src/assembler/assembler/MacroAssemblerARM.h    |  6 +++---
 js/src/assembler/assembler/MacroAssemblerARMv7.h  |  6 +++---
 js/src/assembler/assembler/MacroAssemblerMIPS.h   |  6 +++---
 js/src/assembler/assembler/MacroAssemblerSparc.h  |  6 +++---
 js/src/assembler/assembler/MacroAssemblerX86.h    | 12 ++++--------
 js/src/assembler/assembler/MacroAssemblerX86_64.h |  6 +++---
 js/src/ion/AsmJS.cpp                              |  4 ++--
 js/src/jsapi.cpp                                  |  2 +-
 8 files changed, 22 insertions(+), 26 deletions(-)

--HG--
extra : rebase_source : f4ec6b6c9c9f94959311685150b77a63bb5fd9be
2013-07-18 14:45:00 +02:00
Terrence Cole
5726df911f Bug 894441 - Include WeakMap keys in the DumpHeap report; r=billm
--HG--
extra : rebase_source : 8091813cc3ab2a930a239558a1d9decfc039d9f0
2013-07-16 14:43:30 -07:00
Terrence Cole
2fa97fbc1c Bug 895144 - Treat asm.js Functions as long-lived by default; r=luke
--HG--
extra : rebase_source : 6e08bf3d0575d26de3ac6ba41d703168a1f4a429
2013-07-17 16:25:42 -07:00
Terrence Cole
05c3a4236b Bug 888313 - Update generational GC tuning parameters for better EarlyBoyer performance; r=jandem
--HG--
extra : rebase_source : 0da9dfb64a6e63ff3eade490b0f20cc00528a161
2013-07-18 12:00:10 -07:00
Terrence Cole
cd69177e6d Bug 895177 - Inline object tracing for minor GC; r=jandem
--HG--
extra : rebase_source : 00086cacce4575d04595ca646777c8ce7403a06e
2013-07-17 17:17:43 -07:00
Eric Faust
1800fd76e0 Bug 895111 - Allow Ion inline checking of functions with lazy scripts. (r=djvj) 2013-07-18 14:03:05 -07:00
Terrence Cole
17a6011de3 Bug 895220 - Do not OOM in AtomizeAndCopyChars if using NoGC; r=bhackett
--HG--
extra : rebase_source : 208b4cb5e652ed7f854586d676e0d055c065b330
2013-07-18 13:55:39 -07:00
Luke Wagner
7bd9fc0d78 Bug 895015 - OdinMonkey: make asm.js entries show up builtin FF profiler (r=bbouvier)
--HG--
extra : rebase_source : 0f682fde81ef8e9dc89f0b9ad76e928d24358394
2013-07-17 17:22:39 -05:00
Brian Hackett
c9c5480178 Bug 893732 - Ensure indexes are integers when loading/storing to static typed arrays, r=jandem. 2013-07-18 13:33:44 -06:00
Till Schneidereit
172f774a20 Backed out changeset 65fd27c97676 (bug 894948) for regressions in Dromaeo DOM-traversal
--HG--
extra : rebase_source : e2bfa1f59ff8ab0a277883eabd67b7aff228907c
2013-07-18 19:58:14 +02:00
Brian Hackett
63c8435c3d Bug 893752 - Clean up compartment compiler outputs after releasing all JIT code, r=jandem. 2013-07-18 13:14:20 -06:00
Ryan VanderMeulen
7d3e1d9b75 Backed out changeset c1025190b208 (bug 866847) for jit-test failures.
CLOSED TREE
2013-07-18 13:06:48 -04:00
Ryan VanderMeulen
dc5acaea44 Backed out 2 changesets (bug 895015, bug 893434) for Android test_asmjs timeouts on a CLOSED TREE.
Backed out changeset cadcb731a8fb (bug 895015)
Backed out changeset 17404ee140f3 (bug 893434)
2013-07-18 13:03:05 -04:00
Andrew McCreight
1d57ca64b3 Bug 892405 - Print Max Pause before Total Time in GC logging. r=terrence 2013-07-18 09:07:28 -07:00
Andrew McCreight
745c381064 Bug 893375 - Make weak map GC tracing names more useful. r=billm 2013-07-18 09:07:27 -07:00
Ehsan Akhgari
81b0d336c3 Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer 2013-07-18 12:06:38 -04:00
Ivaylo Dimitrov
c0cf8fda37 Bug 893575 - Don't fail to build if HWCAP_IDIVA is not defined. r=jonco 2013-07-14 19:34:43 +01:00
Sankha Narayan Guria
4121352947 Bug 866847 - Implement map#forEach and Set#forEach. r=evilpie 2013-07-18 20:37:29 +05:30
Brandon Benvie
4eb674fe06 Bug 889627 - Make Debugger eval functions accept options for url and line number. r=jimb 2013-07-17 15:12:24 -07:00
Luke Wagner
7a50b727c7 Bug 895015 - OdinMonkey: make asm.js entries show up builtin FF profiler (r=bbouvier)
--HG--
extra : rebase_source : b6b5391a1b39b3abeb0f194bfa4ca4a9f54ce90f
2013-07-17 17:22:39 -05:00
Luke Wagner
0b189f5cdf Bug 893434 - OdinMonkey: make accessing non-data properties a link-time validation error (r=bbouvier)
--HG--
extra : rebase_source : 5b827256536c16d9e2da15e9877efcf393e1a9ef
2013-07-17 17:22:07 -05:00
Tom Schuster
8b2781aaba Bug 893858 - More testing for CPOWs and fix some small bugs. r=dvander 2013-07-17 09:27:49 -04:00
Jon Coppeard
2c06f5ec0a Bug 888237 - IonMonkey: (ARM) Use hardware divide instruction to calculate modulus r=mjrosenb 2013-07-18 14:25:06 +01:00
Jon Coppeard
08458d4d99 Bug 890271 - Assertion failure: operand.isFloatReg(), at js/src/ion/arm/MoveEmitter-arm.cpp:76 r=dvander 2013-07-18 14:25:06 +01:00
Jan de Mooij
9971016052 Bug 894852 - Fix LSetPropertyPolymorphicT and LGetPropertyPolymorphicV bailout kind. r=bhackett 2013-07-18 14:22:53 +02:00
Till Schneidereit
1a43f064e7 Bug 894948 - Remove effectively-dead analysis-related code from interpreter. r=jandem
--HG--
extra : rebase_source : b1cd7b3232a2541d2282609cb698d6c9f825e3be
extra : amend_source : 97483ece12c0750e9fcff906ffdf6321617c106d
2013-07-17 17:51:06 +02:00
Shu-yu Guo
61d8584653 Bug 892971 - Part 2: Unify names specific to parallel execution to use the 'Par' suffix. (r=nmatsakis) 2013-07-24 03:01:32 -07:00
Shu-yu Guo
c23109e2be Bug 892971 - Part 1: Refactor calling multimodal VM functions. (r=nbp) 2013-07-24 03:01:32 -07:00
Jan de Mooij
ec8a83979e Bug 894843 - Fix ConvertLinearSum to not add an unnecessary MAdd(x, 0) instruction. r=bhackett 2013-07-18 10:09:08 +02:00
Mike Hommey
39ddcab28f Bug 894242 - Make C++0x/C++11 mode of gcc/clang mandatory. r=ted 2013-07-17 16:19:25 +09:00
Steve Fink
37af639a78 Bug 895027 - s/arguments/scriptArgs/. r=NPOTB
DONTBUILD

--HG--
extra : rebase_source : 44431c33d65a4d5493063968fd9a4bef53db3ebd
2013-07-17 11:08:59 -07:00
Steve Fink
c2f17b76db Bug 895027 - Add a --source argument to analyze.py to make it easier to run from arbitrary directories. r=NPOTB
DONTBUILD

--HG--
extra : rebase_source : 09bef9ba415f1292646cf3534c1d59cf132667d9
2013-07-17 11:08:35 -07:00
Steve Fink
7c36812abe Bug 895027 - Use loadRelativeToScript to load helper .js files in static rooting analysis. r=NPOTB
DONTBUILD

--HG--
extra : rebase_source : 49f286d1dd99860be2d163e51063ae8c54c5630d
2013-07-17 11:08:20 -07:00
Steve Fink
ecc723a61f Bug 895027 - Print out commands executed to make it easier to debug individual scripts. r=NPOTB
DONTBUILD

--HG--
extra : rebase_source : 07f5869243cce0a5c684a9e6d2ac0e46dbcd1db6
2013-07-17 11:08:05 -07:00
Steve Fink
003fde6d1f Bug 895027 - Switch to more accurate set of functions that indicate a GC call for static rooting analysis, r=terrence
DONTBUILD

--HG--
rename : mfbt/Vector.h => js/public/Vector.h
extra : rebase_source : bbadeb34bf976c0a47e35afdc2fba0dffb63da12
2013-06-06 10:37:53 -07:00
Jeff Walden
58145fe168 Bug 895242 - Cast a bool-valued expression to uintptr_t, so that the bitwise-or expression containing it doesn't trigger compiler warnings on Windows. r=trivial 2013-07-17 22:55:55 -07:00
Jeff Walden
78501e4fce Back out 44347cbdf6a0 for triggering jsapi-test orange. r=bustage 2013-07-17 22:55:49 -07:00
Norbert Lindenberg
aa9a799629 Bug 891974 - Test ecma_3/Date/15.9.5.5-02.js fails; partially roll back the buggy commit for bug 890076 to fix. r=jwalden
--HG--
extra : rebase_source : 60a3a1241a98c32e7ffd7b332193bc985b72ac57
2013-07-17 12:21:26 -07:00
Jeff Walden
3c2434e842 Bug 894653 - Self-host Error.prototype.toString, and fix an edge-case bug in the current implementation. r=till
--HG--
extra : rebase_source : 0d89b9c899accedd3a23841be850c83e33ec59b6
2013-07-17 12:14:39 -07:00
Jeff Walden
7f0f836f67 Bug 894653 - Make the IsObject self-hosted utility function actually correct. r=till
--HG--
extra : rebase_source : 3cdd7454efa3c5029b3bc908162c1f54547f4c7d
2013-07-16 15:57:57 -07:00
Jeff Walden
e127f08ae6 Bug 891177 - Implement mozilla/Vector.h, and make js/Vector.h implement js::Vector using mozilla::Vector's implementation of the functionality. r=terrence
--HG--
rename : js/public/Vector.h => mfbt/Vector.h
extra : rebase_source : d5f87a48485e3f2241228a4b003e80974c86fd5f
2013-07-09 16:33:29 -07:00
Jeff Walden
6c81653318 Bug 891177 - Remove Vector.h's js/TemplateLib.h dependency by introducing mfbt/TemplateLib.h with the necessary bits. r=terrence
--HG--
extra : rebase_source : e84231171d6bd6c1e2de8201b8c9563375723d01
2013-07-08 12:42:13 -07:00
Jeff Walden
87d5876801 Bug 891177 - Remove Vector.h's js/Utility.h dependency. r=terrence
--HG--
extra : rebase_source : d9be649a097b3b9b92cd62685d0fadfa8c0e2bc4
2013-07-03 16:07:43 -07:00
Jeff Walden
5805e8a35e Bug 891177 - Move leading/trailing-zero-bit counting functions, ceiling/floor log2 functions, and round-up-pow2 functions into MathAlgorithms.h. r=terrence
--HG--
extra : rebase_source : 8cfbd68b8cd4a0e21185dd864c7e827ccfa6b751
2013-07-03 15:46:51 -07:00
Benjamin Bouvier
19d239e136 Bug 894781 - Set implicit truncate for MAbs only for int32 in asm.js mode; r=luke
--HG--
extra : rebase_source : e3bb8353d3e65181e35577f732482a961e88a061
2013-07-17 14:12:43 -07:00
Wes Kocher
8bb6d1d412 Backout 95a4b87a0583 (bug 894948) for causing an octane-crypto regression on a CLOSED TREE 2013-07-17 19:01:03 -07:00
Bobby Holley
61dd1d7439 Bug 887334 - Enter a compartment in b2g-only unloading code. r=me CLOSED TREE 2013-07-17 14:28:54 -07:00
Ryan VanderMeulen
aa6ebacd21 Backed out changeset 76e7ef98a9d1 (bug 867856) for jit-test failures.
CLOSED TREE
2013-07-17 15:54:44 -04:00
Bobby Holley
96260230aa Bug 887334 - Reorder some bookkeeping and assert in setCompartment that both the old and new compartments are marked as entered. r=luke 2013-07-17 11:53:55 -07:00
Bobby Holley
8483c43066 Bug 887334 - Require cx->compartment() to be null when destroying a context. r=luke
If it's non-null, that means we've got a JSAutoCompartment on the stack, which
is going to run into trouble when it tries to restore the old compartment on
the now-dead cx.
2013-07-17 11:53:54 -07:00
Bobby Holley
9c6a589771 Bug 887334 - Stop setting the compartment to defaultCompartmentObject_->compartment(). r=luke
With this change, defaultCompartmentObject_ is just an opaque (though traced)
piece of embedder state on the cx.
2013-07-17 11:53:54 -07:00
Bobby Holley
6934cef71d Bug 887334 - Fix JSAPI test harness to not fail when the initial compartment is null. r=luke
I don't know why it's done this way, but it sure needs to change.
2013-07-17 11:53:53 -07:00
Bobby Holley
b6dac750a0 Bug 887334 - Miscellaneous JSAutoCompartments. r=luke 2013-07-17 11:53:53 -07:00
Bobby Holley
017bc7491e Bug 887334 - Add a JSAutoCompartment to AutoCxPusher. r=luke,gabor
This should hopefully take care of any cases where consumers expect to be in
the default compartment.
2013-07-17 11:53:52 -07:00
Bobby Holley
ba7f2199ac Bug 887334 - Use the new AutoCompartment overload for the atoms compartment and remove AutoEnterAtomsCompartment. r=bhackett
We have to do some temporary hackiness to deal with some of the new PJS work.
This patch stays as true to the old world as possible, so that we can more
easily backport it.
2013-07-17 11:53:52 -07:00
Bobby Holley
3c5aaefdba Bug 887334 - Don't rethrow in quickstubs if there's already an exception pending. r=luke 2013-07-17 11:53:52 -07:00
Bobby Holley
72a7f93f19 Bug 887334 - Add a JSCompartment* to AutoCompartment and use it in JS_NewGlobalObject. r=luke
This gets rid of the wonky setCompartment usage in that function.
2013-07-17 11:53:52 -07:00
Bobby Holley
f8f0c7796d Bug 887334 - Move faulty JSAutoRequest in initSelfHosting. r=luke
The call to JS_SetGlobalObject causes cx->compartment_ to be set to the self-
hosting global, which means that the JSAutoCompartment picks up that compartment
as the 'previous' compartment. So despite the attempt to restore things with
JS_SetGlobalObject at the end of the function, the JSAutoCompartment destructor
actually ends up leaving cx in the self-hosting global's compartment at the end
of this function. Moving the JSAutoCompartment construction above the call to
JS_SetGlobalObject fixes the problem.
2013-07-17 11:53:51 -07:00
Bobby Holley
73d2852f5d Bug 887334 - Null-check compartment() in JS_GetGlobalForScopeChain(). r=luke
cx->global() assumes a non-null compartment(). When we fix up various bugs
related to being in a compartment when we shouldn't be, we start to crash here.
Fix it.
2013-07-17 11:53:51 -07:00
Bobby Holley
18c1d08a65 Bug 887334 - Rejigger the string manipulation in OnJSContextNew to avoid depending on being in a compartment. r=luke
The current code makes calls that assume (implicitly, via assertions) that |cx|
is in a compartment, which isn't a valid assumption going forward.
2013-07-17 11:53:51 -07:00
Bobby Holley
ea06c3d7e0 Bug 887334 - Remove AutoSwitchCompartment. r=luke
This thing is...yikes.
2013-07-17 11:53:50 -07:00
Nicolas B. Pierron
8b65d18c25 Bug 867856 - Fix intermittent timeout of bug743094.js test case. r=h4writer 2013-07-17 11:51:19 -07:00
Nicolas B. Pierron
dac3810b4d Bug 892426 - Add an additional temp-Register to SetElementIC. r=jandem 2013-07-17 11:51:19 -07:00
Till Schneidereit
3718002644 Bug 894948 - Remove effectively-dead analysis-related code from interpreter. r=jandem
--HG--
extra : rebase_source : 037764b4c11746ee52d5347c76e2a5242b35afab
2013-07-17 19:21:10 +02:00
Luke Wagner
7ddebe9e84 Bug 882008 - OdinMonkey: fix subtraction to take doublish, rm Use (r=bbouvier)
--HG--
extra : rebase_source : 819570ab142518328aa41a1c6b81ffa0a5d7b96f
2013-07-02 11:38:43 -07:00
Luke Wagner
9f7de824b9 Bug 880538 - LifoAlloc::release after parsing every function (r=bbouvier)
--HG--
extra : rebase_source : 9ead29e3dc5110f2b1f30c5218c41cbbc26555e5
2013-06-21 16:20:47 -07:00
Luke Wagner
84aa193982 Bug 880538 - move 'hasDestructuringArgs' flag into the FunctionBox (r=bhackett)
--HG--
extra : rebase_source : d65025cd591c7faf9e64f4768da0b2b8352ee393
2013-06-28 10:29:58 -07:00
Luke Wagner
4cf02d1c92 Bug 880538 - store a pointer from ParseContext to it's PNK_FUNCTION ParseNode (r=bhackett)
--HG--
extra : rebase_source : acb4b0e5d94d0c1777173a4b0f378c46591805b3
2013-06-28 10:29:58 -07:00
Luke Wagner
97f82d46cf Bug 880538 - set pn->pn_funbox immediately (r=bhackett)
--HG--
extra : rebase_source : 11b265e64f8355989632bd2556ed119a397cb10a
2013-06-21 16:07:25 -07:00
Luke Wagner
d060f8f8b8 Bug 880538 - OdinMonkey: don't create an IonContext in MacroAssembler (r=sstangl)
--HG--
extra : rebase_source : c949b8337141681eb983ca4792849a726a059e18
2013-06-28 10:29:57 -07:00
Luke Wagner
53ff11b8ad Bug 880538 - OdinMonkey: make a single pass over the parse tree (r=bbouvier)
--HG--
extra : rebase_source : c5aafde69f44906750d1d62d6878bfbab9e048ee
2013-06-13 11:48:47 -07:00
Ryan VanderMeulen
5131a6768c Backed out 4 changesets (bug 893858, bug 868859, bug 886903) for Linux debug mochitest-other crashes on a CLOSED TREE.
Backed out changeset 0ded4854067b (bug 886903)
Backed out changeset ca8afb897e13 (bug 893858)
Backed out changeset c15f503a96cc (bug 868859)
Backed out changeset 6a788f399a7f (bug 868859)
2013-07-17 12:43:59 -04:00
Ed Morley
477df96442 Backed out changeset ad74eb485a87 (bug 891695) for startup crashes on a CLOSED TREE 2013-07-17 17:18:11 +01:00
Dan Gohman
2c331edac2 Bug 891739 - IonMonkey: Make or_ and xor_ range analysis even more precise, and avoid calling js_bitscan_clz32 with a zero operand. r=nbp,waldo 2013-07-17 08:16:05 -07:00
Dan Gohman
5f3265c7c4 Bug 891695 - IonMonkey: Avoid passing pointers by const reference. r=rpearl 2013-07-17 07:32:48 -07:00
Jan de Mooij
f704f16388 Bug 894447 - Avoid unnecessary monitor instructions and bailouts with JSOP_SETELEM accessing named properties and backout bug 894463. r=bhackett 2013-07-17 16:21:22 +02:00
Tom Schuster
40feac8ae5 Bug 893858 - More testing for CPOWs and two small bug fixes. r=dvander 2013-07-17 09:27:49 -04:00
Shu-yu Guo
0fd512ba48 Bug 894782 - Fix callsite cloning interaction with inline dispatch in Ion. (r=jandem) 2013-07-17 06:11:18 -07:00
Brian Hackett
74efe04844 Bug 894669 - Add analysis for finding variables unnecessarily entrained by inner functions, r=luke. 2013-07-16 18:54:47 -06:00
Ryan VanderMeulen
abd55eab39 Backed out changeset 56423bbe9a13 (bug 891695) because it didn't un-bust itself automagically. 2013-07-17 08:54:01 -04:00
Carsten "Tomcat" Book
48676fdbcb Relanding after backout Bug 891695 - IonMonkey: Avoid passing pointers by const reference. r=rpearl 2013-07-17 14:16:17 +02:00
Carsten "Tomcat" Book
4af925f9ad Backed out changeset 5939320824b1 (bug 894242) "CLOSED TREE" 2013-07-17 10:36:12 +02:00
Mike Hommey
65b3f87662 Bug 894242 - Make C++0x/C++11 mode of gcc/clang mandatory. r=ted 2013-07-17 16:19:25 +09:00
Mike Hommey
4d432d33fa Backout changeset cd67ffb5ca47 (bug 883381), effectively restoring bug 877937 2013-07-17 16:18:46 +09:00
Mike Hommey
ca5817dcf5 Bug 894240 - Fix pointer dereference in js::cli::OptionParser::extractValue. r=Waldo 2013-07-17 16:16:55 +09:00
Wes Kocher
1973c61af8 Backout 1372b813d76f (bug 891695) for suspicion of causing bustage on a CLOSED TREE
--HG--
extra : amend_source : 9e9d1d7792df7060a2d61d5e8721b67602e14451
2013-07-16 20:47:17 -07:00
Bobby Holley
ea7a9f6f09 Bug 889911 - Switch xpcshell to SystemErrorReporter with a little bit of special magic. r=mrbkap
XPCShell currently overrides all the JSContexts whose creation it observes with
its own custom error reporter. This reporter does all sorts of funny things which
we try to clean up for the most part. But there are a few very intricate
considerations at play.

First, the old xpcshell error reporter does some mumbo jumbo with the
XPCCallContext stack to try to guess whether some other code might catch the
exception. This is total garbage on a number of fronts, particularly because
the XPCCallContext stack has no concept of saved frame chains, nested event
loops, sandbox boundaries, origin boundaries, or any of the myriad of
complicating factors that determine whether or not an exception will propagate.

So we get rid of it. But this causes some crazy debugger tests to fail, because
they rely on an exception from uriloader/exthandler/nsHandlerService.js getting
squelched, and can't handle anybody reporting errors to the console service at
the particular moment of contortionism when the exception is raised. So we need
to introduce an explicit mechanism to disable the error reporter here to keep
things running.

Second, we have to be very careful about tracking the return status of the
xpcshell binary. The old code would simply flag an error code if the error
handler was invoked, and we can mostly continue to do that. But there are some
complications. See the comments.

Finally, we don't anything analogous in XPCShellEnvironment, because I have
patches in bug 889714 to remove its state-dependence on the error reporter.
I'll switch it to SystemErrorReporter in that bug.
2013-07-16 20:38:44 -07:00
Bobby Holley
7abe607721 Bug 889911 - Replace mozJSLoaderErrorReporter with SystemErrorReporter and remove the former. r=mrbkap 2013-07-16 20:38:44 -07:00
Bobby Holley
643e96377a Bug 889911 - Introduce xpc::SystemErrorReporter, roughly based on mozJSComponentLoader's error reporter. r=mrbkap 2013-07-16 20:38:44 -07:00
Benoit Girard
2dca0e78cb Bug 838803 - Remove HAVE_STDCALL to work around clang bug. r=glandium
--HG--
extra : rebase_source : e1cdb524a4f7f0742f2051e5915e5e21db4c0423
2013-07-16 22:01:50 -04:00
Wes Kocher
23c1ec0374 Backout 399362c3e135 (bug 894669) for bustage 2013-07-16 18:41:52 -07:00
Ryan VanderMeulen
ec49bf763f Backed out 10 changesets (bug 889911, bug 889714) due to merge conflicts on a CLOSED TREE.
Backed out changeset 1a1a536121da (bug 889714)
Backed out changeset 2cd88ef9eea5 (bug 889714)
Backed out changeset 489723887eca (bug 889714)
Backed out changeset 2b38ce22cf97 (bug 889714)
Backed out changeset 87b0a59a5d51 (bug 889714)
Backed out changeset 13229bab2ba4 (bug 889714)
Backed out changeset 234bd6d1fbed (bug 889714)
Backed out changeset 4f5f62284917 (bug 889714)
Backed out changeset 18537c4436c7 (bug 889911)
Backed out changeset ca7060ab1588 (bug 889911)
2013-07-16 21:16:31 -04:00
Bobby Holley
b5be668356 Bug 889911 - Switch xpcshell to SystemErrorReporter with a little bit of special magic. r=mrbkap
XPCShell currently overrides all the JSContexts whose creation it observes with
its own custom error reporter. This reporter does all sorts of funny things which
we try to clean up for the most part. But there are a few very intricate
considerations at play.

First, the old xpcshell error reporter does some mumbo jumbo with the
XPCCallContext stack to try to guess whether some other code might catch the
exception. This is total garbage on a number of fronts, particularly because
the XPCCallContext stack has no concept of saved frame chains, nested event
loops, sandbox boundaries, origin boundaries, or any of the myriad of
complicating factors that determine whether or not an exception will propagate.

So we get rid of it. But this causes some crazy debugger tests to fail, because
they rely on an exception from uriloader/exthandler/nsHandlerService.js getting
squelched, and can't handle anybody reporting errors to the console service at
the particular moment of contortionism when the exception is raised. So we need
to introduce an explicit mechanism to disable the error reporter here to keep
things running.

Second, we have to be very careful about tracking the return status of the
xpcshell binary. The old code would simply flag an error code if the error
handler was invoked, and we can mostly continue to do that. But there are some
complications. See the comments.

Finally, we don't anything analogous in XPCShellEnvironment, because I have
patches in bug 889714 to remove its state-dependence on the error reporter.
I'll switch it to SystemErrorReporter in that bug.
2013-07-16 18:04:49 -07:00
Bobby Holley
36f5bb58ac Bug 889911 - Introduce xpc::SystemErrorReporter, roughly based on mozJSComponentLoader's error reporter. r=mrbkap 2013-07-16 18:04:48 -07:00
Dan Gohman
70ae960f85 Bug 891695 - IonMonkey: Avoid passing pointers by const reference. r=rpearl 2013-07-16 16:00:03 -07:00
Brian Hackett
b03f3f0bcd Bug 894669 - Add analysis for finding variables unnecessarily entrained by inner functions, r=luke. 2013-07-16 18:54:47 -06:00
Jan de Mooij
e21a3f1f94 Bug 852421 - Remove MarkTypeObjectUnknownProperties call from Object.create. r=bhackett
--HG--
extra : rebase_source : efbc9855ea3b548838b7c2b74feac3db987814e5
2013-07-16 21:34:02 +02:00