Commit Graph

36415 Commits

Author SHA1 Message Date
Boris Zbarsky
130330d745 Bug 1089026 part 1. Eliminate the "parent" argument to JS_CloneFunctionObject to make callers use the scopeChain version if they want something other than the global. r=shu,peterv 2014-10-30 19:40:28 -04:00
Boris Zbarsky
63eac848fe Bug 1088228 part 4. Add a version of JS_CloneFunctionObject that allows passing in a scope chain. r=shu 2014-10-30 17:40:15 -04:00
Wes Kocher
554446ac26 Backed out 6 changesets (bug 1088228) for static analysis bustage
Backed out changeset 13ecff800114 (bug 1088228)
Backed out changeset de692c3335f2 (bug 1088228)
Backed out changeset 2d449a2b4e1c (bug 1088228)
Backed out changeset 49ac8f33ab70 (bug 1088228)
Backed out changeset 920d50e84a17 (bug 1088228)
Backed out changeset 55f4818378e4 (bug 1088228)
2014-10-30 16:24:02 -07:00
Boris Zbarsky
944348c1cc Bug 1088228 part 4. Add a version of JS_CloneFunctionObject that allows passing in a scope chain. r=shu 2014-10-30 17:40:15 -04:00
Boris Zbarsky
2dbcd11dc1 Bug 1091795. Unregress octane-box2d by not treating some cases when we can't generate a baseline stub as unoptimizable accesses. r=jandem
In particular, if the access is unoptimizable for temporary reason, like a
scripted accessor not having jitcode compiled yet or an accessor being in the
nursery, we don't want to permanently mark the access spot unoptimizable.  At
some point the accessor will gain jitcode or be tenured and then we can
optimize the access.
2014-10-30 17:36:08 -04:00
Jason Orendorff
fde78d2809 Fix some failing tests for bug 918828. no_r=me, testonly, a=RyanVM on a CLOSED TREE.
--HG--
extra : rebase_source : 68ce3c64b1a2c8eaf1f26d7f4b4914753a49572f
2014-10-30 14:24:46 -05:00
Jason Orendorff
f5eb740f5b Bug 1089758 - EmitElemOpBase's automagical JSOP_SWAP is too magical. r=Waldo.
--HG--
extra : rebase_source : a4c052ff028b81556978398c401f3ace74d8c822
2014-10-27 14:50:58 -05:00
Jason Orendorff
104c962e51 Bug 918828, part 3 - Implement JSOP_SYMBOL in the baseline compiler. r=nbp.
--HG--
extra : rebase_source : 387d627e74cf447014805b901e42ee201f513ea0
2014-07-01 21:28:11 -05:00
Jason Orendorff
e0798e184d Bug 918828, part 2 - Update decompiler for JSOP_SYMBOL. This improves error messages when @@iterator is called implicitly. r=Waldo.
--HG--
extra : rebase_source : e0e00a4d203f3a2c8a4d7cfa0a53d389e16fec53
2014-07-01 21:18:12 -05:00
Jason Orendorff
26dfad38c3 Bug 918828, part 1 - Change iteration code to call iterable[Symbol.iterator]() rather than iterable["@@iterator"](). r=Waldo with earlier review work by nbp.
--HG--
extra : rebase_source : 5780eed342b1780570650d140c7f14f966b7f1e1
2014-07-01 21:01:21 -05:00
Luke Wagner
a34ea65f1e Bug 1088655 - OdinMonkey: remove dead conjunct in parser (r=bbouvier) 2014-10-30 09:30:58 -05:00
Luke Wagner
ec3cc7c74f Bug 1088655 - OdinMonkey: fix bug in JS_NO_SIGNALS x64 lowering and tidy up a bit (r=bbouvier)
--HG--
extra : rebase_source : 7b30581ef3702db49f3d623a00309db3ae51f5aa
2014-10-30 09:30:45 -05:00
Luke Wagner
bb8ad960dd Bug 1088655 - OdinMonkey: tidy up LookupAsmJSModuleInCache (r=bbouvier)
--HG--
extra : rebase_source : a6001150478bee174d1c50158b16499f808dd4e0
2014-10-29 13:20:01 -05:00
Brian Hackett
6f9cd05f58 Bug 1091010 - Optimize accesses to TypedObject.length, r=nmatsakis. 2014-10-30 08:45:28 -07:00
Carsten "Tomcat" Book
b1c56c09ca Backed out changeset 17bae3d258dd (bug 1068684) for ASAN Bustage on a CLOSED TREE 2014-10-30 15:58:56 +01:00
Nicolas B. Pierron
31a717a596 Bug 1090037 - Ensure that dominators are defined enough before moving instructions. r=sunfish,h4writer 2014-10-30 15:22:57 +01:00
Lars T Hansen
33f6270a1e Bug 1068684 - remove asm.js length restriction on SharedArrayBuffer. r=luke 2014-10-30 14:58:20 +01:00
Mike Hommey
d667f4bb59 Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Mike Hommey
2a17803c46 Bug 1077148 part 1 - Define mozcrt in moz.build. r=gps
--HG--
rename : mozglue/build/Makefile.in => mozglue/crt/Makefile.in
rename : mozglue/build/fixcrt.py => mozglue/crt/fixcrt.py
2014-10-30 13:05:50 +09:00
Shu-yu Guo
1a323db19a Bug 1090764 - Fix typo in AbstractFramePtr::numFormalArgs. (r=efaust) 2014-10-29 19:41:43 -07:00
Shu-yu Guo
32b83400a8 Bug 1089761 - Fix initializing lexicals to throw on touch on CallObject. (r=jandem,Waldo) 2014-10-29 19:41:42 -07:00
Wes Kocher
bada661db7 Backed out changeset 750b497aea43 (bug 1089761) for rootanalysis orange on a CLOSED TREE 2014-10-29 14:14:42 -07:00
Boris Zbarsky
98fc026551 Bug 1090749. Reverse the isSelfHosted test in XrayWrapper and jsapi.cpp. r=waldo 2014-10-29 17:00:48 -04:00
Dan Gohman
e207e12830 Bug 1077991 - IonMonkey: Simplify the handling of try-catch block control flow r=jandem 2014-10-28 17:30:31 -07:00
Shu-yu Guo
c9fedbc0b9 Bug 1089761 - Initialize lexicals to throw on touch on CallObject templates. (r=jandem) 2014-10-29 12:57:31 -07:00
Boris Zbarsky
d3ead51082 Bug 1088002 part 3. Stop requiring JSPROP_PROPOP_ACCESSORS just to use stub accessors. r=waldo 2014-10-29 15:06:32 -04:00
Boris Zbarsky
e783498ddd Bug 1088002 part 2. Change JS_DefineElement, JS_DefineProperty, JS_DefineUCProperty, JS_DefinePropertyById, and JS_DefineProperties to default to using JSNative accessors, not JSPropertyOp accessors. r=waldo 2014-10-29 15:06:31 -04:00
Boris Zbarsky
be93dcf92a Bug 1088002 part 1. Change GetLocationProperty to a JSNative. r=bholley 2014-10-29 15:06:31 -04:00
Boris Zbarsky
af4b42c063 Bug 1081274 part 2. Change baseline ICs to update getter/setter stubs in place instead of adding new stubs if the stub kind and holder match an existing stub (but the shape does not). r=efaust 2014-10-29 14:55:18 -04:00
Boris Zbarsky
98ebb7fed0 Bug 1081274 part 1. Change BaselineInspector to not attempt to optimize to a common getter/setter if either we have getter/setter stubs with different holder shapes or have had an unoptimizable access. r=efaust 2014-10-29 14:55:18 -04:00
Blake Kaplan
2715e2b5c3 Bug 1058392 - Fix printing of JSStrings (and jsids) in certain versions of gdb. r=sfink 2014-10-29 11:41:09 -07:00
Brian Hackett
95b9da957c Bug 1085029 - Use common-descriptor logic more often in TypedObjectPrediction, r=nmatsakis. 2014-10-29 11:19:51 -07:00
Brian Hackett
846e2a7ddc Bug 1083600 - Use inline data for small transparent typed objects, r=sfink,nmatsakis. 2014-10-29 11:14:53 -07:00
Jon Coppeard
b21e25ba17 Bug 650161 - Update the list of test timeouts to ignore in CGC zeal tests r=terrence
--HG--
extra : rebase_source : a095f53a0b4a6ba0c26e94ba595b9bd3c2be5961
2014-10-29 16:52:05 +00:00
Jon Coppeard
1d6e4bbd98 Bug 650161 - Report GC invocation kind in stats r=terrence
--HG--
extra : rebase_source : 914b990289c6a9ea94219b2db606a96ac3b9ec76
2014-10-29 16:52:05 +00:00
Jon Coppeard
d43a5c98e4 Bug 650161 - Fix bug in arena selection logic r=terence
--HG--
extra : rebase_source : 2a9e5f4eb0bd6dade2c98125d43911ae2751d79f
2014-10-29 16:52:05 +00:00
Jan de Mooij
125735afae Bug 1090491 followup - Bump XDR_BYTECODE_VERSION. r=me
--HG--
extra : rebase_source : f41747e606f253e72c5d9e00089c8063724bccf0
2014-10-29 14:10:35 +01:00
Jan de Mooij
f6ade302c6 Bug 1090491 - Don't allocate stack slots for aliased locals. r=luke 2014-10-29 13:49:20 +01:00
Jan de Mooij
77090c4247 Bug 1086842 - Fix an Ion type barrier issue. r=bhackett 2014-10-29 12:42:03 +01:00
Jeff Walden
fca733cbce Bug 712939 - Replace a bunch more JS_STATIC_ASSERTs with static_assert. r=jandem 2014-10-26 20:23:15 -04:00
Jeff Walden
45f2ee3b13 Bug 712939 - Replace a bunch of JS_STATIC_ASSERTs with static_assert. r=jandem
--HG--
extra : rebase_source : 4205bda533538d866b8facd669b11cb40e2f02e9
2014-10-22 15:17:38 -07:00
Brian Hackett
9a3d9becba Bug 1082649 - Check for neutered typed objects before accessing their byte offset, r=nmatsakis. 2014-10-28 18:56:27 -07:00
Jan de Mooij
4b6819ad0f Bug 1089745 - Fix jstest failures outside PST timezone. r=terrence
--HG--
extra : rebase_source : c9698efb5298ca80c0c2d0864b1d2c6ad27dc199
2014-10-28 21:53:26 +01:00
Ryan VanderMeulen
09c69a8d87 Merge inbound to m-c. a=merge 2014-10-28 16:10:05 -04:00
Terrence Cole
4df32b5fac Bug 1074961 - Use C++ to guarantee that the empty chunk set is only accessed locked; r=sfink
--HG--
extra : rebase_source : 8b401fde6e6f9ff35cfa01d2692422f3e18039e1
2014-10-27 14:55:03 -07:00
Nicolas B. Pierron
9727b6e00e Bug 1087948 - Mark Baseline code of bailout frames as being active. r=jonco 2014-10-28 16:33:35 +01:00
Carsten "Tomcat" Book
865fe75c40 Merge mozilla-central to fx-team 2014-10-28 16:15:00 +01:00
Carsten "Tomcat" Book
0d3c3bcd94 Backed out changeset a4fb4c2888a1 (bug 1086530) for spidermonkey test failures 2014-10-28 12:36:44 +01:00
Carsten "Tomcat" Book
a83fb9756c Backed out changeset 33ee15f0fbcc (bug 1066827) for perma test failures in spidermonkey on a CLOSED TREE 2014-10-28 12:23:50 +01:00
Carsten "Tomcat" Book
a468b3cfb7 Backed out changeset bc56d0664d02 (bug 1066827) 2014-10-28 12:23:14 +01:00