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

48933 Коммитов

Автор SHA1 Сообщение Дата
Eric Faust 66f5123027 Bug 1141862 - Followup: Remove erronously landed debug spew. r=me 2015-04-08 22:40:51 -07:00
Eric Faust 2571dab641 Bug 1141862 - Part 6: Implement ES6 SuperProperty and SuperMember. (r=jorendorff) 2015-04-08 17:41:01 -07:00
Shu-yu Guo 3808d7b321 Bug 1148388 - Handle lost accesses in missing Debugger scopes for block objects. (r=jimb) 2015-04-08 20:36:20 -07:00
Shu-yu Guo 0ec63812df Bug 1151679 - Stream the property name of getprop and setprop optimization sites. (r=djvj) 2015-04-08 20:36:20 -07:00
Shu-yu Guo 54c57c920d Bug 1150654 - Add CantInlineNoSpecialization to distinguish natives for which there is no Ion specialization. (r=jandem) 2015-04-08 20:36:20 -07:00
Shu-yu Guo 2df8d68f0d Bug 1151606 - Stream atoms instead of raw pointers for native functions in tracked optimizations. (r=djvj) 2015-04-08 20:36:20 -07:00
Shu-yu Guo d2d1d675ec Bug 1151634 - Patch a valid return address for debug mode OSR from exception handler when profiling is enabled. (r=jandem) 2015-04-08 20:36:20 -07:00
Wes Kocher 89ea761a32 Backed out changeset 876c8ee6b132 (bug 1141862) for spidermonkey bustage 2015-04-08 19:05:41 -07:00
Eric Faust ec5b9e0b0c Bug 1141862 - Part 6: Implement ES6 SuperProperty and SuperMember. (r=jorendorff) 2015-04-08 17:41:01 -07:00
Dan Gohman 55a78d2d88 Bug 1152415 - OdinMonkey: Zero out struct padding to avoid valgrind warnings r=luke 2015-04-08 11:41:09 -07:00
Elbart 952ac7c054 Bug 1069979 - Don't throw away timezone-strings with dots in Date() r=evilpie 2015-04-08 19:37:24 +02:00
Chris Peterson d817b9ab50 Back out changeset 253bcbb38a7c for breaking Linux PGO build (bug 1001975) 2015-04-07 20:43:43 -07:00
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
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
Jon Coppeard 1bb407b87e Bug 1145997 - Suppress GC in debugger GC callback r=sfink 2015-04-01 10:09:56 +01:00
Chris Peterson 987f3c1f53 Bug 1125698 - Add ExpandErrorArguments() varargs helper function and remove uninitialized `dummy` va_list variable. r=Waldo 2015-01-25 18:38:28 -08:00
Mike Hommey b077d9624d Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
L. David Baron 831b749b58 Backed out changeset e942133b1f9b (bug 1149769) for jittest-2, jsreftest, and spidermonkey test failures, on a CLOSED TREE.
--HG--
rename : js/src/tests/js1_8_5/reflect-parse/destructuring__proto__.js => js/src/tests/js1_8_5/extensions/reflect-parse-destructuring-__proto__.js
rename : js/src/tests/js1_8_5/reflect-parse/proxyArgs.js => js/src/tests/js1_8_5/extensions/reflect-parse-proxy.js
2015-03-31 19:37:54 -07:00
Eric Faust ab2801e6d7 Bug 1149769 - Split reflect-parse.js reftest into its own subdirectory. (r=Waldo)
--HG--
rename : js/src/tests/js1_8_5/extensions/reflect-parse-destructuring-__proto__.js => js/src/tests/js1_8_5/reflect-parse/destructuring__proto__.js
rename : js/src/tests/js1_8_5/extensions/reflect-parse-proxy.js => js/src/tests/js1_8_5/reflect-parse/proxyArgs.js
2015-03-31 18:29:10 -07:00
Tom Schuster ac250f9d73 Bug 1147005 - Change JSAddPropertyOp signature. r=jorendorff,peterv 2015-03-28 14:47:02 +01:00
Sean Stangl eba440e824 Bug 1148375 - Ignore unhandled Elements. r=jandem 2015-03-30 13:34:19 -07:00
Sean Stangl a0f2b74c75 Bug 1146619 - Rename "Prolog" to "Prologue" everywhere. r=efaust 2015-03-23 14:13:26 -07:00
Boris Zbarsky ab624ae20e Bug 1149280 part 1. Make nullprincipal creation faster. r=smaug 2015-03-31 13:11:00 -04:00
Boris Zbarsky c35c1ecc2e Bug 1148973. When skipping shape guards in Ion common getter/setter code because the object has a non-configurable property, first verify that its current shape matches the shape we're using to compile our code. r=jandem 2015-03-30 23:44:01 -04:00
Terrence Cole fe2626ebf3 Bug 1147670 - Remove duplicate IsMarked/IsAboutToBeFinalized for off-thread use; r=jonco 2015-03-26 10:47:44 -07:00
Nicolas B. Pierron 1b1fed738d Bug 1134626 part 1 - Move all x86-shared files into their own directory. r=jandem
--HG--
rename : js/src/jit/shared/Assembler-x86-shared.cpp => js/src/jit/x86-shared/Assembler-x86-shared.cpp
rename : js/src/jit/shared/Assembler-x86-shared.h => js/src/jit/x86-shared/Assembler-x86-shared.h
rename : js/src/jit/shared/AssemblerBuffer-x86-shared.cpp => js/src/jit/x86-shared/AssemblerBuffer-x86-shared.cpp
rename : js/src/jit/shared/AssemblerBuffer-x86-shared.h => js/src/jit/x86-shared/AssemblerBuffer-x86-shared.h
rename : js/src/jit/shared/BaseAssembler-x86-shared.h => js/src/jit/x86-shared/BaseAssembler-x86-shared.h
rename : js/src/jit/shared/BaselineCompiler-x86-shared.cpp => js/src/jit/x86-shared/BaselineCompiler-x86-shared.cpp
rename : js/src/jit/shared/BaselineCompiler-x86-shared.h => js/src/jit/x86-shared/BaselineCompiler-x86-shared.h
rename : js/src/jit/shared/BaselineIC-x86-shared.cpp => js/src/jit/x86-shared/BaselineIC-x86-shared.cpp
rename : js/src/jit/shared/CodeGenerator-x86-shared.cpp => js/src/jit/x86-shared/CodeGenerator-x86-shared.cpp
rename : js/src/jit/shared/CodeGenerator-x86-shared.h => js/src/jit/x86-shared/CodeGenerator-x86-shared.h
rename : js/src/jit/shared/Constants-x86-shared.h => js/src/jit/x86-shared/Constants-x86-shared.h
rename : js/src/jit/shared/Disassembler-x86-shared.cpp => js/src/jit/x86-shared/Disassembler-x86-shared.cpp
rename : js/src/jit/shared/Encoding-x86-shared.h => js/src/jit/x86-shared/Encoding-x86-shared.h
rename : js/src/jit/shared/LIR-x86-shared.h => js/src/jit/x86-shared/LIR-x86-shared.h
rename : js/src/jit/shared/Lowering-x86-shared.cpp => js/src/jit/x86-shared/Lowering-x86-shared.cpp
rename : js/src/jit/shared/Lowering-x86-shared.h => js/src/jit/x86-shared/Lowering-x86-shared.h
rename : js/src/jit/shared/MacroAssembler-x86-shared.cpp => js/src/jit/x86-shared/MacroAssembler-x86-shared.cpp
rename : js/src/jit/shared/MacroAssembler-x86-shared.h => js/src/jit/x86-shared/MacroAssembler-x86-shared.h
rename : js/src/jit/shared/MoveEmitter-x86-shared.cpp => js/src/jit/x86-shared/MoveEmitter-x86-shared.cpp
rename : js/src/jit/shared/MoveEmitter-x86-shared.h => js/src/jit/x86-shared/MoveEmitter-x86-shared.h
rename : js/src/jit/shared/Patching-x86-shared.h => js/src/jit/x86-shared/Patching-x86-shared.h
2015-03-31 14:30:41 +02:00
Mike Hommey bd5f80575d Bug 1149416 - Don't make free-nonheap-object warning an error on a CLOSED TREE . r=glandium 2015-03-31 16:36:37 +09:00
Shu-yu Guo 9c4897ec79 Bug 1145781 - Fix hazard on a CLOSED TREE. 2015-03-30 23:56:53 -07:00
Chris Peterson 0d8c63ab94 Bug 1083498 - Remove SpiderMonkey's nonstandard behavior for destructuring for..in loops in JS1.7. r=jorendorff 2015-03-23 20:43:10 -07:00
Shu-yu Guo 67fd53e740 Bug 1118865 - Relax assertion in DebugScopeProxy::isMagicMissingArgumentsValue. (r=nbp) 2015-03-30 22:26:43 -07:00
Shu-yu Guo d6762d23a7 Bug 1145781 - Unlazify functions when getting their debug scopes. (r=jimb) 2015-03-30 22:26:43 -07:00
L. David Baron 45f7af0cb3 Back out changeset 501a8f687a91 (bug 1148973) for widespread test bustage. 2015-03-30 21:51:41 -07:00
Boris Zbarsky a6e4c12439 Bug 1148973. When skipping shape guards in Ion common getter/setter code because the object has a non-configurable property, first verify that its current shape matches the shape we're using to compile our code. r=jandem 2015-03-30 23:44:01 -04:00
Bill McCloskey 11851d2c88 Bug 1148962 - Use TakeOwnershipOfErrorReporting in CPOW code (r=bholley) 2015-03-30 20:13:06 -07:00
Wes Kocher 57d47ad975 Backed out changeset 399c30b5e357 (bug 1145781) for bc1 orange CLOSED TREE
--HG--
extra : amend_source : e1df0c6ff3c1b8939a287a02355ffe75a718033e
2015-03-30 18:50:06 -07:00
Wes Kocher 620a898f95 Backed out changeset 912d7039be45 (bug 1118865) 2015-03-30 18:50:05 -07:00
Wes Kocher 3570779694 Backed out changeset a9137f699a08 (bug 1146696) for cgc orange CLOSED TREE 2015-03-30 16:23:49 -07:00
Eric Faust 3cba916b7f Bug 1145795 - Remove LJSCallInstructionHelper::numStackArgs() footgun. (r=jandem) 2015-03-30 15:29:18 -07:00
Eric Faust 24e5bff8a4 Bug 1147581 - Remove the now defunct TMPSLOT mechanism. (r=jorendorff) 2015-03-30 15:29:16 -07:00
Shu-yu Guo 0db8b8164e Bug 1118865 - Relax assertion in DebugScopeProxy::isMagicMissingArgumentsValue. (r=nbp) 2015-03-30 15:25:06 -07:00
Shu-yu Guo 563ee14859 Bug 1145781 - Unlazify functions when getting their debug scopes. (r=jimb) 2015-03-30 15:25:06 -07:00
Terrence Cole f7a8d43601 Bug 1147669 - Replace id marking functions with TraceEdge; r=jonco
--HG--
extra : rebase_source : 44ba3b4c1b581873ee3fcade3af6ed9d407b9b93
2015-03-26 10:23:30 -07:00
Terrence Cole 1ba8bfe1dd Bug 1147665 - Replace value marking functions with TraceEdge; r=jonco
--HG--
extra : rebase_source : a98597b77a7ea5b1489d526122cf11da57fd3f31
2015-03-26 10:23:27 -07:00
Terrence Cole 926bb80b05 Bug 1147588 - Replace slots marking functions with TraceEdge; r=jonco
--HG--
extra : rebase_source : 49ab5df46f66896ea8bd47ee1d9f80fef0b0f41b
2015-03-26 10:23:26 -07:00
Terrence Cole 84990b5a8f Bug 1147533 - Add cross-compartment tracing methods via the new tracing paths; r=jonco
--HG--
extra : rebase_source : 1a28fde1abe96b6d9048409ff46da1250e8e6952
2015-03-26 10:17:51 -07:00
Terrence Cole 25366d2606 Bug 1147180 - Replace the generic Mark functions with TraceEdge; r=jonco
--HG--
extra : rebase_source : 116cf115658d6b710048381a1916431ebea3b71c
2015-03-24 14:37:16 -07:00
Terrence Cole 017640936f Bug 1147180 - Introduce a new, strongly-typed tracing path; r=jonco, r=sfink
--HG--
extra : rebase_source : 8eb525ad1842240a20d9c94faac284dd5adadb4a
2015-02-26 14:15:26 -08:00
Jon Coppeard eb57959ceb Bug 1146696 - Don't assume there are no arenas available after last ditch GC. r=terrence
--HG--
extra : rebase_source : 20fc89a49cda291b70b1155f78bf9aac51cb94e9
2015-03-30 11:03:35 +01:00
Andrew McCreight 2f48802ae0 Bug 1147572 - Remove implementation language field from DOM class info. r=jst 2015-03-30 10:45:39 -07:00
Andrew McCreight 89727e3fac Bug 1147951, part 3 - Remove unnecessary includes of nsIProgrammingLanguage. r=baku 2015-03-30 10:45:39 -07:00
Tom Tromey 878c34ac31 Bug 979094 - Fix ending location of variable declaration. r=jimb 2015-03-27 08:38:00 -04:00
Ryan VanderMeulen 9b6ccab847 Backed out changesets 490d2e6a5026 and f1bd22adbd0c (bug 1146696) for frequent mochitest-bc leaks.
CLOSED TREE
2015-03-30 11:36:59 -04:00
Jan de Mooij d7048c7469 Bug 1148880 - Make Trampoline-arm.cpp compile with Clang again. r=nbp 2015-03-30 15:29:29 +02:00
Jon Coppeard 0a665301a5 Bug 1146696 - Fix test failures on windows cgc builds r=me 2015-03-30 13:32:31 +01:00
Jon Coppeard 62eec7cee8 Bug 1146696 - Don't assume there are no arenas available after last ditch GC r=terrence 2015-03-30 11:03:35 +01:00
Andrew McCreight 46dfeaba0b Bug 1148070 - Change nsIClassInfo::getHelperForLanguage() to getScriptableHelper(). r=bholley 2015-03-29 07:52:54 -07:00
Andrew McCreight 69bad032ab Bug 1147967 - Remove CreateStackFrameLocation. r=bholley
This method is defined on nsIXPConnect and StackFrame, but is not used.

Also the non-default constructor that for StackFrame that is no longer used.
2015-03-29 07:52:53 -07:00
Brian Hackett 93182b7b9b Bug 1142843 - Optimize accesses through prototypes with typed object receivers in baseline and ion, r=jandem. 2015-03-28 17:03:45 -07:00
Jan de Mooij b8b1677f0f Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff 2015-03-28 23:22:11 +01:00
Emanuel Hoogeveen ac0b81cd97 Bug 1148214 - Replace manual AllocKind range checks with a few centralized functions. r=terrence 2015-03-26 17:07:00 -04:00
Phil Ringnalda bdfca27768 Backed out 7 changesets (bug 1147588, bug 1147669, bug 1147533, bug 1147665, bug 1135985, bug 1147180, bug 1147670) for frequent 10.10 devtools-2 GC assertion failures
CLOSED TREE

Backed out changeset 0bd8c4ec41fa (bug 1147670)
Backed out changeset 35ad82ff9ee7 (bug 1147669)
Backed out changeset ffe7f2e2a0f0 (bug 1147665)
Backed out changeset 37c42cff2c01 (bug 1147588)
Backed out changeset be4138f208ba (bug 1147533)
Backed out changeset 6bbd529bd995 (bug 1147180)
Backed out changeset 853e3ad56dad (bug 1135985)
2015-03-28 10:41:32 -07:00
Phil Ringnalda c8a25251c1 Backed out changeset 0c030f97a04f (bug 1144366) for being on top of patches being backed out
CLOSED TREE
2015-03-28 10:39:56 -07:00
Phil Ringnalda 70731646e2 Backed out changeset d72144153749 (bug 1147005) for being on top of a patch on top of a patch being backed out
CLOSED TREE
2015-03-28 10:39:09 -07:00
Tom Schuster 8a5dbf7c06 Bug 1147005 - Change JSAddPropertyOp signature. r=jorendorff,peterv 2015-03-28 14:47:02 +01:00
Jan de Mooij 8d6d44ecb8 Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff 2015-03-28 12:08:37 +01:00
Wes Kocher 18a6da0131 Merge m-c to inbound a=merge
--HG--
extra : rebase_source : 31afc1b4de1d4c9d48057dbbe0d96e7c385bf2dc
2015-03-27 17:31:19 -07:00
Nicolas B. Pierron ec1f0abb85 Bug 1145811 - Remove simdSet argument of PushRegsInMask. r=bbouvier 2015-03-28 01:08:13 +01:00
Nicolas B. Pierron eb662504c1 Bug 1143011 - Use AllocatableSet or LiveSet for all register set uses. r=jandem 2015-03-28 01:08:12 +01:00
Nicolas B. Pierron b775223668 Bug 1143011 - Extract the has/add/take logic out of the register sets to distinguish between allocatable and live sets. r=jandem,Waldo 2015-03-28 01:08:12 +01:00
Wes Kocher f7b636d799 Merge fx-team to m-c a=merge 2015-03-27 16:52:38 -07:00
Ryan VanderMeulen 97e5856337 Backed out 2 changesets (bug 854037, bug 1146644) for LexicalEnvironment/const-declaration-in-for-loop.js jsreftest failures.
Backed out changeset 2d59ec36a2e4 (bug 854037)
Backed out changeset 031ded170326 (bug 1146644)

CLOSED TREE
2015-03-27 13:28:58 -04:00
Nicolas B. Pierron ccb0a2a4b7 Bug 1134074 - IonBuilder: Atomize strings when inlining String.split. r=djvj 2015-03-27 17:40:57 +01:00
Jeff Walden 5bb4485558 Bug 854037 - Make lexical declarations in the initializing component of a for(;;) loop create a fresh binding for each iteration of the loop. r=shu
--HG--
extra : rebase_source : 2e34e927af8c674b0a5597c7bd7f3c3e3842af6c
2015-03-27 12:29:50 -04:00
Ryan VanderMeulen da1028199c Merge m-c to fx-team. a=merge 2015-03-27 12:21:41 -04:00
Jon Coppeard c05411817f Backed out changeset 49aa36d0b28a and eaf2526ffd90 (bug 1146696) for jit-test failures on a CLOSED TREE 2015-03-27 15:04:35 +00:00
Jon Coppeard 1fb886e76c Bug 1146696 - Fix testcase not to over-recurse r=me on a CLOSED TREE 2015-03-27 13:55:07 +00:00
Jeff Walden c74e3d6143 Bug 1146644 - Don't assert compiling a for-loop with a const loop-variable declaration. r=shu
--HG--
extra : rebase_source : e490335dfef3b2851808643c1a23104ee27d6df9
2015-03-26 14:12:31 -04:00
Douglas Crosher cdcd24c1a7 Bug 1147353 - Odin: simplify the masked index bounds check test. r=sfink, r=luke 2015-03-26 10:04:05 +11:00
Jeff Walden d82e49937f Bug 1145058 - Annotate the SpeciesConstructor utility function with step-by-step comment numbering to make clear where we do (and do not!) follow the spec. Also fix issues related to our half-pretense of implementing this method without having first implemented the well-known @@species symbol. r=efaust 2015-03-25 23:33:49 -04:00
Benjamin Bouvier 9a884f454c Bug 1146311: Make some SIMD nodes cloneable and movable; r=sunfish
--HG--
extra : rebase_source : 91d2e3953d8bf089c84a2bafa718c4d8ff7e1cb1
extra : amend_source : 6f3ebd9acdde1524fcc22301d111201f4af86a24
2015-03-23 13:41:10 +01:00
Benjamin Bouvier ff20d99b23 Bug 1147405: Have math_ceil_handle use setNumber rather than setDouble; r=nbp
--HG--
extra : rebase_source : a08f4f08ca3fdb323671bd7d91974c04aed79168
extra : amend_source : 75d36c6d9076038d80756d4eb3d58c6becf647ec
2015-03-26 15:44:55 +01:00
Benjamin Bouvier 1b253da1ec Bug 1147662: LexicalCheck should be a guard, so as not to be removed; r=shu
--HG--
extra : rebase_source : cbf32b1a882d03d40fa71f67edccf90fc3d9bafb
extra : amend_source : 398562a1029a863c704ed6c9ad0b7598ff02b9bf
2015-03-26 12:59:26 +01:00
Lars T Hansen 3bb7364380 Bug 1146902 - be smarter about inlining atomics. r=jandem 2015-03-27 12:38:36 +01:00
Jon Coppeard ad8510d648 Bug 1146696 - Don't assume there are no arenas available after last ditch GC r=terrence 2015-03-27 10:20:53 +00:00
Lars T Hansen b7bbc0176d Bug 1147810 - a barriered load has an effect. r=luke 2015-03-27 10:11:42 +01:00
Boris Zbarsky 7d653b6c34 Bug 1147907. Relax our realParent asserts in CloneFunction a bit, pending a proper fix for bug 1143794. r=luke 2015-03-26 23:03:20 -04:00
Boris Zbarsky a8ca10408d Bug 1142844. When xdr-decoding a non-lazy but relazifiable function, don't forget to set up the source object on the LazyScript we create for it. r=luke 2015-03-26 23:02:55 -04:00
Dave Townsend eb35f7fae8 Bug 1144750: Don't attempt to report errors that will cause the warnings only reporter to assert. r=bholley
--HG--
extra : rebase_source : 328482c7113e94c9dc698fc65766021a41079c71
extra : source : 7588e6588dd381d20d81ef8f0b4be1bfc0d6eefc
2015-03-18 14:51:18 -07:00
Wes Kocher fd52ad5f87 Backed out changeset 7588e6588dd3 (bug 1144750) for static analysis failures 2015-03-26 15:52:13 -07:00
Dave Townsend 42af708faa Bug 1144750: Don't attempt to report errors that will cause the warnings only reporter to assert. r=bholley
--HG--
extra : rebase_source : afcab129d7daa4690fca49fc5940f23f0ca3f5ac
2015-03-18 14:51:18 -07:00
Hannes Verschore 280c006f7c Bug 1146410: IonMonkey: Make it possible to print typeset information anywhere, r=jandem 2015-03-26 12:14:03 +01:00
Hannes Verschore 275a0fea18 Bug 1146410: IonMonkey: When filtering IsObject use the correct type, r=jandem 2015-03-26 12:14:01 +01:00
Dan Gohman 9c0cf46ac4 Bug 1135903 - OdinMonkey: Make signal-handler OOB checking an independent configuration r=luke 2015-03-25 14:15:46 -07:00
Jason Orendorff 28e06d157a Bug 1138489 - Remove JSPROP_INDEX. r=Waldo.
--HG--
extra : rebase_source : 1683c18d73088c5a4b6136fe4bb7bc0422912e71
extra : amend_source : c79c4ea47e00e6d9d9f786151bd1ab62dd00b78a
2015-03-02 10:20:56 -06:00
Jason Orendorff 1def388b28 Bug 1142794 - Change 'receiver' argument to SetProperty functions and ProxyHandler::set methods to be a HandleValue. r=Waldo.
Also: Change signature of these functions and methods to all have the same arguments in the same order: (cx, obj, id, v, receiver). Also change v from MutableHandleValue to HandleValue.

There is no change in behavior.

In fact the new error message `JSMSG_SET_NON_OBJECT_RECEIVER` is
impossible to trigger from scripts for now, I think (after re-reading
the whole patch with this in mind). JS_ForwardSetPropertyTo is the only
way to get a non-object receiver into the engine, but no caller
currently does so.

We're installing new pipes here, and they should work, but for now it's
the same cold water flowing through as before. Actually hooking up the
hot water is left for another bug (one with tests, not to put too fine a
point on it).

Notes:

*   InvokeGetterOrSetter had to be split into two functions:
    InvokeGetter takes a MutableHandleValue out-param,
    InvokeSetter a HandleValue in-param.

*   Watchpoints can still tamper with values being assigned. So can
    JSSetterOps. I'm pleased we can support this craziness in a way that
    doesn't have to spread via the type system to encompass the entire
    codebase.

*   Change in GlobalObject::setIntrinsicValue is not really a change.
    Yes, it asserted before, but an exception thrown during self-hosting
    initialization is not going to go unnoticed either.

*   Since the receiver argument to js::SetProperty() is at the end now, it
    makes sense for it to be optional. Some callers look nicer.

--HG--
extra : rebase_source : e89f916fe267800bc73890e11aceef5c4855b272
2015-03-01 13:16:19 -06:00
Jason Orendorff d75b325fbd Bug 1146165 - Stop calling Proxy::set directly from Ion IC stub. EmitObjectOpResultCheck is retained because GenerateCallSetter still uses it in the JSSetterOp case. r=efaust.
--HG--
extra : rebase_source : 42edfbee94962a2cd51f7b1db59e6fe21b5da3d6
2015-03-22 14:54:48 -05:00
Heiher b54d7b7c2b Bug 1147908 - IonMonkey: MIPS: Fix UDiv and UMod for double and merge them. r=rankov
--HG--
extra : rebase_source : 7b95e47ae2a14e8722e614fa1690bff407b661ad
2015-03-26 08:13:00 -04:00
Aleksandar Zlicic 602297b4ae Bug 1147424 - IonMonkey MIPS: Fix build failures on MIPS caused by recent updates (MacroAssemblerMIPS::ma_b). r=rankov
--HG--
extra : rebase_source : 8c5881cbe3969520dfc03d9330636862c1a18abd
2015-03-25 18:50:06 +01:00
Emanuel Hoogeveen 57363bd72d Bug 1146662 - Refactor ArenasToUpdate::next to work with a range-based for loop. r=jonco
--HG--
extra : rebase_source : 256a9dfa651f57907ac9b1c09b467095bf4ebe85
2015-03-26 09:50:00 -04:00
Marc Nieper-Wißkirchen 853bacc103 Bug 1133529 - Parametrize MVariadicInstruction to allow for MVariadicControlInstructions. r=luke
--HG--
extra : rebase_source : 2e4b780d153d20122c30323047153d2ed3eed32e
2015-03-27 00:28:00 -04:00
Jason Orendorff fae53e811b Bug 1142784, part 3 - Change js::DefinePropertyOp and a few property-defining functions to use PropertyDescriptor rather than separate (value, attrs, getter, setter) arguments. r=Waldo.
--HG--
extra : rebase_source : 77cca13d3d8e33831cd5cb82129ede3645e58374
2015-02-28 11:23:44 -06:00
Jason Orendorff 2e5f991fe0 Bug 1142784, part 2 - Change ProxyHandler::defineProperty() to make the desc argument a non-mutable handle. r=Waldo.
--HG--
extra : rebase_source : c40a50b3522e8306d68d8114fe576d4f43006d82
2015-02-17 11:58:43 -06:00
Jason Orendorff 092c7ab1e2 Bug 1142784, part 1 - In NativeObject.cpp, move some Lookup functions out of the way and make a big swath of this file the [[DefineOwnProperty]] section. r=Waldo.
--HG--
extra : rebase_source : 538dc782303a9e5920581789caebb739d3718dd3
2015-02-17 12:01:54 -06:00
Jason Orendorff cfa924afa0 Bug 1142775 - Rename NativeSet -> NativeSetExistingDataProperty and simplify it since it is only called for data properties. Delete Shape::set. Add comments. No change in behavior. r=efaust.
--HG--
extra : rebase_source : 9b47668e82807fab4d576ef012a449e7bd147096
2015-02-28 14:40:07 -06:00
Steve Fink 2f8f528a55 Bug 1126544 - Update sixgill to handle more constructs and manage memory better
--HG--
extra : rebase_source : 646d280634ca386ad94c93dc592cdacdac14c9c1
2015-03-06 14:25:00 -08:00
Steve Fink 5f3c77b286 Bug 1146520 - Do not treat osx arm-sim as a cross-compile, r=woof!
--HG--
extra : rebase_source : 9fcab74384fdf1f0a73522d48bd0e2c19a56316e
2015-03-25 07:55:53 -07:00
Steve Fink 07b383ea8a Bug 1135399 - Timeout shell builds, r=catlee
--HG--
extra : rebase_source : 71b02418a159108cf48e0e9ed6bb862120f6ca76
2015-03-18 10:59:17 -07:00
Bill McCloskey a9569d4725 Bug 997325 - Implement main process scriptable only flag in XPIDL (r=mrbkap) 2015-03-26 14:39:48 -07:00
Sean Stangl 961f8fff12 Bug 1145882 - Part 2/2 - Add -v and --version. r=evilpie 2015-03-20 15:51:42 -07:00
Sean Stangl 7ec0ab3c22 Bug 1145882 - Part 1/2 - Only use $PYTHON after defined by MOZ_PYTHON. r=glandium 2015-03-20 15:19:43 -07:00
Shu-yu Guo e3c68e7891 Bug 1147686 - Make mutableScript private and only use it when hasScript. (r=terrence) 2015-03-26 14:16:58 -07:00
Shu-yu Guo 8e3a893b5d Bug 1147224 - Only keep the optimization information of the last time IonBuilder visits a bytecode location. (r=djvj) 2015-03-26 14:16:58 -07:00
Luke Wagner 4c44332a0c Bug 1147144 - OdinMonkey: fix toString() on asm.js module when source discarding is enabled (r=bbouvier)
--HG--
extra : rebase_source : b8ec54fdbae503230efb4a1eb74638254c32b6c3
2015-03-26 14:37:19 -05:00
Bobby Holley 125cbceb13 Bug 1147215 - Add a helper to get the current window with a null check. r=smaug 2015-03-26 12:24:53 -07:00
Steve Fink 255b85b7d9 Bug 1056410 - Add edge between internal destructors, r=terrence
--HG--
extra : rebase_source : 265688cbfbbba56c1138b232c9f8a7cff57115a2
2014-08-29 15:59:06 -07:00
Andrew McCreight 98776f80a0 Bug 1149807 - Remove some unused nsIProgrammingLanguage.h includes. r=froydnj 2015-04-02 14:54:46 -07:00
Shu-yu Guo bc9fd9bf3d Bug 1137569 - Delay stringification of JIT frames until streaming time. (r=djvj) 2015-04-02 14:50:08 -07:00
Eric Faust 322b516b68 Bug 1149769 - Split reflect-parse.js reftest into its own subdirectory. (r=Waldo)
--HG--
rename : js/src/tests/js1_8_5/extensions/reflect-parse-destructuring-__proto__.js => js/src/tests/js1_8_5/reflect-parse/destructuring__proto__.js
rename : js/src/tests/js1_8_5/extensions/reflect-parse-proxy.js => js/src/tests/js1_8_5/reflect-parse/proxyArgs.js
2015-03-31 18:29:10 -07:00
Nicolas B. Pierron 37bff0a779 Bug 1149510 - Initialize the MachineState with safe-bad pointers. r=jandem 2015-04-02 23:26:54 +02:00
Nicolas B. Pierron b54e1474e4 Bug 1134626 part 2 - Move x86 & x64 Architecture into a shared file. r=jandem
--HG--
rename : js/src/jit/x64/Architecture-x64.h => js/src/jit/x86-shared/Architecture-x86-shared.h
2015-04-02 23:26:53 +02:00
Ryan VanderMeulen 1689cff541 Backed out changesets 72e99bad5294 and 2b873082da2f (bug 1138881) for browser_vimemacs.js crashes.
CLOSED TREE
2015-03-25 13:59:38 -04:00
Nicolas B. Pierron 8b7b5a0f30 Bug 1121613 - Move MacroAssemblerSpecific::Push to the generic MacroAssembler. r=jandem 2015-03-25 17:34:19 +01:00
Brian Hackett 533750696e Bug 1143256 - Store object metadata using a weak map, r=luke. 2015-03-25 09:07:51 -07:00
Hannes Verschore f7921e40a3 Bug 1138881 - IonMonkey: Allow fixing andor blocks which have MFilterTypeSet, r=bhackett 2015-03-25 16:15:28 +01:00
Hannes Verschore 275f9c89cf Bug 1138881 - IonMonkey: Improve types at AndOr, r=bhackett 2015-03-25 16:15:27 +01:00
Nicolas B. Pierron 3c0f21390e Bug 1130089 - Use constexpr for JitStackValueAlignment. r=bbouvier 2015-03-25 15:59:02 +01:00
Nicolas B. Pierron bbc2a008bc Bug 1092544 - Use assertRecoveredOnBailout in the test suite. r=bbouvier 2015-03-25 15:50:36 +01:00
Nicolas B. Pierron 4aafb330eb Bug 1092544 - Assert that instructions are recovered on bailouts. r=bbouvier 2015-03-25 15:50:35 +01:00
Jan de Mooij 2ebce4887b Bug 1146520 - Fix some minor autospider issues on OS X. r=sfink
--HG--
extra : rebase_source : a4c8dcd1c8dd4030bbf4d701d8b2ac4ea4c70b5a
2015-03-25 15:15:25 +01:00
Jan de Mooij d5c5888aa1 Bug 1142669 part 6 - Don't inline scripts that are known to inline a lot of code. r=h4writer
--HG--
extra : rebase_source : 8e65320cf77ff74941515f39cbe390c286a03e33
2015-03-25 15:15:23 +01:00
Jan de Mooij d0cbc885d0 Bug 1143704 part 14 - Change newSrcNote* to return bool instead of int. r=luke
--HG--
extra : rebase_source : 879295c6c6c4b5c803815f674c13f5fe2ce5671e
2015-03-24 09:45:24 +01:00
Jan de Mooij fa6c9b1288 Bug 1143704 part 13 - Make emitJump, emitN etc return bool instead of ptrdiff_t. r=luke
--HG--
extra : rebase_source : 0723816f7e0f8f8bc2adefee462b50767e57fe54
2015-03-24 09:45:22 +01:00
Jan de Mooij dd8f6429b6 Bug 1143704 part 12 - Move remaining functions to BytecodeEmitter. r=bhackett
--HG--
extra : rebase_source : d707ed9dededc0adaabce0ba45747def58b9655a
2015-03-24 09:45:17 +01:00
Jon Coppeard df9acd13cd Bug 1144738 - Check for invalidated script when updating SetPropertyIC cache r=jandem 2015-03-25 10:49:52 +00:00
Lars T Hansen 50332264f3 Bug 1141121 - Immediate operands to atomics, x86 and x64. r=h4writer 2015-03-25 10:51:12 +01:00
Shu-yu Guo 7ffeda127c No bug - Fix typo in MissingScopeKey comment. No review. 2015-03-24 18:49:16 -07:00
Shu-yu Guo d935dadedc Bug 1146718 - Split the 'J' tag in the profiler into 'J' (JIT frames without opt info) and 'O' (with opt info). (r=djvj) 2015-03-24 18:49:16 -07:00
Mike Hommey d767b2e1ac Bug 1142908 - Avoid arm simulator builds being considered cross-compiled. r=sfink 2015-03-25 08:06:27 +09:00
Boris Zbarsky 51cc84236b Bug 1146979. When cloning objects in self-hosting preserve the property attributes of the properties (or at least the readonly/configurable attributes). r=till 2015-03-24 18:32:48 -04:00
Boris Zbarsky 9a87e20280 Bug 1146743. Remove use of compileAndGo in JS debugger. r=shu 2015-03-24 18:32:48 -04:00
Hannes Verschore 05c11b07d3 Bug 1145416 - IonMonkey: Add range to MFilterTypeSet, r=nbp 2015-03-24 23:03:35 +01:00
Hannes Verschore 0e9392422b Bug 1143878: IonMonkey: Test conversion of MToInt32 for testing congruence, r=jandem 2015-03-24 23:03:32 +01:00
Terrence Cole 5798244efa Bug 977308 - Pre-tenure all objects attached to scripts; r=sfink
--HG--
extra : rebase_source : d5638a91ffca3008b353d68f480014066c94a2d1
2015-03-24 10:51:07 -07:00
Terrence Cole dd4ddb761b Bug 1135985 - Split callback and marking tracers completely; r=jonco, r=mccr8
--HG--
extra : rebase_source : b2e435ebf64ec0bac42af7a8f0968578599fd67b
2015-02-25 13:11:37 -08:00
Terrence Cole 1ef53522bf No Bug - Document the allocation functions; r=sfink
--HG--
extra : rebase_source : ae2b8c74fec4b57d714ad1be27fddaa1c1785ae5
2015-03-23 14:24:41 -07:00
Tom Schuster bd6cbbf2d8 Bug 1103344 - Object.assign should stop when an exception is thrown. r=till 2015-03-24 22:37:35 +01:00
Tooru Fujisawa 0ab6f5ff1f Bug 1142351 - Part 2: Warn about deprecated flag argument for String.prototype.{search,match,replace}. r=jandem 2015-03-25 00:36:35 +09:00
Tooru Fujisawa 0493238e94 Bug 1142351 - Part 1: Collect telemetry about deprecated flag argument for String.prototype.{search,match,replace}. r=jandem 2015-03-25 00:36:33 +09:00
Christian Holler 2a0a4d6ec0 Bug 1146895 - Remove redundant __asan_default_options from JS shell. r=jandem 2015-03-24 15:40:32 +01:00
Emanuel Hoogeveen 15f33e4bda Bug 1143042 - Switch AllocKind iteration over to range-based for loops. r=terrence
--HG--
extra : rebase_source : 301622627350bf423f8e4dcae0b882f1f9b2bde5
2015-03-21 14:35:00 -04:00
Tom Tromey b666b3fcfc Bug 1145149 - Include IntegerPrintfMacros in PerfSpewer.cpp. r=Waldo 2015-03-19 06:45:00 -04:00
Heiher 3765a594ec Bug 1146223 - IonMonkey: MIPS: Fix a typo in storeFloat32x3. r=bbouvier 2015-03-22 20:54:00 -04:00
Heiher 2d0e7d7bf2 Bug 1141921 - OdinMonkey: MIPS: Fix callJitFromAsmJS to push return address. r=nbp 2015-03-19 03:29:00 -04:00
Jon Coppeard 535ee047bf Bug 1141563 - Don't update Shapes in parallel after compacting GC r=terrence 2015-03-23 17:06:45 +00:00
Lars T Hansen 7530a5ce91 Bug 1146364 - use resumeAfter after effectful instructions. r=nbp 2015-03-24 09:06:03 +01:00
Nicholas Nethercote 3a86eefdcd Bug 1146216 - Remove MakeSlotArray(), because it's dead. r=terrence.
--HG--
extra : rebase_source : 34e575f632ba58052ddaece47f3180ecc40c449d
2015-03-22 19:40:23 -07:00
Shu-yu Guo ff15a447de Bug 1145924 - Ensure JSRuntime is kept in sync with the profiler. (r=djvj) 2015-03-23 20:33:01 -07:00
Boris Zbarsky da29ffd385 Bug 1146472 part 2. Use JSOP_NEWOBJECT as needed even if the script is not compile-and-go. r=luke 2015-03-23 20:37:31 -04:00
Boris Zbarsky 64eb476fc9 Bug 1146472 part 1. Don't do object-kind guessing for object literal templates in scripts, since we in fact know exactly how many slots we want them to have and hence what the kind should be. r=terrence 2015-03-23 20:37:30 -04:00
Terrence Cole f174c824a1 Bug 1144931 - Move gray buffering code to RootMarking.cpp; r=jonco
--HG--
extra : rebase_source : 684ef52c0ee78ab9d8a77199af461e32a044b9bc
2015-03-19 13:38:11 -07:00
Terrence Cole b7c1bdf80d Bug 1144925 - Buffer gray roots using a CallbackTracer instead of the GCMarker; r=jonco
--HG--
extra : rebase_source : 6b952295709d61e4c24ab0d502a8329b94af2266
2015-03-19 13:37:52 -07:00
Jason Orendorff c27c772b49 Bug 1142761 - Move CallSetter into ScriptedIndirectProxyHandler so it will eventually be deleted along with its only remaining caller. r=efaust.
--HG--
extra : rebase_source : c755d285b273a0e7342a478b0751883f65b7d1ab
extra : amend_source : ad32fcfc9b2a9c446bfcf1be3010580c3bdfb720
extra : source : 1519b8f2bbba393de20366c782f0590ddb290b42
2015-02-28 11:49:49 -06:00
Jason Orendorff 453e39c072 Bug 1139683 - Rewrite SetExistingProperty with comments and references to the standard. r=efaust.
--HG--
extra : rebase_source : c2f9c45464ae1eb7bc8ef7e19788e9dcfb6eef4d
extra : source : 26fd5567784152b092a241061771552eb8c0004a
2015-02-16 10:48:07 -06:00
Jason Orendorff 49d436c7c7 Bug 1144819 - Change JS_DefineProperty APIs to treat getter=nullptr and setter=nullptr as indicating class getter/setter ops only for data properties. r=Waldo.
--HG--
extra : rebase_source : e830197dc8c5543b730351f42b658ac3493ebfbd
extra : source : 7ebc76a450c31ef5b8c53482f3a9ad830bc96ee8
2015-03-16 20:28:44 -05:00
Jason Orendorff c74a306ad4 Bug 1143810 - Remove some XPConnect JSClass::setProperty hooks that are not needed anymore. r=bholley.
--HG--
extra : rebase_source : 92dff40805b956b3b703f75a2512344b9ef0f777
extra : source : 92adb459d519c7d0c6fd08e234dafd3f6f660a14
2015-03-13 14:43:48 -05:00
Steve Fink b865c47548 Bug 1125412 - Draw a graph of memory usage, r=terrence
--HG--
extra : rebase_source : bf1f136bd06665349fc1f68eec2aec87b7bff4e4
2015-01-26 16:52:46 -08:00
Steve Fink 9c855788fb Bug 1125412 - Expose an object for inspecting GC memory values, r=terrence
--HG--
extra : rebase_source : c98affaa7f01beb0757256cbe4d63bd78e297dac
2015-01-26 15:32:54 -08:00
Jim Blandy 2825048c96 Bug 1146267: Define XP_DARWIN as appropriate in js/src stand-alone builds. r=sfink
--HG--
extra : rebase_source : 0ecd1f65aa210c4a692d852859ed81951b514b90
2015-03-23 12:33:03 -07:00
Guillaume Maudoux 3387d4307b Bug 731683 - IonMonkey: Improve Ion compilation/bailouts checks. r=nbp
* * *
Introduce a warmup reset counter

--HG--
extra : transplant_source : X%DD1%5B%8F%D0%3D%B4%1B%F9%F7%C9%D9%96%8A%5DR%C8%20%91
2015-03-15 01:45:06 +01:00
Jim Blandy be4c8ae31e Bug 1146156: Add RR support to js/src/tests/jstests.py. r=nbp
--HG--
extra : rebase_source : 8b9c654db673383ddf0c645d331e8813043c370f
extra : histedit_source : 7af0d7deb4786add100653f32e4f046d6303df36
2015-03-21 17:34:45 -07:00
Boris Zbarsky ee2ffbbfc9 Bug 1145491 part 7. Stop checking compileAndGo before emitting GNAME ops. r=luke 2015-03-20 21:34:19 -04:00
Boris Zbarsky aa7430e61e Bug 1145491 part 6. Fix script cloning to propagate the polluted-global-scope state to the lambda templates in the script. r=luke 2015-03-20 21:34:18 -04:00
Boris Zbarsky 0ee526e128 Bug 1145491 part 5. Fix up various other places that check for JSOP_GET/SETNAME without checking for the GNAME versions too. r=luke 2015-03-20 21:34:18 -04:00
Boris Zbarsky dfb8cedba5 Bug 1145491 part 4. Emit JSOP_IMPLICITTHIS for JSOP_GETGNAME as well, because otherwise bareword calls in polluted-global scripts won't work right. r=luke 2015-03-20 21:34:18 -04:00
Boris Zbarsky 96f5b25ca3 Bug 1145491 part 3. Only do the fast path for JSOP_SETGNAME and JSOP_STRICTSETGNAME when the script doesn't have a polluted global. r=luke,jandem 2015-03-20 21:34:18 -04:00
Boris Zbarsky 2d34843d6c Bug 1145491 part 2. Only do the fast path for JSOP_GETGNAME when the script doesn't have a polluted global. r=luke,jandem 2015-03-20 21:34:18 -04:00
Boris Zbarsky 91cd7cf1ae Bug 1145491 part 1. Only do the fast path for JSOP_BINDGNAME when the script doesn't have a polluted global. r=luke,jandem 2015-03-20 21:34:18 -04:00
Boris Zbarsky 8481b8ca9f Bug 1145488. Stop using compileAndGo in the JITs. r=jandem 2015-03-20 21:34:18 -04:00
Brian Hackett f8c02740d9 Bug 1145426 - Fix compilation of unboxed object construction stubs on ARM and x86, r=jandem. 2015-03-23 08:06:40 -07:00
Maksim Lebedev 814ff7c30f Bug 1105766 - Part 2: A couple of additions to enable compilation on Windows Phone 8. r=terrence r=ehoogeveen 2015-03-21 15:24:00 +01:00
Emanuel Hoogeveen 9a8fc8b96d Bug 1105766 - Part 1: Extend the GC allocation logic to work on Windows Phone. r=terrence
--HG--
extra : rebase_source : d364f7743766dd059cd5e95295590224a3d3eaec
2015-03-21 15:22:00 +01:00
Benjamin Bouvier 7f11646965 Bug 1144692: Fix --disable-ion builds; r=h4writer
--HG--
extra : amend_source : f53a8fb37dbb3e79268b4ca50efb3a4b06e1d8bd
2015-03-23 07:59:36 +01:00
Phil Ringnalda c4745d28b1 Backed out 9 changesets (bug 1142775, bug 1139683, bug 1143810, bug 1142761, bug 1142784, bug 1142794, bug 1144819) for widespread bustage
CLOSED TREE

Backed out changeset 7613fc978d36 (bug 1142794)
Backed out changeset e5f0cb31263d (bug 1142784)
Backed out changeset dcd0af73ac84 (bug 1142784)
Backed out changeset 034f9c8e79ee (bug 1142784)
Backed out changeset ce0ee37e3ca9 (bug 1142775)
Backed out changeset 1519b8f2bbba (bug 1142761)
Backed out changeset 26fd55677841 (bug 1139683)
Backed out changeset 7ebc76a450c3 (bug 1144819)
Backed out changeset 92adb459d519 (bug 1143810)
2015-03-22 09:34:25 -07:00
Jason Orendorff 735dca6f1b Bug 1142794 - Change 'receiver' argument to SetProperty functions and ProxyHandler::set methods to be a HandleValue. r=Waldo.
Also: Change signature of these functions and methods to all have the same arguments in the same order: (cx, obj, id, v, receiver). Also change v from MutableHandleValue to HandleValue.

There is no change in behavior.

In fact the new error message `JSMSG_SET_NON_OBJECT_RECEIVER` is
impossible to trigger from scripts for now, I think (after re-reading
the whole patch with this in mind). JS_ForwardSetPropertyTo is the only
way to get a non-object receiver into the engine, but no caller
currently does so.

We're installing new pipes here, and they should work, but for now it's
the same cold water flowing through as before. Actually hooking up the
hot water is left for another bug (one with tests, not to put too fine a
point on it).

Notes:

*   InvokeGetterOrSetter had to be split into two functions:
    InvokeGetter takes a MutableHandleValue out-param,
    InvokeSetter a HandleValue in-param.

*   Watchpoints can still tamper with values being assigned. So can
    JSSetterOps. I'm pleased we can support this craziness in a way that
    doesn't have to spread via the type system to encompass the entire
    codebase.

*   Change in GlobalObject::setIntrinsicValue is not really a change.
    Yes, it asserted before, but an exception thrown during self-hosting
    initialization is not going to go unnoticed either.

*   Since the receiver argument to js::SetProperty() is at the end now, it
    makes sense for it to be optional. Some callers look nicer.

--HG--
extra : rebase_source : 68cd15627a62728061e663706cb1ff8c7bb292a0
2015-03-01 13:16:19 -06:00
Jason Orendorff a5c5338e0f Bug 1142784, part 3 - Change js::DefinePropertyOp and a few property-defining functions to use PropertyDescriptor rather than separate (value, attrs, getter, setter) arguments. r=Waldo.
--HG--
extra : rebase_source : a177bc1d8991f24652b4e629da5eaa52d9d4a59c
2015-02-28 11:23:44 -06:00
Jason Orendorff db04193771 Bug 1142784, part 2 - Change ProxyHandler::defineProperty() to make the desc argument a non-mutable handle. r=Waldo.
--HG--
extra : rebase_source : 92dd18b10e100e7e2537c151a21d4f3be37e1c08
2015-02-17 11:58:43 -06:00
Jason Orendorff c9896079b5 Bug 1142784, part 1 - In NativeObject.cpp, move some Lookup functions out of the way and make a big swath of this file the [[DefineOwnProperty]] section. r=Waldo.
--HG--
extra : rebase_source : b37456f33319b428dfbdc1b1c4270d7ea2d758a9
2015-02-17 12:01:54 -06:00
Jason Orendorff 39c8858336 Bug 1142775 - Rename NativeSet -> NativeSetExistingDataProperty and simplify it since it is only called for data properties. Delete Shape::set. Add comments. No change in behavior. r=efaust.
--HG--
extra : rebase_source : c9800f8ab602dae9e3da09a14a70f47ebd3fa86c
2015-02-28 14:40:07 -06:00
Jason Orendorff 53fd691536 Bug 1142761 - Move CallSetter into ScriptedIndirectProxyHandler so it will eventually be deleted along with its only remaining caller. r=efaust.
--HG--
extra : rebase_source : e6500d49877741ec992114a392ac0ad0cceb1da5
2015-02-28 11:49:49 -06:00
Jason Orendorff 800363dd52 Bug 1139683 - Rewrite SetExistingProperty with comments and references to the standard. r=efaust.
--HG--
extra : rebase_source : 780fb68a7ad32993b615a08fd43357b230d10d7d
2015-02-16 10:48:07 -06:00
Jason Orendorff 951bae6812 Bug 1144819 - Change JS_DefineProperty APIs to treat getter=nullptr and setter=nullptr as indicating class getter/setter ops only for data properties. r=Waldo.
--HG--
extra : rebase_source : eb14d7bbd47d57eb9b8168ee4d5e064dcc3c596d
2015-03-16 20:28:44 -05:00
Jason Orendorff 73269b1dad Bug 1143810 - Remove some XPConnect JSClass::setProperty hooks that are not needed anymore. r=bholley.
--HG--
extra : rebase_source : 94898ab662a5b57f7170cb9a504fe8eb64dded9a
2015-03-13 14:43:48 -05:00