Jan de Mooij
2eae9f8a3f
Bug 1231224 part 4 - Fix TokenStream::getDirective to check append() return value. r=jwalden
2015-12-10 13:22:14 -05:00
Jan de Mooij
b214d21a76
Bug 1231224 part 3 - Fix some append() calls in Odin to handle OOM. r=bbouvier
2015-12-10 13:22:14 -05:00
Jan de Mooij
86e6d30178
Bug 1231224 part 2 - Fix MTableSwitch methods to handle OOM. r=h4writer
2015-12-10 13:22:14 -05:00
Jan de Mooij
45be0649a9
Bug 1231224 part 1 - Fix ExecutableAllocator to not leak a pool when append() OOMs. r=nbp
2015-12-10 13:22:14 -05:00
Jan de Mooij
16d0101ce1
Bug 1228571 - Fix GenerateSeed to not leave seed uninitialized if reading from /dev/urandom fails. r=cpeterson
2015-12-10 13:22:14 -05:00
Eric Faust
0b4d1f0b39
Bug 1202784 -Part 2: Seperate RequireCoercible check from JSOP_TOID. (r=jandem)
2015-12-10 09:04:47 -08:00
Eric Faust
64239255ad
Bug 1202784 - Part 1: Refactor SuperElemOperations for use with emitElemOperands. (r=jandem)
2015-12-10 09:04:45 -08:00
Jan de Mooij
718316dc71
Bug 1225396 part 3 - Make %GeneratorPrototype% inherit from %IteratorPrototype%. r=jorendorff
2015-12-09 22:55:50 -05:00
Jan de Mooij
1c94156bf7
Bug 1225396 part 2 - Fix ES6 iterator prototype chains. r=jorendorff
2015-12-09 22:54:44 -05:00
Jan de Mooij
544e48f726
Bug 1225396 part 1 - Rename *Iterator stuff to *LegacyIterator. r=jorendorff
2015-12-09 22:54:10 -05:00
Andrea Marchesini
32580a380e
Bug 1231100 - Get rid of nsIDOMFileReader - patch 2, r=sicking
2015-12-09 15:52:38 -05:00
Andrea Marchesini
c2230f21f8
Bug 1231100 - Get rid of nsIDOMFileReader - patch 1, r=sicking
2015-12-09 15:52:15 -05:00
Shu-yu Guo
8579f4894a
Bug 1071646 - Support JSOP_BINDVAR in Ion. (r=jandem)
2015-12-09 07:52:59 -08:00
Shu-yu Guo
0a03078fc1
Bug 1071646 - Support JSOP_BINDVAR in Baseline. (r=jandem)
2015-12-09 07:52:58 -08:00
Shu-yu Guo
3fa7e43385
Bug 1071646 - Cast ParseNode to Definition using as<T>. (r=jorendorff)
2015-12-09 07:52:58 -08:00
Shu-yu Guo
85cc9c0f9c
Bug 1071646 - Introduce JSOP_BINDVAR to support Annex B.3.3.3. (r=jorendorff)
2015-12-09 07:52:58 -08:00
Shu-yu Guo
0166aa107c
Bug 1071646 - Support labelled function declarations in sloppy mode per Annex B.3.2. (r=jorendorff)
2015-12-09 07:52:58 -08:00
Shu-yu Guo
e5f6c90449
Bug 1071646 - Make functions block-scoped in JS and implement Annex B semantics for compatibility. (r=jorendorff)
2015-12-09 07:52:58 -08:00
Shu-yu Guo
53c0e2cad8
Bug 1071646 - Light refactoring of lexical binding helpers in Parser. (r=jorendorff)
2015-12-09 07:52:58 -08:00
Benjamin Bouvier
3752ed4a06
Bug 1230409: Implement dummy HeapOffset members for non-ion builds; r=luke
...
--HG--
extra : rebase_source : a993d11633deaf8bc20a796bde4008178df326f9
2015-12-04 12:42:33 +01:00
Jan de Mooij
a21a8ed722
Bug 1216379 - Throw less cryptic error message when using a non-iterable in a for...of loop. r=jorendorff
2015-12-08 15:28:23 -05:00
Sebastian Hengst
134244b2ae
Backed out 2 changesets (bug 1229604) for Spidermonkey bustage on Windows and static failures. r=backout
...
Backed out changeset 0cb584405271 (bug 1229604)
Backed out changeset d4053d8be57b (bug 1229604)
2015-12-05 22:33:18 +01:00
Ryan VanderMeulen
ae574256a3
Bug 1229604 - Revert the original patch that's not needed anymore.
2015-12-05 15:38:34 -05:00
Yuan Pengfei
4e94d65992
Bug 1229604 - Fix VS2015u1 Assembler-x86.h & Assembler-x64.h C2078 bustage. r=nbp
2015-12-03 17:39:00 -05:00
Morgan Phillips
42c428ea21
Bug 1197094 - ForOfIterator calls ToObject on iterable; r=evilpie
...
Remove a needless cast from ValueHandle to Object to ValueHandle, where type information was lost.
--HG--
extra : rebase_source : 7c94bb545cc4d7293745ae486f1eb43a819b2060
2015-12-04 15:07:03 -08:00
Jeff Walden
f0143b1186
Bug 1227677 - Simplify emitting of comprehension variables. r=shu
2015-11-24 11:00:44 -08:00
Jeff Walden
6ff5c8010b
Bug 1227677 - Simplify code in light of the fact that for-in/of loops never have a PNK_LEXICALSCOPE declaration node and therefore never have a letBlockScope requiring pushing and popping. r=shu
2015-11-24 11:00:44 -08:00
Jeff Walden
122b3ad105
Bug 1227677 - Rename the misnomer |letDecl| variable associated with for-in/of loop variables to |letBlockScope|, as that's much closer to its actual meaning. (Notably, |for (let x of []);| does *not* mean |*letDecl|.) r=shu
2015-11-24 11:00:44 -08:00
Jeff Walden
bc4883181e
Bug 1227677 - Emit code for PNK_COMPREHENSIONFOR using separate code from that used for for-loops. r=shu
2015-11-24 11:00:44 -08:00
Jeff Walden
f5da2608e0
Bug 1227677 - Extract PNK_COMPREHENSIONFOR from PNK_FOR so that comprehension gunk doesn't taint for-loop emitting logic. r=shu
2015-11-24 11:00:43 -08:00
Nick Fitzgerald
4560db90e5
Bug 1170325 - Convert js::Vector into a template alias to mozilla::Vector with a single customized default argument. Also get rid of the CRTP support in mozilla::Vector (through mozilla::VectorBase) now that template aliasing is good enough, and make mozilla::Vector final so that people will use composition and not inheritance with it. (Inheritance plays poorly with movability and a few other things, in addition to messing up template argument deduction matching.) r=Waldo, patch sort of a tag-team between him and me
2015-07-13 12:42:52 -07:00
Shu-yu Guo
ebc67a0d2f
Bug 1131759 - Atomicize SharedScriptData::marked. (r=terrence)
2015-12-04 18:05:05 -08:00
Tom Schuster
45dd67c79a
Bug 1199422 - Stop pattern matching class-constructors in String#replace and Array#sort. r=efaust
2015-12-04 22:41:04 +01:00
Lars T Hansen
d1f95ce1ab
Bug 1225040 - generalize jsapi-tests for SAB. r=arai
...
--HG--
extra : rebase_source : cb9fcbed7c7f28a8a3f22e71273f4fd0d18ff82d
extra : amend_source : d42d5d61e2a4476f8fa59dd111b72ecfe08a54e7
2015-11-16 15:49:36 +01:00
Lars T Hansen
78aa2c6f8d
Bug 1230162 - allocate less, when we can. r=luke
...
--HG--
extra : rebase_source : 41044134714073a611a70ccaf065a61b25553db1
extra : amend_source : a4fac35ff4f5b36636ba9c9d596d29276483d565
2015-12-03 16:52:31 +01:00
Boris Zbarsky
279d126b1b
Bug 1227190 part 3. Make debugger error reporting play nice with the embedding taking ownership of error reporting. r=jorendorff
2015-12-02 13:53:00 -05:00
Boris Zbarsky
a3d7f2a714
Bug 1227190 part 2. Change PrepareScriptEnvironmentAndInvoke to take a JSContext*, not a JSRuntime*. r=jorendorff
2015-12-04 09:51:04 -05:00
Boris Zbarsky
0c51191364
Bug 1227190 part 1. change PrepareScriptEnvironmentAndInvoke to return void, not bool, to make it clearer that it reports exceptions for you. r=jorendorff
2015-12-02 13:53:00 -05:00
Heiher
8a4393dcba
Bug 1230404 - IonMonkey: MIPS32: Fix load32(wasm::SymbolicAddress, Register). r=bbouvier
...
---
js/src/jit/mips32/MacroAssembler-mips32.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2015-12-04 22:32:33 +08:00
Heiher
b3d0d46ded
Bug 1230403 - IonMonkey: MIPS: Add add64 to mips32. r=arai
...
---
js/src/jit/MacroAssembler.h | 2 +-
js/src/jit/mips32/MacroAssembler-mips32-inl.h | 12 ++++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
2015-12-04 22:32:32 +08:00
Jon Coppeard
309f97e80f
Bug 1227567 - Test that we guard on the namespace object when compiling accesses to module namespace imports r=shu
2015-12-04 13:47:25 +00:00
Jon Coppeard
d8ea08336c
Bug 1229493 - Stop shell-only modules classes being reported as standard classes r=shu
2015-12-04 13:47:25 +00:00
Eric Faust
01c2b9ee24
Bug 1055472 - Part 18: Incorportate arai's test into the subclassing suite. (r=me)
2015-11-18 14:11:14 -08:00
Eric Faust
83011e03de
Bug 1055472 - Part 17: Make the Array constructor properly subclassable. (r=jorendorff, r=bhackett, r=terrence)
2015-11-13 18:22:22 -08:00
Eric Faust
7f20e0e2e8
Bug 1055472 - Part 16: Make the String constructor properly subclassable. (r=Waldo)
2015-11-13 18:22:22 -08:00
Eric Faust
9f2ef2ef43
Bug 1055472 - Part 15: Make the DataView constructor properly subclassable. (r=jorendorff, r=bhackett)
2015-11-13 18:22:22 -08:00
Eric Faust
b2f78e7ec8
Bug 1055472 - Part 14: Make the various TypedArray constructors properly subclassable. (r=Waldo, r=bhackett)
2015-11-13 18:22:22 -08:00
Eric Faust
6b81e290b2
Bug 1055472 - Part 13: Make the ArrayBuffer constructor properly subclassable. (r=Waldo)
2015-11-13 18:22:22 -08:00
Eric Faust
013d13c53c
Bug 1055472 - Part 12: Mae the WeakSet constructor properly subclassable. (r=Waldo)
2015-11-13 18:22:21 -08:00
Eric Faust
1955dd4181
Bug 1055472 - Part 11: Make the WeakMap constructor properly subclassable. (r=Waldo)
2015-11-13 18:22:21 -08:00