Commit Graph

48717 Commits

Author SHA1 Message Date
Jason Orendorff
c18e3c4a1d Bug 1150906 - Fix "Assertion failure: !has(SHADOWABLE)" and subsequent GC crashes introduced in rev 034027f41aaf. r=Waldo.
--HG--
extra : rebase_source : a973c68e1484d898db8c11b33b2f2e9b7765a0f2
extra : amend_source : 1122293e05fb57c2f0dfb606f06aca371e02ea8f
2015-04-07 15:44:09 -05:00
Chris Peterson
dae5c2c686 Bug 1001975 - Enable -Wuninitialized warnings as errors. r=glandium 2015-04-01 00:50:58 -07:00
Shu-yu Guo
ab9f050ef8 Bug 996982 - Fix Debugger script delazification logic to account for relazified clones. (r=bz) 2015-04-07 16:40:34 -07:00
Bobby Holley
97a7bbb935 Bug 1150771 - Let ArrayBuffer through object Xrays. r=gabor 2015-04-07 15:10:00 -07:00
Trevor Saunders
e3494d34db no bug - fix windows includes for case sensitive file systems 2015-04-07 17:15:49 -04:00
Steve Fink
3fd6c99628 Bug 963738 - Annotate XPCNativeMember, r=terrence
--HG--
extra : rebase_source : a8ad29dcb7c67efe51c8d96ffa3734e5e61efae7
2015-04-06 15:56:40 -07:00
Steve Fink
f547784a64 Bug 963738 - Assume(ptr) is not a hazard; Assume(*ptr) is, r=bhackett
--HG--
extra : rebase_source : c4e984a70ce093717810843b2243a4b0b5ab6a87
2015-03-30 14:01:58 -07:00
Steve Fink
e30ca0ae1f Bug 963738 - Handle Arrays in the analysis, r=terrence
--HG--
extra : rebase_source : 4f19a44bd85b0f59507c9e7cc1cac9fb6449722c
2014-02-03 23:12:39 -08:00
Steve Fink
293b9a28af No bug. Refactor GC type annotations, re=terrence
--HG--
extra : rebase_source : 49bb7a95f42ebbdd98bcea86087a1a0dd58a462a
2015-03-18 10:59:17 -07:00
Sean Stangl
e16f1c147d Bug 1147629 - Use getStackPointer() and helper functions. r=jandem 2015-03-24 14:44:06 -07:00
Ryan VanderMeulen
f478f66176 Backed out changeset 6bbe2e6958a9 (bug 1127801) for intermittent (?!?!) Mulet mochitest bustage.
CLOSED TREE

--HG--
extra : rebase_source : 09ea9b1c4036b609424cf1e50476fe5272a4ca9c
2015-04-07 13:47:54 -04:00
naru-san
17258381ee Bug 1127801 - Capture path to milestone.txt from the OS automatically using MozbuildObject from mozbuild.base. r=ted
CLOSED TREE
2015-04-07 12:43:40 -04:00
Ryan VanderMeulen
cc0f05835b Backed out changeset a67a0be7325e (bug 1127801) for test bustage. 2015-04-07 11:50:10 -04:00
Benjamin Bouvier
a569d7335f Bug 1151333: Reserve enough stack space for SIMD shuffles; r=sunfish
--HG--
extra : rebase_source : 8f94280756983f93b73e5372ae368eaa5d1a404e
2015-04-07 16:23:04 +02:00
Jon Coppeard
81c3544af9 Bug 1150011 - Fix GC hash table checks to work in release builds r=nbp
--HG--
extra : rebase_source : 109b8248be7833ef222927f33db40cf926839962
2015-04-07 15:58:09 +01:00
Jon Coppeard
e87481c373 Bug 1148383 - Add testcase for previously fixed object metadata issue r=terrence
--HG--
extra : rebase_source : 150a966604109a3aa0d72b48e0217d3f454b8934
2015-04-07 15:58:09 +01:00
Luke Wagner
310b4d4bc3 Bug 1148963 - OdinMonkey: add CompileOptions::lazyParsingDisabled and testing function setDiscardSource (r=bz)
--HG--
extra : rebase_source : b4118ec11c44758de6519d226bef2fc73c30190e
2015-04-07 10:01:56 -05:00
Luke Wagner
5ac5fd8bf4 Bug 1148963 - OdinMonkey: throw if link-time failure and discardSource = true (r=bbouvier)
--HG--
extra : rebase_source : 03d143d154bdab5426a51cacae8c2cef5bb6eb7c
2015-04-07 09:59:11 -05:00
naru-san
3c8a0350e0 Bug 1127801 - Capture path to milestone.txt from the OS automatically using MozbuildObject from mozbuild.base. r=ted 2015-04-06 16:54:00 -04:00
Steve Singer
4b127f2ab9 Bug 1151382 - Fix Alignment mismatch for none jit. r=luke
--HG--
extra : rebase_source : 98941b1dfe531083866a853fcdcc39679f2bc87e
2015-04-05 20:45:00 +02:00
Nick Fitzgerald
30234ac43b Bug 1149495 - SavedFrame objects should handle all uint32 values. r=shu
--HG--
extra : rebase_source : 3a6982dab6b8c61b590fe3aac61f216c7c4a615c
2015-04-04 14:55:00 +02:00
Brian Hackett
75083816b5 Bug 1148921 - Check correctness of hash table modifications later on during minor GCs, r=jonco. 2015-04-07 06:04:15 -06:00
Brian Hackett
662dbd9619 Bug 1148916 - Remove MaybeSingletonObject NewObjectKind, r=terrence. 2015-04-07 05:50:00 -06:00
Brian Hackett
6e34197b33 Bug 1148661 - Optimize accesses to unboxed expandos in Ion, r=jandem. 2015-04-07 05:42:44 -06:00
Tooru Fujisawa
2a806181e0 Bug 1077318 - Part 2: Fix the order of include in AsmJSModule.cpp. r=evilpie 2015-04-07 18:58:17 +09:00
Tooru Fujisawa
2fc6c1cdaa Bug 1151182 - Fix type for JSOP_THROWMSG documentation comment. r=efaust 2015-04-07 18:19:28 +09:00
Tooru Fujisawa
6553c15294 Bug 1151149 - Throw if either the target or handler is a revoked proxy in Proxy constructor. r=efaust 2015-04-07 18:19:26 +09:00
Lars T Hansen
ca3a6856ea Bug 1077318 - call out to C++ for ARMv6 sub-word atomics. r=luke 2015-04-07 11:10:18 +02:00
Lars T Hansen
21b726fb3f Bug 1147916 - add more assembler cases. r=sunfish 2015-04-07 10:47:10 +02:00
Shu-yu Guo
6dd8ccbaae Bug 1150714 - Mark and sweep JitcodeGlobalMap IC entries. (r=djvj) 2015-04-06 18:38:31 -07:00
Shu-yu Guo
fb729d0b86 Bug 1150714 - Fix streaming tracked optimizations for functions that don't have a displayAtom. (r=djvj) 2015-04-06 18:38:31 -07:00
Bill McCloskey
80aa38fc3e Bug 1151583 - Don't set JS shell exit code for random exceptions (r=sfink) 2015-04-06 18:24:52 -07:00
Brian Hackett
3be6729422 Bug 1148922 - Handle insertion of new initial shapes via the metadata callback, r=luke. 2015-04-06 12:54:53 -06:00
Terrence Cole
8aa98da9f8 Bug 1150639 - Use a stricter off-thread check in triggerZoneGC; r=bhackett
--HG--
extra : rebase_source : 0809eefef240aa0cb998819afcaaf91c505479a1
2015-04-02 11:48:56 -07:00
Johannes Schulte
f1ccc30338 Bug 1094491 - Add assertion in UpdateExistingGetPropCallStubs that should hold now. r=efaust 2014-12-01 18:50:26 +01:00
Johannes Schulte
c0c7a40ac3 Bug 1094491 - Generate baseline getGName ICs for accessor properties before calling the getter. r=efaust 2014-12-01 18:50:23 +01:00
Johannes Schulte
c89a2938f8 Bug 1094491 - Generate baseline getElem ICs for accessor properties before calling the getter. r=efaust 2014-12-01 18:50:20 +01:00
Johannes Schulte
ecbc9344fe Bug 1094491 - Generate baseline getProp ICs for accessor properties before calling the getter. r=efaust 2014-12-01 18:50:17 +01:00
Phil Ringnalda
d0326dab77 Merge f-t to m-c, a=merge 2015-04-04 10:53:59 -07:00
Tooru Fujisawa
3ddb3cd146 Bug 1149015 - Part 4: Remove some use of expression closure from jstests js1_8_5/reflect-parse/. r=luke 2015-04-04 15:05:35 +09:00
Ryan VanderMeulen
37f3daf0c7 Merge m-c to fx-team. a=merge
CLOSED TREE
2015-04-03 10:52:46 -04:00
David Rajchenbach-Teller
848a50c93a Bug 1149897 - PerformanceStatsService data is not monotonic. r=jandem 2015-04-02 17:15:23 +02:00
Wes Kocher
52d9150eba Backed out changeset 39d74e5c3df5 (bug 1149897) for frequent bc3 timeout errors
--HG--
extra : source : dfee21ce5b78159f60d25f0ef8ff62edc62e17cc
2015-04-02 16:12:06 -07:00
Jeff Walden
f06b4feed4 Bug 1149797 - Update browser jstests to treat ecma_6/extensions tests as 1.8, so that let is interpreted as a statement and not as an expression. r=bustage in a CLOSED TREE 2015-04-02 15:46:33 -04:00
Jeff Walden
86ea252d57 Bug 1149797 - Use the loop's *static* block object when freshening a loop's block object, then copy in values from the old cloned block. Using the old cloned block directly isn't valid when the cloned block might be extended with additional variables created by eval or added by nested function statements. r=shu
--HG--
extra : rebase_source : 8cad681ae5ae01ee5f5688ae156bf9e15b6084da
2015-04-01 16:39:33 -04:00
David Rajchenbach-Teller
83cb3e4d12 Bug 1149897 - PerformanceStatsService data is not monotonic;r=jandem
--HG--
extra : rebase_source : 2baca0276dfab35686e7d07d24189b363f0a23ff
2015-04-02 17:15:23 +02:00
Boris Zbarsky
36a2aaf1fb 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
Jason Orendorff
1f2361b6ec Bug 1149563 - Change bogus ctypes code that modifies a frozen object. r=efaust.
--HG--
extra : rebase_source : 1b6a8a551e232bed990196c26a9afcc4dfadf3f5
2015-03-28 11:28:06 -05:00
Jeff Walden
1e1e5cca6f Bug 1150779 - Split the rest of destructuring.js into several smaller destructuring tests. r=efaust
--HG--
rename : js/src/tests/js1_8_5/reflect-parse/destructuring.js => js/src/tests/js1_8_5/reflect-parse/destructuring-array-holes-reflect-as-null.js
rename : js/src/tests/js1_8_5/reflect-parse/destructuring.js => js/src/tests/js1_8_5/reflect-parse/destructuring-assignment.js
rename : js/src/tests/js1_8_5/reflect-parse/destructuring.js => js/src/tests/js1_8_5/reflect-parse/destructuring-function-parameters.js
rename : js/src/tests/js1_8_5/reflect-parse/destructuring.js => js/src/tests/js1_8_5/reflect-parse/destructuring-variable-declarations.js
2015-04-02 22:55:40 -04:00
Jeff Walden
76ef0860b1 Bug 1150779 - Split for-loop tests out of js1_8_5/reflect-parse/destructuring.js. r=efaust
--HG--
rename : js/src/tests/js1_8_5/reflect-parse/destructuring.js => js/src/tests/js1_8_5/reflect-parse/for-loop-destructuring.js
2015-04-02 22:55:22 -04:00
Jason Orendorff
34a69040c9 Bug 1148652, part 3 - Mark arguments.length as overridden when it is redefined via the C API. r=efaust.
--HG--
extra : rebase_source : 197f66702b4104417db3b74008b5c2928ad8d335
2015-03-23 14:32:33 -05:00
Jason Orendorff
494f931803 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 : b68ed36ea5a657477ca062d549e230931f4bf5d3
2015-03-23 14:32:31 -05:00
Jason Orendorff
e70320abea 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 : 4c4a58cb7c0819d6af2799e8847cde981f3528b8
2015-03-23 14:32:30 -05:00
Jason Orendorff
43939414b8 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 : f224305107a7881b6dfd312419808e0211d2f6f3
2015-03-23 14:32:30 -05:00
Jason Orendorff
24fcf2a236 Bug 1147660, part 5 - Split the part of NativeDefineProperty that updates the object into a separate function again. r=efaust.
--HG--
extra : rebase_source : 38f9f48c7781328c5116d5e1a37ab39d68aecf89
2015-03-23 14:32:29 -05:00
Jason Orendorff
fb07f68159 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 : 00a350d6337bfd0d296ff34efa9bd5c89cb0b892
2015-03-23 14:32:29 -05:00
Jason Orendorff
60213879bd 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 : 89858f3cedbf4ca89bc3ed5ace302a4c4904c409
2015-03-23 14:32:29 -05:00
Jason Orendorff
733f6abe90 Bug 1147660, part 2 - Merge DefinePropertyOrElement into NativeDefineProperty, making one long function we can refactor. r=efaust.
--HG--
extra : rebase_source : b4055a5b18b8c7f742273fd2d457c7f9ec46e70b
2015-03-23 14:32:28 -05:00
Jason Orendorff
a7363d34e4 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 : 6c946bdb3b5f2d3fa243bfcd4dedbbbbe57773fb
2015-03-23 14:32:28 -05:00
Jason Orendorff
3599763a2f 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 : b018086d39e9ebd9ebb7f70000f296cd9a452b82
2015-03-23 14:32:28 -05:00
Jason Orendorff
4ed9fdd437 Bug 1138499, part 3 - Flip JS_CHECK_ACCESSOR_FLAGS from a blacklist to a whitelist. r=Waldo.
--HG--
extra : rebase_source : 757d46a33a5febdc758dc5ce6b3d621c254fe096
extra : source : c7388a9c393519117d55d2cc5326ae8c54ccae47
2015-03-23 16:44:10 -05:00
Jason Orendorff
6543d49db0 Bug 1138499, part 2 - Strengthen assertComplete() to require that both [[Get]] and [[Set]] be present on accessor properties. r=Waldo.
--HG--
extra : rebase_source : 171aabdb0c4291d35e70fc0d6bf404a17a7bdb9b
extra : source : 9b51b38317d6a85390d73074fd6344e576d2605d
2015-03-23 14:32:27 -05:00
Jason Orendorff
f47d46755a 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 : 2486209de3b4971eb694393c748dc387c5f0093c
extra : source : ad243a3cd06f235a806329bde39c146ee9eeea88
2015-03-23 14:32:27 -05:00
Jason Orendorff
23235d7e71 Bug 1138499, part 0 - Fix code spuriously using JSPROP_READONLY when defining an accessor property. r=Waldo.
--HG--
extra : rebase_source : d6f9c0e4b63086d04d4123b6b7d66bb7c513b418
extra : source : fafda276abd9ec6a5f9f74461e3b1b36a0fae335
2015-03-23 16:36:43 -05:00
Terrence Cole
5f13b1d59e Bug 1149352 - Part 8: Move Object marking to TraceEdge; r=jonco 2015-03-30 16:08:06 -07:00
Terrence Cole
4ab2487d87 Bug 1149352 - Part 7: Move String marking to TraceEdge; r=jonco 2015-03-30 15:14:23 -07:00
Terrence Cole
a660e808f9 Bug 1149352 - Part 6: Move JitCode marking to TraceEdge; r=jonco 2015-03-30 15:14:23 -07:00
Terrence Cole
e297891e8a Bug 1149352 - Part 5: Move ObjectGroup marking to TraceEdge; r=jonco 2015-03-30 15:14:23 -07:00
Terrence Cole
00b2d8be60 Bug 1149352 - Part 4: Move Symbol marking to TraceEdge; r=jonco 2015-03-30 15:14:23 -07:00
Terrence Cole
ae4f928a1c Bug 1149352 - Part 3: Move Script marking to TraceEdge; r=jonco 2015-03-30 15:14:23 -07:00
Terrence Cole
cffaa3aa18 Bug 1149352 - Part 2: Move Shape marking to TraceEdge; r=jonco 2015-03-30 15:14:23 -07:00
Terrence Cole
b68660031c Bug 1149352 - Part 1: Move BaseShape marking to TraceEdge; r=jonco 2015-03-27 16:22:55 -07:00
Terrence Cole
4d97c7441f Bug 1149352 - Part 0: Only mark live entries when marking a range; r=meow 2015-04-01 14:50:43 -07:00
Terrence Cole
99a4fd3d60 Bug 1149352 - Templatize IsMarked and IsAboutToBeFinalized; r=jonco 2015-03-27 16:22:52 -07:00
Shu-yu Guo
cff53ed7c9 Bug 1149510 - Don't try to read the result object when doing in-place debug mode bailout in a for-of loop. (r=jandem) 2015-04-03 14:18:05 -07:00
Steve Fink
30aa298a29 Bug 1149739 followup - typo with double open parens. r=woof!
DONTBUILD since NPOTDB. (--enable-more-deterministic only)
2015-04-03 12:50:55 -07:00
Tom Schuster
059aa4b924 Bug 1125302 - Remove NativeLookupProperty. r=luke 2015-04-03 21:23:22 +02:00
Luke Wagner
eeb4b48b4d Bug 1150858 - Unwrap the correct object in ArrayBuffer.transfer (r=sfink)
--HG--
extra : rebase_source : 29cd797c9194ff80bf2686f64c9a63230f07c63a
2015-04-03 08:33:19 -05:00
Heiher
b1799beeb6 Bug 1150384 - IonMonkey: MIPS: Fix build failure caused by Bug 1143011. r=rankov
--HG--
extra : rebase_source : 4a0804688f32a9eb9544ad3e7cb247521c9fa00d
2015-04-02 01:00:00 -04:00
Heiher
79251d122d Bug 1150380 - IonMonkey: MIPS: Fix JitRuntime::generateProfilerExitFrameTailStub. r=rankov
--HG--
extra : rebase_source : 013463497d81a6bd81bad9b12b2db301f0b611b7
2015-04-02 00:46:00 -04:00
Tom Schuster
613dace39e Bug 1125567 - Remove FindClassPrototype/FindClassObject. r=jorendorff 2015-04-03 17:01:14 +02:00
Eric Faust
02e7de443a Bug 1141862 - Part 5: Change JSOP_SETCALL to JSOP_THROWMSG, anticipating future use. (r=jorendorff) 2015-04-02 19:20:17 -07:00
Eric Faust
c091ff7694 Bug 1141862 - Part 4: Make everything defined with MethodDefinition syntax use the Method FunctionSyntaxKind while parsing. (r=jorendorff) 2015-04-02 19:20:17 -07:00
Eric Faust
989c2f8d06 Bug 1141862 - Part 3: Remove unused argument from BytecodeEmitter::emitPropLHS. (r=jorendorff) 2015-04-02 19:20:17 -07:00
Eric Faust
4c1cca3884 Bug 1141862 - Part 2: Allow Lazy script to pass the Method FunctionSyntaxKind during delazification. (r=jorendorff) 2015-04-02 19:20:02 -07:00
Eric Faust
c4fad16ffd Bug 1141862 - Part 1: Free up bits in JSFunction for isMethod() and, later, isClassConstructor(). (r=jandem) 2015-04-02 19:18:20 -07:00
Shu-yu Guo
80f8445c7c Bug 1134198 - Call Debugger::onPop at the point that caused the frame to pop before any unwinding in the JIT. (r=jandem) 2015-04-02 17:28:02 -07:00
Shu-yu Guo
e2f60d26f0 Bug 1134198 - Call Debugger::onPop at the point that caused the frame to pop before any unwinding in the interpreter. (r=jimb) 2015-04-02 17:28:02 -07:00
Shu-yu Guo
8df0bb6f31 Bug 1134198 - Update tests to reflect new specced behavior on Debugger.Frame.onPop. (r=tromey) 2015-04-02 17:28:02 -07:00
Shu-yu Guo
f5a001d248 Bug 1134198 - Update docs for new Debugger.Frame.onPop spec. (r=tromey) 2015-04-02 17:28:02 -07:00
Shu-yu Guo
94ccbb0332 Bug 1134198 - Don't call Debugger::slowPathOnLeaveFrame on frames no longer in Debugger frame maps. (r=jimb) 2015-04-02 17:28:02 -07:00
Shu-yu Guo
086b9abe47 Bug 1134198 - Refactor JS_GENERATOR_CLOSED checking. (r=jandem) 2015-04-02 17:28:02 -07:00
Shu-yu Guo
3e51d931ff Bug 1134198 - Rename assertNotInFrameMaps to inFrameMaps. (r=tromey) 2015-04-02 17:28:02 -07:00
Boris Zbarsky
defe3e9299 Bug 679939 part 8. Drop the now-unused compileAndGo from CompileOptions. r=luke 2015-04-01 12:05:29 -04:00
Boris Zbarsky
65143cd62b Bug 679939 part 7. Drop the now-unused JSScript::compileAndGo. r=luke 2015-04-01 12:05:29 -04:00
Boris Zbarsky
287b1ed7f0 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
9c1d6f6275 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
dbe0249159 Bug 679939 part 4. Set the isRunOnce compile flag as needed. r=luke 2015-04-01 12:05:28 -04:00
Boris Zbarsky
b7e994b551 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
8886be1f58 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
bbd4f124f2 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
55ce94cd12 Bug 1150513. While we're working with a function's script (e.g. cloning it), prevent that function getting relazified. r=luke 2015-04-02 19:13:26 -04:00
Wes Kocher
5431e01c82 Backed out changeset 39d74e5c3df5 (bug 1149897) for frequent bc3 timeout errors 2015-04-02 16:12:06 -07:00
Steve Fink
9b75fb1027 Bug 1149739 - Nerf performance.mozMemory ifdef JS_MORE_DETERMINISTIC, r=terrence 2015-04-02 13:05:29 -07:00
Steve Fink
8e03dc8fec No bug. Minor analysis fix for duplicate avoidance logic. Does not seem to matter in practice. r=woof!
--HG--
extra : rebase_source : 6555209d6820150b6cd447850edcf8b4a58260ab
2015-03-27 17:26:43 -07:00
Steve Fink
fb89f71268 Bug 1150347 - Fix autospider.sh --dep flag name, r=philor
--HG--
extra : rebase_source : 6a24053e730b71b3cf5a48e4941b8e5eb0bb5672
2014-11-13 12:23:26 -08:00
Steve Fink
383b1db859 Bug 1056410 - Mark more classes final, r=terrence
Bug 1047696 was blocked by the hazard here, so it ended up not marking problematic classes final. Mark them final.

--HG--
extra : rebase_source : f1a0bf6b3179f1217b92ecd32d5f44041d7399d9
2015-03-30 14:00:45 -07:00
Jason Orendorff
836fc77c87 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 : 6fc28f096b4dead733e8fe5ab18530e23b2108e6
extra : source : 0a00470fdc2ac488d917602d5969a54ca87b8014
2014-10-31 16:58:18 -05:00
Nicolas B. Pierron
07f7943f1f Bug 1148883 - Atomize inlined constants of bound functions. r=h4writer 2015-04-02 15:33:49 +02:00
Jan de Mooij
11274288e1 Bug 1144366 followup - Stop declaring multiple pointers on a single line. r=jorendorff 2015-04-02 11:22:21 +02:00
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