Commit Graph

51839 Commits

Author SHA1 Message Date
Jon Coppeard
6cbb8d07b4 Bug 1224710 - Add test for fuzz bug fixed by bug 1223355 r=bbouvier 2015-11-18 16:07:18 +00:00
Jon Coppeard
5f5137c030 Bug 1219288 - Optimize GETIMPORT instructions in Ion r=shu 2015-11-18 11:10:10 +00:00
Jon Coppeard
7998be26c1 Bug 1219288 - Optimize GETIMPORT instructions in baseline r=shu 2015-11-18 11:09:38 +00:00
Jon Coppeard
611c616571 Bug 1219288 - Add GETIMPORT instruction for accessing module imports that are not namespace imports r=shu 2015-11-18 11:09:15 +00:00
Jon Coppeard
a87d1cf054 Bug 1219288 - Store target shapes in module environment object rather than names r=shu 2015-11-18 11:08:05 +00:00
Jon Coppeard
6565b1b519 Bug 1219288 - Ensure module environment object is not extensible and contains only non-configurable properties r=shu 2015-11-18 11:07:21 +00:00
Terrence Cole
5a9e23aec9 Backout 02919b7d57d7 (Bug 1225233) for having regressed all the things.
--HG--
extra : rebase_source : 47a1afd6aff292442a0a552910230d9905686bf0
2015-11-17 16:55:46 -08:00
Terrence Cole
74d8258add Bug 1225233 - Make MovableCellHasher a public interface, usable by embedders; r=jonco
--HG--
extra : rebase_source : 7a6e74ecfdb791f0188d4b8e7b73ca9b2078c425
2015-11-17 11:31:52 -08:00
Terrence Cole
79c325a6f3 Bug 1224038 - Use stable hashing in ObjectGroupCompartment::NewTable; r=jonco
--HG--
extra : rebase_source : 8387438844f41f7f2b3bc040cdfddf52f681a191
2015-11-17 11:31:27 -08:00
Terrence Cole
fff89323d3 Bug 1224404 - Use stable hashing for WeakMapPtr; r=jonco
--HG--
extra : rebase_source : 511ef32ad1bfdd4ee9d52fd569821ae395829bdf
2015-11-13 08:41:39 -08:00
Terrence Cole
6f36bf27bc Bug 1224050 - Use stable hashing for the IntialShapesTable; r=jonco
--HG--
extra : rebase_source : da42c693af48fd869704592f8a69ed4832d282e4
2015-11-13 08:41:36 -08:00
Hannes Verschore
29a63c9ecd Bug 1214508: SharedStubs - Fix bustage in arm64, r=bustage on CLOSED TREE 2015-11-17 19:32:13 +01:00
Jan de Mooij
f9853f52a1 Bug 1223372 - Handle ToWindowProxyIfWindow returning a dead wrapper in PrepareForWrapping. r=bholley 2015-11-17 19:24:28 +01:00
Nick Fitzgerald
4e8cbd4024 Bug 961329 - Implement JS::ubi::DominatorTree; r=sfink
This commit adds the `JS::ubi::DominatorTree` class. It uses the simple,
engineered algorithm for finding immediate dominators described in "A Simple,
Fast Dominance Algorithm" by Cooper et al[0]. This commit does not expose
dominator trees to JS, or provide any means of walking the dominator tree. These
things are reserved for future changesets.

[0]: http://www.cs.rice.edu/~keith/EMBED/dom.pdf
2015-11-17 10:02:26 -08:00
Jan de Mooij
7cb3730ff3 Bug 1216130 - Fix extra checks for unboxed objects in PropertyWriteNeedsTypeBarrier. r=bhackett 2015-11-17 18:54:06 +01:00
Hannes Verschore
40405f0b91 Bug 1214508: SharedStubs - fix bustage, r=bustage 2015-11-17 18:41:17 +01:00
Hannes Verschore
75110b9c76 Bug 1214508: SharedStubs - Part 8: Dont sync for the decompiler in ion, r=jandem 2015-11-17 17:57:49 +01:00
Hannes Verschore
82e035e979 Bug 1214508: SharedStubs - Part 7: Adjust the getprop stubs to report which engine they use, r=jandem 2015-11-17 17:57:49 +01:00
Hannes Verschore
2871ab2f55 Bug 1214508: SharedStubs - Part 6: Move the monitor stubs in to shared stub files, r=jandem 2015-11-17 17:57:49 +01:00
Hannes Verschore
05b4eb5a6c Bug 1214508: SharedStubs - Part 5: Fix ion vmcalls in shared stub, r=jandem 2015-11-17 17:57:49 +01:00
Hannes Verschore
52dc0455df Bug 1214508: SharedStubs - Part 4: Make sure the frame pushed are set correctly for ion vmcalls, r=jandem 2015-11-17 17:57:49 +01:00
Hannes Verschore
a893db58e6 Bug 1214508: SharedStubs - Part 3: Enable the getprop stubs in ionmonkey, r=jandem 2015-11-17 17:57:49 +01:00
Hannes Verschore
b7158ce8c9 Bug 1214508: SharedStubs - Part 2: Adjust the getprop stubs to report which engine they use, r=jandem 2015-11-17 17:57:48 +01:00
Hannes Verschore
e90b1ed665 Bug 1214508: SharedStubs - Part 1: Move the getprop stubs in to shared stub files, r=jandem 2015-11-17 17:57:48 +01:00
Jan de Mooij
da54c2a828 Bug 1221737 followup - Bump XDR_BYTECODE_VERSION_SUBTRAHEND to fix build errors on a CLOSED TREE. r=bustage 2015-11-17 14:43:17 +01:00
Jason Orendorff
8d209e7ee4 Bug 1221737 - Drop some BytecodeEmitter checks for cases that the Parser rules out. r=jonco.
--HG--
extra : commitid : AdGjcp4XF2w
extra : rebase_source : 29da4df939bcdf4a078f55a87c8f8eb12bf9091f
2015-10-22 16:17:39 -05:00
Jason Orendorff
5d6913aa24 Bug 1221716 - Part 2: Factor out all remaining complex cases from the switch statement in emitTree(). r=Waldo.
--HG--
extra : commitid : 6W3X5FpNplQ
extra : rebase_source : 08b3a1bb6934e9976a5ea2f63429297401579857
extra : amend_source : 889b0d6b8092703776c92a5e63feecf5d8a66e2f
2015-11-16 15:31:08 -06:00
Jason Orendorff
ec28dfc964 Bug 1221716 - Part 1: Make the simpler parts of BytecodeEmitter::emitTree() use the ok boolean consistently. r=Waldo.
--HG--
extra : commitid : Jwks8by9l8N
extra : rebase_source : ec75a3de14100016e188f9d5eb4d99602694d1c5
2015-10-22 15:57:56 -05:00
Jason Orendorff
c97e9cc482 Bug 1221660 - Part 2: Move pn_offset into a branch of the ParseNode::pn_u union. Add a subclass of ParseNode for PNK_CASE nodes. Merge PNK_DEFAULT with PNK_CASE. r=Waldo.
--HG--
extra : commitid : IAPWFRnFxVm
extra : rebase_source : 481aa7e4bb61634f15d16a37dca0c8ecce9ab8f7
2015-11-04 12:16:47 -06:00
Jason Orendorff
8a8dec88c4 Bug 1221660 - Part 1: Stop populating ParseNode::pn_offset most of the time. r=Waldo.
--HG--
extra : commitid : 3HB262DZhj8
extra : rebase_source : eeaeb23c5d6e06304d761914d703b949f2c99757
2015-10-22 15:06:10 -05:00
Jason Orendorff
4252eda5b4 Bug 1221600 - Tweak comments about standard internal methods in jsobj.h, jsfriendapi.h. r=efaust.
--HG--
extra : commitid : G20Xg6GyRa9
extra : rebase_source : 4cbe829704f2fdec0cbef1b8c164a63f57aaff06
2015-10-21 15:15:24 -05:00
Jason Orendorff
63c05bf58b Bug 1220702 - Part 3: Distinguish ES6 generators from legacy generators in Reflect.parse() output. r=Waldo.
--HG--
extra : commitid : EjbmKoUzVHY
extra : rebase_source : c9a5d21662ebe9b22a6ea4f6b74de30d5a7979a4
2015-11-03 14:53:44 -06:00
Jason Orendorff
ee1aaa35e1 Bug 1220702 - Part 2: Fix the .method property of certain FunctionDeclaration nodes. r=Waldo.
--HG--
extra : commitid : 4oo17Jwpqp9
extra : rebase_source : f68618834e1e233b3e4084780d1f93ce3b9874a0
2015-11-03 14:51:42 -06:00
Jason Orendorff
8f623568f5 Bug 1220702 - Part 1: Replace callback() and newNode() with variadic templates. What could go wrong? r=Waldo.
--HG--
extra : commitid : DITW83KQ7j5
extra : rebase_source : 8d630dfb40a1e9df06c6411b97f468ddb8c772a4
2015-11-02 11:30:04 -06:00
Jason Orendorff
2f08226381 Bug 1221285 - Part 2: Test harness support for --test-reflect-stringify. r=efaust.
--HG--
extra : commitid : JvQv6CQ9Xe6
extra : rebase_source : 85b5429995ed9ece0c7111b0801e51d794c061bf
2015-11-02 11:29:31 -06:00
Jason Orendorff
532dddb89e Bug 1221285 - Part 1: Add "-S" option to disassemble() to omit source notes from the output. Not strictly necessary, but convenient. r=efaust.
--HG--
extra : commitid : HcVVW4SDGqf
extra : rebase_source : f9491eec9b7fc141e02edc89d5977d81cb9b90f8
2015-10-30 16:52:58 -05:00
Jan de Mooij
96bb56e338 Bug 1225176 - Don't call wrap() in JitActivation constructor, it can GC and crash. r=fitzgen 2015-11-17 13:36:58 +01:00
Carsten "Tomcat" Book
a22ff2640a Merge mozilla-central to mozilla-inbound 2015-11-17 12:33:46 +01:00
Carsten "Tomcat" Book
1cf9b8b2ab merge mozilla-inbound to mozilla-central a=merge 2015-11-17 12:26:16 +01:00
Mike Hommey
5ab167c3b0 Bug 1224490 - Kill LIBXUL_DIST. r=mshal 2015-11-17 10:00:19 +09:00
Johannes Schulte
73f4f39cb1 Bug 1147430 - Optimize load followed by unbox. r=jandem 2015-11-15 20:41:47 +01:00
Benjamin Bouvier
06874d3f1e Bug 1223355: Common out constant pool generation code on x86/x64; r=sunfish
--HG--
extra : rebase_source : 73f10b8e04bb4b45f8f4876bf03a543ef19c48e1
2015-11-10 14:10:28 +01:00
Jan de Mooij
f232f35634 Bug 1221421 - Fix Ion JSPropertyOp getter stub. r=bz 2015-11-17 09:48:38 +01:00
Jan de Mooij
feea7b0353 Bug 1222905 - Fix some issues related to Ion's AddSlot IC code. r=bhackett 2015-11-17 09:47:10 +01:00
Jan de Mooij
e50ec87634 Bug 1224280 - Fix asm.js console warning when disabled by debugger and parsing off-thread. r=luke 2015-11-17 09:42:40 +01:00
Tooru Fujisawa
e4bed32ba9 Bug 1155473 - Make arm-sim-osx SpiderMonkey shell build work on automation. r=sfink
--HG--
extra : rebase_source : 0d3a16b1975ac0c503a304ce51069d3df6cd9c5c
2015-11-07 12:17:21 +09:00
Tooru Fujisawa
f83977a1d3 Bug 1225024 - Allow sloppy tolerance in ecma_6/Math/log10-approx.js. r=jorendorff
--HG--
extra : rebase_source : 59b8204be10a404ea4929a7081e333e04ae994f5
2015-11-16 17:40:26 +09:00
Wes Kocher
c0ece6bf0d Merge m-c to fx-team, a=merge
--HG--
extra : commitid : 2bzybQqlwy0
2015-11-16 17:28:26 -08:00
Tom Tromey
d2046126d5 Bug 1165807 - display WeakSet and WeakMap contents in console; r=bz,fitzgen
--HG--
extra : commitid : 21J7fnJqwm5
extra : rebase_source : 95bf00beb87284b27c22c7497aa73ded0f05bfe2
2015-11-16 06:50:00 -08:00
Phil Ringnalda
0cccf0ed58 Merge m-i to m-c, a=merge 2015-11-14 13:22:10 -08:00