Граф коммитов

48501 Коммитов

Автор SHA1 Сообщение Дата
Jon Coppeard fe0aefdb54 Bug 1149997 - Add v8-v5/check-raytrace.js test to expected CGC timeouts list. r=terrence 2015-04-01 07:20:00 +02:00
Wes Kocher 2f6554bf7c Backed out 20 changesets (bug 1138499, bug 1148750, bug 1149563, bug 1148652, bug 1123875, bug 1145636, bug 1147660, bug 1148568, bug 1142828) for talos other timeouts CLOSED TREE
Backed out changeset 3fc49391f7fe (bug 1148750)
Backed out changeset 75e867c1c39e (bug 1148750)
Backed out changeset 7f6a4e3976f0 (bug 1148750)
Backed out changeset 91d726011835 (bug 1149563)
Backed out changeset fc7c3cf0e526 (bug 1148652)
Backed out changeset 35a01c7e0f8d (bug 1148652)
Backed out changeset 3125cc5a7a65 (bug 1148652)
Backed out changeset a9f10724b83b (bug 1148568)
Backed out changeset 87132a806ab0 (bug 1147660)
Backed out changeset e6b410c7b847 (bug 1147660)
Backed out changeset c350fe54d9c0 (bug 1147660)
Backed out changeset e4b971996b94 (bug 1147660)
Backed out changeset f221db19fb75 (bug 1147660)
Backed out changeset c4599f0cff00 (bug 1142828)
Backed out changeset c7388a9c3935 (bug 1138499)
Backed out changeset 9b51b38317d6 (bug 1138499)
Backed out changeset ad243a3cd06f (bug 1138499)
Backed out changeset fafda276abd9 (bug 1138499)
Backed out changeset 0a00470fdc2a (bug 1145636)
Backed out changeset 06dbe25231c2 (bug 1123875)

--HG--
extra : amend_source : be3290b09642feacd7f517f1e354126b2e905998
2015-04-01 19:17:45 -07:00
Bill McCloskey 8ca51dad9f Bug 1146033 - Fix Reflect.parse default parameters (r=Waldo) 2015-04-01 17:37:13 -07:00
Bill McCloskey 741a56ff2e Bug 1146032 - Fix comprehension name location in Reflect.parse (r=Waldo) 2015-04-01 17:37:13 -07:00
Jason Orendorff 8f3661c119 Bug 1148750, part 3 - Rewrite the rest of NativeDefineProperty. At this point it stops being practical to continue in small chunks. r=efaust.
--HG--
extra : rebase_source : 40a81d338d1737705843433ca455998103d862cb
extra : amend_source : 1bd38382e5f7b59c7ffae70185b33918fb5dc4a4
2015-03-23 14:32:31 -05:00
Jason Orendorff af76a72464 Bug 1148750, part 2 - Check extensibility in NativeDefineProperty. r=efaust.
--HG--
extra : rebase_source : 14a443aa33bcc26a96c61b8cce885b67924fffa8
2015-03-27 14:03:01 -05:00
Jason Orendorff b6e227d212 Bug 1148750, part 1 - Factor out the lookup common to three branches at the top of NativeDefineProperty. r=efaust.
The existing setup saves a branch. We can't keep it. All that code is about to be completely rewritten. In the standard algorithms, this check is not immediately followed by a branch on this particular condition (desc.hasValue()). Furthermore, to deal with resolve hooks properly, we will later change the condition of this if-statement to something like `if (resolving)`, which will not be something we can common up with any other branch in this function.

--HG--
extra : rebase_source : 57013918622246620792b42d8a982cf03d8c0b6b
2015-03-23 14:32:30 -05:00
Jason Orendorff 90c16cee78 Bug 1149563 - Change bogus ctypes code that modifies a frozen object. r=efaust.
--HG--
extra : rebase_source : e48d80e289541c17b8c4eade893a966247803fd6
2015-03-28 11:28:06 -05:00
Jason Orendorff a7a123c06d Bug 1148652, part 3 - Mark arguments.length as overridden when it is redefined via the C API. r=efaust.
--HG--
extra : rebase_source : f08959c8e664c444f17839a7f41ea81cfb1e786b
2015-03-23 14:32:33 -05:00
Jason Orendorff c2f23a4c06 Bug 1148652, part 2 - Use mostly-compliant code for defining TypedArray elements, already used from StandardDefineProperty, in NativeDefineProperty as well. r=efaust.
--HG--
extra : rebase_source : 0ab7bd85b08bbd119a0bba0b44622b778c68d56e
2015-03-23 14:32:31 -05:00
Jason Orendorff 6da336390e Bug 1148652, part 1 - Move array-specific special cases to the top of NativeDefineProperty; update ArraySetLength to be able to cope with incomplete attrs. r=efaust.
--HG--
extra : rebase_source : e18822aa579d21265cd24e699a8418d21a0b3c1a
2015-03-23 14:32:30 -05:00
Jason Orendorff 1e85735195 Bug 1148568 - In JSON.parse with a reviver callback, ignore failure when defining properties. r=Waldo.
Switch to StandardDefineProperty while we're at it. I don't think the "CreateDataProperty" operation given in the spec is quite worth making into a function on its own, since the standard almost exclusively uses it in cases where it "can't fail", and (a) that is unpossible for us; (b) this is not one of those cases anyway.

--HG--
extra : rebase_source : cbc30922219c1f89b3ffce98519935e192bfba72
2015-03-23 14:32:30 -05:00
Jason Orendorff 3fc97b5a52 Bug 1147660, part 5 - Split the part of NativeDefineProperty that updates the object into a separate function again. r=efaust.
--HG--
extra : rebase_source : 4b969384bd16005a879354bb7511a1ca7a6f8eb3
2015-03-23 14:32:29 -05:00
Jason Orendorff 4e89ec70c3 Bug 1147660, part 4 - Change NativeDefineProperty to use a PropertyDescriptor internally instead of a bunch of variables. This is a little ugly at first but it'll get better. r=efaust.
--HG--
extra : rebase_source : a3b39493a207f24e3857ceac2adb72abc9f8a5fb
2015-03-23 14:32:29 -05:00
Jason Orendorff 883edd42fd Bug 1147660, part 3 - Rearrange NativeDefineProperty so that special cases are all dispensed with, and ES6 checks done, by the time we start thinking about how to update the object. r=efaust.
--HG--
extra : rebase_source : cfdbbd8e1b75d85fd35e38546e549a5ac03ee0de
2015-03-23 14:32:29 -05:00
Jason Orendorff 197cab10be Bug 1147660, part 2 - Merge DefinePropertyOrElement into NativeDefineProperty, making one long function we can refactor. r=efaust.
--HG--
extra : rebase_source : 97fd9837162b6f44f7e6a7171d1470ffee9c5226
2015-03-23 14:32:28 -05:00
Jason Orendorff 761af8500f Bug 1147660, part 1 - Refactor NativeDefineProperty to put DefinePropertyOrElement's only call site right at the end. No change in behavior. r=efaust.
--HG--
extra : rebase_source : d6303e6b3d5cee2a7051c18c5feba9b2779dfe0d
2015-03-23 14:32:28 -05:00
Jason Orendorff 39dccf0118 Bug 1142828 - Refactor to avoid having [[Set]]-specific weird cases in the [[DefineOwnProperty]] code. r=Waldo.
NativeSetExistingDataProperty is only moved in this changeset; its body is not modified.

--HG--
extra : rebase_source : 413ad14802b8deb6bffef81897cd61ee004d35e2
2015-03-23 14:32:28 -05:00
Jason Orendorff 5bb0f20d04 Bug 1138499, part 3 - Flip JS_CHECK_ACCESSOR_FLAGS from a blacklist to a whitelist. r=Waldo.
--HG--
extra : rebase_source : e942619bdb41dc68314d14633eb321cee0b5c936
2015-03-23 16:44:10 -05:00
Jason Orendorff 8e30617e7f Bug 1138499, part 2 - Strengthen assertComplete() to require that both [[Get]] and [[Set]] be present on accessor properties. r=Waldo.
--HG--
extra : rebase_source : d9351de6bd09ed6e45e8b829b84f6225a13bb6c5
2015-03-23 14:32:27 -05:00
Jason Orendorff 770a46ff88 Bug 1138499, part 1 - Assert some basic rules on property descriptors on entry to DefineProperty and exit from GetOwnPropertyDescriptor. r=Waldo.
--HG--
extra : rebase_source : 20aa9effa82522e0be5614e0217e769f0a524d30
2015-03-23 14:32:27 -05:00
Jason Orendorff eff7d55d4c Bug 1138499, part 0 - Fix code spuriously using JSPROP_READONLY when defining an accessor property. r=Waldo.
--HG--
extra : rebase_source : 423ce0caf4530b4058c64f52bc9129382890d18b
2015-03-23 16:36:43 -05:00
Jason Orendorff 77ff54703d Bug 1145636 - Update jsapi-tests/README. (The functional change is where it talks about the Makefile; that was stale.) r=Waldo.
--HG--
extra : rebase_source : d0029248f66a521dc19662453fcc6699a811d1fa
2014-10-31 16:58:18 -05:00
Wes Kocher 534c6baa87 Backed out changeset 429f4e9d44dc (bug 1149811) for test failures CLOSED TREE 2015-04-01 10:25:04 -07:00
Wes Kocher 459b664c21 Backed out 8 changesets (bug 679939) for test failures
Backed out changeset 4a1a45bc093a (bug 679939)
Backed out changeset 5336ae0fe919 (bug 679939)
Backed out changeset 4cbcb40e0ef4 (bug 679939)
Backed out changeset 3bc68cf4610b (bug 679939)
Backed out changeset ec2d863a3df9 (bug 679939)
Backed out changeset 4425a55312c6 (bug 679939)
Backed out changeset d3793e00b41f (bug 679939)
Backed out changeset 872edd1aedf7 (bug 679939)
2015-04-01 10:24:42 -07:00
Hannes Verschore 619b08a474 Bug 1138881 - IonMonkey: Allow fixing andor blocks which have MFilterTypeSet, r=bhackett 2015-03-25 16:15:28 +01:00
Hannes Verschore e5820a88ba Bug 1138881 - IonMonkey: Improve types at AndOr, r=bhackett 2015-03-25 16:15:27 +01:00
Boris Zbarsky 99c966ffe4 Bug 679939 part 8. Drop the now-unused compileAndGo from CompileOptions. r=luke 2015-04-01 12:05:29 -04:00
Boris Zbarsky a43380707b Bug 679939 part 7. Drop the now-unused JSScript::compileAndGo. r=luke 2015-04-01 12:05:29 -04:00
Boris Zbarsky fad230c5f1 Bug 679939 part 6. Drop function-cloning uses of compileAndGo, since it no longer affects the bytecode. r=luke 2015-04-01 12:05:29 -04:00
Boris Zbarsky 2f3986136c Bug 679939 part 5. Stop using the compileAndGo script flag in the bytecode emitter. r=luke 2015-04-01 12:05:29 -04:00
Boris Zbarsky ac86d6109d Bug 679939 part 4. Set the isRunOnce compile flag as needed. r=luke 2015-04-01 12:05:28 -04:00
Boris Zbarsky 02d052c10e Bug 679939 part 3. Add a CompileOptions flag for indicating that the script should be compiled runOnce. r=luke 2015-04-01 12:05:28 -04:00
Boris Zbarsky 293371ff60 Bug 679939 part 2. Disallow execution of global/eval scripts that are flagged runOnce and have already run. r=luke 2015-04-01 12:05:28 -04:00
Boris Zbarsky a9c7e5c68c Bug 679939 part 1. Extend the hasRunOnce/treatAsRunOnce setup to global and eval scripts. r=luke 2015-04-01 12:05:28 -04:00
Boris Zbarsky ab081583b6 Bug 1149811. When XDR-decoding a non-lazy function that can be lazified, we need to set up a backpointer from its LazyScript to its JSScript. r=luke 2015-04-01 12:05:28 -04:00
Jan de Mooij d57a0c0e6b Bug 1146836 part 2 - Use Vectors instead of malloc in emitSwitch and fix an old bug. r=luke 2015-04-01 16:20:29 +02:00
Jan de Mooij 266e4b59c6 Bug 1146836 part 1 - Cleanup BytecodeEmitter::emitSwitch. r=luke 2015-04-01 16:20:26 +02:00
David Rajchenbach-Teller 4179564dbf Bug 674779 - Per-component CPU monitoring, low-level. r=blassey, r=jandem
--HG--
extra : rebase_source : 7d604155e0ab0b19befa5a70eda5f4876b239935
2015-03-31 12:40:52 +02:00
Tooru Fujisawa 058a4ec235 Bug 1054755 - Part 3: Use IsRegExp in String.prototype.{contains,startsWith,endsWith}. r=till 2015-04-01 18:34:03 +09:00
Tooru Fujisawa 1c0d394afc Bug 1054755 - Part 2: Implement IsRegExp. r=till 2015-04-01 18:34:03 +09:00
Tooru Fujisawa 8f56460aad Bug 1054755 - Part 1: Add Symbol.match. r=till 2015-04-01 18:34:03 +09:00
Tooru Fujisawa 8a660008ff Bug 1054755 - Part 0: Rename existing IsRegExp to IsRegExpObject. r=till 2015-04-01 18:34:03 +09:00
Tooru Fujisawa 01a24c421f Bug 1005110 - Warn about unreachable expression after semicolon-less return. r=efaust 2015-04-01 18:34:03 +09:00
Tooru Fujisawa 567240287f Bug 1148899 - Rename isExprClosure/setIsExprClosure/EXPR_CLOSURE to isExprBody/setIsExprBody/EXPR_BODY. r=shu 2015-04-01 18:34:02 +09:00
Tooru Fujisawa ec0a99d3dd Bug 1149015 - Part 3: Remove some use of expression closure from jit-test r=luke 2015-04-01 18:34:02 +09:00
Tooru Fujisawa 7a59b1808b Bug 1149015 - Part 2: Remove some use of expression closure from jstests js1_8_5/extensions. r=luke 2015-04-01 18:34:02 +09:00
Tooru Fujisawa f16573fece Bug 1149015 - Part 1: Remove some use of expression closure from jstests ecma_7/. r=sfink 2015-04-01 18:34:02 +09:00
Jon Coppeard c1a7380238 Bug 1149135 - Don't create HashMapEntry on stack when adding to a HashMap r=luke 2015-04-01 10:11:06 +01:00
Jon Coppeard 6131f67cc8 Bug 1146696 - Don't assume there are no arenas available after last ditch GC. r=terrence 2015-03-30 11:03:35 +01:00