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
Phil Ringnalda
603f7e8847
Back out 19 changesets (bug 1055472) for hazards and jstest failures
...
CLOSED TREE
Backed out changeset 738e23a218c8 (bug 1055472)
Backed out changeset 2c454e1ac50c (bug 1055472)
Backed out changeset 40919fcffecd (bug 1055472)
Backed out changeset f42360dbd545 (bug 1055472)
Backed out changeset ce74f9a7b479 (bug 1055472)
Backed out changeset 8b8fa139568b (bug 1055472)
Backed out changeset 42d1ecbce781 (bug 1055472)
Backed out changeset ccb9403a345c (bug 1055472)
Backed out changeset fdd35ea9ef38 (bug 1055472)
Backed out changeset 2f77faf418ce (bug 1055472)
Backed out changeset 1e968e8a279a (bug 1055472)
Backed out changeset d3975d948208 (bug 1055472)
Backed out changeset 03d708347ebb (bug 1055472)
Backed out changeset 5ec1640cdfd2 (bug 1055472)
Backed out changeset 5e2b91587001 (bug 1055472)
Backed out changeset fd09d5077094 (bug 1055472)
Backed out changeset 2e58e0e479b7 (bug 1055472)
Backed out changeset 67f0802a5c13 (bug 1055472)
Backed out changeset 69d9fb855787 (bug 1055472)
2015-11-13 20:49:49 -08:00
Phil Ringnalda
5c9bbe71d9
Back out 2 changesets (bug 1223990, bug 1223916) for massive mostly date-related bustage
...
CLOSED TREE
Backed out changeset ee68d52994d9 (bug 1223916)
Backed out changeset 75f6ef3df3fa (bug 1223990)
2015-11-13 20:48:05 -08:00
Eric Faust
bd779ec071
Bug 1223916 - Prohibit direct method calls at the parser level in self-hosted code. (r=till)
2015-11-13 18:26:00 -08:00
Eric Faust
8bf7730bce
Bug 1223990 - Cleanly throw errors in self-hosted code. (r=till)
2015-11-13 18:23:57 -08:00
Eric Faust
9622bed056
Bug 1055472 - Part 17: Make the Array constructor properly subclassable. (r=jorendorff, r=bhackett)
2015-11-13 18:22:22 -08:00
Eric Faust
d4e18ec7e3
Bug 1055472 - Part 16: Make the String constructor properly subclassable. (r=Waldo)
2015-11-13 18:22:22 -08:00
Eric Faust
c00a47badd
Bug 1055472 - Part 15: Make the DataView constructor properly subclassable. (r=jorendorff)
2015-11-13 18:22:22 -08:00
Eric Faust
7209e357aa
Bug 1055472 - Part 14: Make the various TypedArray constructors properly subclassable. (r=Waldo)
2015-11-13 18:22:22 -08:00
Eric Faust
a36327e53d
Bug 1055472 - Part 13: Make the ArrayBuffer constructor properly subclassable. (r=Waldo)
2015-11-13 18:22:22 -08:00
Eric Faust
6045b95296
Bug 1055472 - Part 12: Mae the WeakSet constructor properly subclassable. (r=Waldo)
2015-11-13 18:22:21 -08:00
Eric Faust
0d3e2ad01b
Bug 1055472 - Part 11: Make the WeakMap constructor properly subclassable. (r=Waldo)
2015-11-13 18:22:21 -08:00
Eric Faust
9dd4387f94
Bug 1055472 - Part 10: Make the Set constructor properly subclassable. (r=Waldo)
2015-11-13 18:22:21 -08:00
Eric Faust
91e4264669
Bug 1055472 - Part 9: Make the Map constructor properly subclassable. (r=Waldo)
2015-11-13 18:22:21 -08:00
Eric Faust
c59a51c627
Bug 1055472 - Part 8: Make the RegExp constructor properly subclassable. (r=Waldo)
2015-11-13 18:22:21 -08:00
Eric Faust
99dabe46d9
Bug 1055472 - Part 8 prelim: Rename InitializeRegExp to RegExpObject::initFromAtom for readability. (r=Waldo)
2015-11-13 18:22:21 -08:00
Eric Faust
1bb9132df9
Bug 1055472 - Part 7: Make the Date constructor properly subclassable. (r=Waldo)
2015-11-13 18:22:21 -08:00
Eric Faust
f529845e51
Bug 1055472 - Part 6: Make the Number constructor properly subclassable. (r=Waldo)
2015-11-13 18:22:21 -08:00
Eric Faust
8bb1b77655
Bug 1055472 - Part 5: Make the various Error constructors properly subclassable. (r=Waldo)
2015-11-13 18:22:21 -08:00
Eric Faust
67bd41fb1a
Bug 1055472 - Part 4: Make the Boolean constructor properly subclassable. (r=Waldo)
2015-11-13 18:22:21 -08:00
Eric Faust
9819f5299e
Bug 1055472 - Part 3: Make the Object constructor properly subclassable. (r=Waldo)
2015-11-13 18:22:21 -08:00
Eric Faust
272134a803
Bug 1055472 - Part 2b: Make Function.prototype.bind play nicely with subclassed functions. (r=Waldo, shoutouts for good flyby by evilpie)
2015-11-13 18:22:21 -08:00
Eric Faust
2f53cd36d9
Bug 1055472 - Part 2: Make the Function constructor properly subclassable. (r=Waldo)
2015-11-13 18:22:21 -08:00
Eric Faust
152df4f453
Bug 1055472 - Part 1: Factor out GetPrototypeFromConstructor and use it in existing object creation paths. (r=Waldo)
2015-11-13 18:22:21 -08:00
Eric Faust
1f31ef5b64
Bug 1144630 - Install class methods as non-enumerable on instances. (r=evilpie)
2015-11-13 18:01:54 -08:00
Carsten "Tomcat" Book
11f254091e
Merge mozilla-central to fx-team
2015-11-13 14:37:10 +01:00
Shu-yu Guo
8e2be09a2c
Bug 1223007 - Fix eval redeclaration check for Debugger.Frame.eval. (r=efaust)
2015-11-12 17:01:34 -08:00
Luke Wagner
92ca11b076
Bug 1200609 - Odin: Update comments and code mentioning interrupting via mprotect (r=benj)
...
--HG--
extra : rebase_source : 20342d227c9b13b6f642fd344b03fb553d447172
2015-11-16 08:57:31 -06:00
Wei Wu
04ed85f1fc
Bug 1223767 - "TraceLogger: Assertion failure: i < size_, at js/src/vm/TraceLoggingTypes.h:210". r=hv1989
2015-11-16 05:36:00 +01:00
Tom Tromey
c01f511269
Bug 1151106 - let debugger stop on each iteration of a "for(;;)" loop; r=jimb
2015-10-22 10:04:00 +02:00
Jon Coppeard
212bb62319
Bug 1219905 - Don't assume an exception is pending if the execution failed in oomTest() r=jandem
2015-11-12 15:04:58 +00:00
Jon Coppeard
fc0051aeea
Bug 1223021 - Add testcase for OOM in js::BoxNonStrictThis r=jandem
2015-11-12 15:04:21 +00:00
Nicolas B. Pierron
92dcd2bcec
Bug 1209515 part 11 - Increase JitSpewer mask size to avoid overflow. r=bbouvier
2015-11-12 10:57:27 +00:00
Nicolas B. Pierron
bf49183eb3
Bug 1209515 part 10 - Prevent PruneUnusedBranches from being greedy while removing branches which have only be visited a few times. r=bhackett
2015-11-12 10:57:27 +00:00
Nicolas B. Pierron
d11cd0d832
Bug 1209515 part 9 - IonBuilder: Loop header should use the hit count of the loop, instead of before the loop. r=jandem
2015-11-12 10:57:27 +00:00
Nicolas B. Pierron
b06e2100ab
Bug 1209515 part 8 - IonBuilder: newOsrPreheader should not use the hit-count of the loop. r=jandem
2015-11-12 10:57:27 +00:00
Nicolas B. Pierron
281c446531
Bug 1209515 part 7 - IonBuilder: pushLoop should not infer the continuepc from the entry block. r=jandem
2015-11-12 10:57:27 +00:00
Nicolas B. Pierron
2ee883d2b7
Bug 1209515 part 5 - Ensure that we recompile when we have frequent bailouts caused by the first execution. r=jandem
2015-11-12 10:57:27 +00:00
Nicolas B. Pierron
3ccbe94a80
Bug 1209515 part 4 - Increment code coverage counters on bailouts. r=bhackett
2015-11-12 10:57:27 +00:00
Nicolas B. Pierron
21b6782273
Bug 1209515 part 3 - IonMonkey: Add branch pruning based on code coverage counters. r=bhackett
2015-11-12 10:57:27 +00:00
Nicolas B. Pierron
4443f4632a
Bug 1209515 part 2 - Ensure that MPhi removal considers removed uses. r=bhackett
2015-11-12 10:57:27 +00:00
Nicolas B. Pierron
ba054b65a3
Bug 1209515 part 1 - IonBuilder: Attach hit counts on the MIRGraph. r=bhackett
2015-11-12 10:57:27 +00:00
Nicolas B. Pierron
b0da2d5086
Bug 1209515 part 0 - Move callerResumePoint field next to other resume points of basic blocks. r=bbouvier
2015-11-12 10:57:27 +00:00
Wes Kocher
ea2623adb5
Merge m-c to inbound, a=merge
...
--HG--
extra : commitid : 93SodIi80b2
2015-11-11 17:12:26 -08:00
Wes Kocher
a0333fb40f
Merge inbound to central, a=merge
...
--HG--
extra : commitid : 8yhUmQMKROV
2015-11-11 16:42:05 -08:00
Tom Tromey
1ce6aeda4a
Bug 1139235 - don't set line for literal case expressions; r=fitzgen
2015-10-22 10:04:00 +02:00
Phil Ringnalda
647f36e5d6
Backed out 2 changesets (bug 1222323) for build bustage
...
CLOSED TREE
Backed out changeset 7fe3d7c91ecd (bug 1222323)
Backed out changeset 2b006f565385 (bug 1222323)
2015-11-10 21:10:10 -08:00
Mike Hommey
00ebbd324f
Bug 1222323 - Fixup to js/src/configure.in to match configure.in on a CLOSED TREE
2015-11-11 13:34:38 +09:00
Terrence Cole
80c5df8a70
Bug 1220310 - Generalize GC container trace function dispatch as GCPolicy; r=sfink
...
--HG--
extra : rebase_source : bf48dcfef48b74c1596a47decad9f52ea8a4bc2f
2015-11-03 07:08:05 -08:00
Terrence Cole
561ef143e1
Bug 1223078 - Release WrappedJS eagerly; r=mccr8
...
--HG--
extra : rebase_source : 4d510d3c8e71f1282f32483b091fa7af3089dd6d
2015-11-10 08:45:42 -08:00
Steve Fink
902f50d899
Backed out changeset 35922f2e5876 (bug 1220803)
2015-11-10 09:06:40 -08:00
Steve Fink
a17c9b8a61
Bug 1220803 - Implement a move constructor for OrderedHashTable and use it for save/restore, r=terrence
...
--HG--
extra : rebase_source : fbed221396cd10a4451e2769142b8aa2e9b93d9b
2015-11-02 13:24:17 -08:00
Mike Hommey
e88f90548f
Bug 1222323 - Avoid passing extra defines to the compiler from config.mk. r=gps
...
C/C++ code should not be relying on XPI_NAME or AB_CD being defined, so
moving them out works.
2015-11-14 08:40:54 +09:00
Till Schneidereit
81d6f05c44
Bug 1224222 - Guard against setters on Array.prototype in self-hosted Module code. r=jonco
...
--HG--
extra : rebase_source : 60c07e5c76cf3ae095349918bb7aca4382d816e1
2015-11-12 16:29:02 +01:00
Jim Blandy
45ed702e15
Bug 1191765: Make Debugger.Object.prototype.getScript properly recognize functions without scripts. r=fitzgen
...
--HG--
extra : rebase_source : 467ef4d602fb228bb9f5377c5b5a5fc1d7fb10f2
2015-10-05 13:57:39 -07:00
Terrence Cole
a02ee0adac
Bug 1200734 - Use stable hashing for LiveScopesMap; r=shu
...
--HG--
extra : rebase_source : 56b002c6f9fb2dd15faf6fd1cac019931ba39dc0
2015-08-26 14:51:43 -07:00
Jon Coppeard
6a05cb9993
Bug 1217911 - Use correct scope when bailing out a module script r=shu
2015-11-10 09:44:54 +00:00
Jon Coppeard
b214afa153
Bug 1222446
- Add test for cyclic module imports r=shu
2015-11-10 09:44:53 +00:00