Commit Graph

36426 Commits

Author SHA1 Message Date
Tooru Fujisawa
4f62dbcfd7 Bug 1089038 - Do not call peekToken after matchToken failed. r=Waldo 2014-10-30 02:21:00 +01:00
Jon Coppeard
a1bdb2ddac Bug 650161 - Keep relocated arenas decommitted until next GC in debug builds r=terrence 2014-10-31 08:45:17 +00:00
Jon Coppeard
61c522a033 Bug 650161 - Fix test failures caused by inline typed object changes r=bhackett 2014-10-31 08:45:17 +00:00
Jon Coppeard
83fafe6fd7 Bug 650161 - Fix sandbox object moved hook to work on partly initialized object r=bholley 2014-10-31 08:45:17 +00:00
Eric Faust
4b609c3d9e Bug 611388 - |const| should be block scoped and require an initializer. (r=shu) 2014-10-30 17:27:03 -07:00
Eric Faust
0d3f07773b Bug 611388 - Part 0: Sanify how const is handled by Reflect.parse. (r=shu) 2014-10-30 17:27:01 -07:00
Shu-yu Guo
960386eca4 Bug 1082875 - Make BytecodeSite a TempObject to save on duplicates. (r=djvj) 2014-10-30 17:23:04 -07:00
Boris Zbarsky
04811ae677 Bug 1089026 part 5. Eliminate the ability to provide a non-global parent object to JS::CompileFunction and company except via the scopeChain API. r=waldo 2014-10-30 19:40:29 -04:00
Boris Zbarsky
a31f4f8ed3 Bug 1089026 part 4. Change the CompileFunction calls in the component loader and subscript loader to pass in their desired scope chains. r=bholley 2014-10-30 19:40:29 -04:00
Boris Zbarsky
021f135323 Bug 1089026 part 3. Add a friend API for getting the scope object for a function, if it has one. r=shu 2014-10-30 19:40:28 -04:00
Boris Zbarsky
526be6f105 Bug 1089026 part 2. Refactor the CompileFunction code to allow cleanly separating whether we're passing in an object to define the function on or a scope chain. This change should not cause any behavior changes. r=shu 2014-10-30 19:40:28 -04:00
Boris Zbarsky
b9aee86fbc 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
03e093c6b2 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
f060936900 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
00b1193b0c 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
52a2ead70c 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
5ecdd75ea9 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
5b996106ed 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
e9403f784c 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
2c2d23e7f0 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
7b2cf9d053 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
b1a27ae352 Bug 1088655 - OdinMonkey: remove dead conjunct in parser (r=bbouvier) 2014-10-30 09:30:58 -05:00
Luke Wagner
03f7fc43d6 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
548201bc88 Bug 1088655 - OdinMonkey: tidy up LookupAsmJSModuleInCache (r=bbouvier)
--HG--
extra : rebase_source : a6001150478bee174d1c50158b16499f808dd4e0
2014-10-29 13:20:01 -05:00
Brian Hackett
1a7dc1b907 Bug 1091010 - Optimize accesses to TypedObject.length, r=nmatsakis. 2014-10-30 08:45:28 -07:00
Carsten "Tomcat" Book
ca3387f457 Backed out changeset 17bae3d258dd (bug 1068684) for ASAN Bustage on a CLOSED TREE 2014-10-30 15:58:56 +01:00
Nicolas B. Pierron
34bbd686a7 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
b2f406362d Bug 1068684 - remove asm.js length restriction on SharedArrayBuffer. r=luke 2014-10-30 14:58:20 +01:00
Mike Hommey
21ec48314e 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
c5ba34275a 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
7dae9a7ad8 Bug 1090764 - Fix typo in AbstractFramePtr::numFormalArgs. (r=efaust) 2014-10-29 19:41:43 -07:00
Shu-yu Guo
42b4a9b45f Bug 1089761 - Fix initializing lexicals to throw on touch on CallObject. (r=jandem,Waldo) 2014-10-29 19:41:42 -07:00
Wes Kocher
96bb05a565 Backed out changeset 750b497aea43 (bug 1089761) for rootanalysis orange on a CLOSED TREE 2014-10-29 14:14:42 -07:00
Boris Zbarsky
da98199782 Bug 1090749. Reverse the isSelfHosted test in XrayWrapper and jsapi.cpp. r=waldo 2014-10-29 17:00:48 -04:00
Dan Gohman
985d705cf2 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
744b4b0508 Bug 1089761 - Initialize lexicals to throw on touch on CallObject templates. (r=jandem) 2014-10-29 12:57:31 -07:00
Boris Zbarsky
2a28827a16 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
472292138d 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
a315a94e41 Bug 1088002 part 1. Change GetLocationProperty to a JSNative. r=bholley 2014-10-29 15:06:31 -04:00
Boris Zbarsky
c1d204d5e9 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
b2a7700a68 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
f4d698ec98 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
364501a509 Bug 1085029 - Use common-descriptor logic more often in TypedObjectPrediction, r=nmatsakis. 2014-10-29 11:19:51 -07:00
Brian Hackett
0e00949590 Bug 1083600 - Use inline data for small transparent typed objects, r=sfink,nmatsakis. 2014-10-29 11:14:53 -07:00
Jon Coppeard
2b9adf4184 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
340e25ac04 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
5beedda665 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
94b959de20 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
4aba8d9b17 Bug 1090491 - Don't allocate stack slots for aliased locals. r=luke 2014-10-29 13:49:20 +01:00
Jan de Mooij
41c5623e22 Bug 1086842 - Fix an Ion type barrier issue. r=bhackett 2014-10-29 12:42:03 +01:00