Commit Graph

39709 Commits

Author SHA1 Message Date
Florian Merz
2799a1b4b6 Bug 1063946 SIMD: Group tests in logical units - conversions; r=bbouvier 2015-04-13 21:37:20 +02:00
Florian Merz
8b932b21a0 Bug 1063946 SIMD: Group tests in logical units - binary operations; r=bbouvier 2015-04-13 21:37:06 +02:00
Florian Merz
a119ce5e81 Bug 1063946 SIMD: Group tests in logical units - unary operations; r=bbouvier 2015-04-13 21:36:45 +02:00
Wes Kocher
149e55aae2 Merge m-c to fx-team a=merge CLOSED TREE 2015-04-14 15:40:46 -07:00
David Rajchenbach-Teller
ace19d48e4 Bug 1150045 - De-anonymize Expanded Principals. r=bholley 2015-04-10 17:52:29 +02:00
Jacek Caban
5870326f44 Bug 1151981 - Properly check for MSVC (mingw fixup). 2015-04-14 18:11:27 +02:00
Ryan VanderMeulen
0a551d3b7a Backed out changeset 607cfbb06eb8 (bug 1153498) for WinXP debug jit-test perma-timeouts.
CLOSED TREE
2015-04-14 11:08:34 -04:00
Ms2ger
82c2faeae3 Bug 949614 - Use === for SimpleTest.is; r=Waldo
This is more likely to be correct, and a necessary step in case we ever want
to move to Object.is.

This keeps ise as an alias for is, and introduces is_loosely for the old
behaviour.
2015-04-14 15:28:13 +02:00
Tom Schuster
f1c611c029 Bug 1153651 - Define array.length as JSPROP_SHADOWABLE. r=jorendorff 2015-04-14 14:24:45 +02:00
Hannes Verschore
f24866ee06 Backed out f3da454330a5 (bug 1049290) for adblock plus hangs 2015-04-14 13:00:36 +02:00
Jon Coppeard
c75c64e23b Bug 1153498 - Use RelocatablePtr in RegExpShared since these can be destroyed outside of the GC r=terrence 2015-04-14 11:31:12 +01:00
Brian Hackett
b9f429a3a4 Bug 1153266 - Allow turning on unboxed objects with an environment variable, r=h4writer. 2015-04-13 12:11:47 -06:00
Terrence Cole
57d2807f3f Bug 1153354 - Share SetMaybeAliveFlag between the two places we use it; r=jonco 2015-04-08 14:43:39 -07:00
Nathan Froyd
5c3d933f96 Bug 1153244 - increase JS helper threads stack space when MOZ_TSAN is enabled; r=bhackett
TSan enforces a minimum stack size that's just slightly larger than our
default helper stack size.  It does this to store blobs of TSan-specific
data on each thread's stack.  Unfortunately, that means that even though
we'll actually receive a larger stack than we requested, the effective
usable space of that stack is significantly less than what we expect.
To offset TSan stealing our stack space from underneath us, increase the
default when we're running with MOZ_TSAN.
2015-04-10 09:27:20 -04:00
Nathan Froyd
c9e5bf3544 Bug 1153255 - set a build configuration flag when MOZ_TSAN is enabled; r=jorendorff
We will want to query this just like MOZ_ASAN.
2015-04-09 13:37:52 -04:00
Mike Hommey
a24e87333a Bug 1153122 - Disable -Warray-bounds as a fatal warning. r=cpeterson 2015-04-15 09:21:22 +09:00
Jon Coppeard
e5a67c9d9f Bug 1149752 - Cancel GC caused by user inactivity if the user becomes active again r=terrence r=smaug 2015-04-13 16:42:41 +01:00
Nicolas B. Pierron
239a7dc240 Bug 1135629 - Rename Register::code to Register::encoding for Assembler functions. r=jandem 2015-04-13 16:31:15 +02:00
Hannes Verschore
6b1c14851b Bug 1153153: IonMonkey: Repoint the block instead of deleting the block for andor statements, r=bhackett 2015-04-13 14:49:46 +02:00
Chris Peterson
60a4b70a27 Back out changeset 469f64dc67e2 (bug 1152661) for -Wbitfield-constant-conversion warnings-as-errors on OS X. 2015-04-11 22:59:30 -07:00
Chris Peterson
6b357e581d Bug 1152661 - Fix -Wuninitialized warnings about Operand member variables. r=jandem 2015-04-08 22:37:04 -07:00
Jan de Mooij
06860f564a Bug 1153165 - Make |operator bool| methods in js/src explicit. r=luke 2015-04-11 22:19:01 +02:00
Jim Mathies
68b6f8552d Bug 1100501 - Add StatisticsRecorder initialization to xpcshell. r=georg 2015-04-11 07:02:29 -05:00
Tom Schuster
0d5968de22 Bug 895223 - Test for the now correctly behaving properties (e.g array.length). r=jorendorff 2015-04-11 14:00:17 +02:00
Tom Schuster
424a839f44 Bug 895223 - Always pass the holder to JSGetterOps. r=jorendorff,jandem 2015-04-11 13:59:47 +02:00
Eric Faust
9ea6369f7a Bug 1153057 - Properly initialize the [[HomeObject]] of methods with computed property names. (r=jorendorff) 2015-04-10 13:47:53 -07:00
Wes Kocher
f183c66301 Backed out changeset c2ba0e6f13b4 (bug 1153057) for spidermonkey bustage CLOSED TREE 2015-04-10 14:54:01 -07:00
Wes Kocher
1df3f0bbde Backed out changeset 91213097831c (bug 1153057) 2015-04-10 14:53:35 -07:00
Eric Faust
06584c5e0f Bug 1153057 - Fix signed comparison warning on a CLOSED TREE. 2015-04-10 14:22:52 -07:00
Eric Faust
7a041ef5f2 Bug 1153057 - Properly initialize the [[HomeObject]] of methods with computed property names. (r=jorendorff) 2015-04-10 13:47:53 -07:00
Terrence Cole
0b6f668727 No Bug - Remove an accidentally checked-in testing note; r=meow 2015-04-10 13:33:56 -07:00
Tooru Fujisawa
2ac8610398 Bug 1153148 - Add documentation comment for JSOP_SUPERBASE and JSOP_INITHOMEOBJECT. r=efaust 2015-04-11 05:32:37 +09:00
ProgramFOX
574d13da7d Bug 1150836 - SIMD (interpreter): change order of operations of ReciprocalSqrtApproximation. r=bbouvier 2015-04-08 14:04:58 +02:00
Ting-Yu Chou
6b76244863 Bug 1049290 - Optimize JSOP_IN for baseline compiler. r=djvj, r=h4writer 2015-04-10 12:41:22 +08:00
Terrence Cole
613f766046 Bug 1152964 - Remove browser users of setTracingDetails; r=mccr8 2015-04-10 09:03:00 -07:00
Terrence Cole
399fff5467 Bug 1151981 - Remove the void* marking functions; r=jonco,terrence 2015-04-02 09:53:01 -07:00
Terrence Cole
c7ab07e196 Bug 1152177 - Make jsid and Value pre barriers symetrical; r=jonco 2015-04-10 08:58:26 -07:00
Tooru Fujisawa
21f978b02b Bug 1147817 - Part 2: Use IsRegExp in RegExp constructor. r=till 2015-04-10 23:49:16 +09:00
Tooru Fujisawa
fa4dd7cbb7 Bug 1147817 - Part 1: Add RegExpInitialize. r=till 2015-04-10 23:49:16 +09:00
Nicolas B. Pierron
57ea8e0094 Bug 1149377 - Disable PGO on ICCallStubCompiler::guardFunApply. r=jandem 2015-04-10 16:08:21 +02:00
Nicolas B. Pierron
87c50fcc2d Bug 1147414 - Check of that Scalar Replacement is working as expected. r=h4writer 2015-04-10 15:41:57 +02:00
Jan de Mooij
96c9b59939 Bug 1151326 - Don't inline yields in legacy generators in Baseline. r=shu 2015-04-10 11:39:00 +02:00
Jan de Mooij
eefac7a6c1 Bug 1147216 part 2 - Use the right line number for strict eval. r=luke 2015-04-10 11:38:52 +02:00
Jan de Mooij
00300d588d Bug 1147216 part 1 - Give JSOP_LINENO a 4-byte instead of 2-byte operand. r=luke 2015-04-10 11:38:50 +02:00
Bobby Holley
ed9547ed3d Bug 1152784 - Be more robust about possible intermediate wrappers in IsFrameId. r=bz
Boris and I debugged this. It looks like we're somehow ending up with an
XrayWaiver on the other end of a CrossOriginXrayWrapper. The specifics of how
this happens are a bit fuzzy to me, but it's presumably happening in all the
brain transplant weirdness we do when recomputing wrappers during document.domain.

Having an XrayWaiver there isn't unsafe - the wrapper computation algorithm
will ignore the waiver if the principals don't allow the caller to waive. But
it does throw a wrench in some brittle code that only expects certain kinds
of wrappers. Let's just do what XrayTraits::getTargetObject does. I don't think
this is really unsafe at all, because the only wrapper with a security boundary
is the CCW, and we're already stripping that off unconditionally with
Wrapper::wrappedObject.
2015-04-10 00:28:05 -07:00
Ryan VanderMeulen
e6b4562f2c Merge m-c to inbound. a=merge
CLOSED TREE
2015-04-09 23:00:24 -04:00
Ryan VanderMeulen
a7f714dbc3 Merge inbound to m-c. a=merge 2015-04-09 22:43:57 -04:00
Eric Faust
815da01ea9 Bug 1141862 - Followup: Assure GCC that superBegin cannot, in fact, be used uninitialized. (rs=jorendorff) 2015-04-09 17:43:08 -07:00
David Rajchenbach-Teller
223109672a Bug 1142457 - Compute stopwatch durations per thread on MacOS X. r=jandem, r=areinald 2015-04-03 11:19:58 +02:00
Ryan VanderMeulen
e7c9ec097f Merge m-c to b2g-inbound. a=merge 2015-04-09 12:08:54 -04:00
Thomas Zimmermann
559b775004 Bug 1146355: Prepare build system to support Bluetooth APIs v1 and v2, r=shuang
This patch adds support for both Bluetooth interfaces to the build
system. The actual interface must be selected at compile time.
2015-04-09 15:57:40 +02:00
Thomas Zimmermann
508a9da29d Bug 1146355: Move Bluetooth legacy interface into sub-directory bluetooth1/, r=joliu 2015-04-09 15:57:40 +02:00
Makoto Kato
d7ce2f788a Bug 1128365 - MOZ_TOOLS is unnecessary. r=glandium 2015-04-09 19:24:02 +09:00
Jon Coppeard
32a55c8afd Bug 1149526 - Check HeapPtrs have GC lifetime r=terrence 2015-04-08 10:27:51 +01:00
Brian Hackett
52f2fca60b Bug 1147608 - Fixes for unboxed object creation stub compilation on x86 and ARM, r=jandem. 2015-04-08 11:10:56 -06:00
Tom Schuster
8efdd7b1df Bug 895223 - Use JSNative instead of JSGetterOp for ctypes FieldGetter/Setter. r=jorendorff 2015-04-09 19:25:29 +02:00
Jon Coppeard
f3c3e9a632 Bug 1149526 - Rework HeapPtr lifetime checks using TLS r=terrence 2015-04-09 18:08:54 +01:00
Terrence Cole
11150c737f Bug 1151155 - Loosen barrier assertion for pre-barrier verifier; r=jonco 2015-04-06 10:10:03 -07:00
Terrence Cole
c91d1cc5de Bug 1151118 - Remove recently orphaned tracing paths; r=jonco 2015-04-02 09:52:56 -07:00
Terrence Cole
665c6ec2f3 Bug 991752 - Always check has[G|S]etterObject before updating the Shape; r=jonco 2015-04-07 10:51:46 -07:00
Brian Hackett
eaf45275a0 Bug 1151401 - Watch for non-object unboxes while optimizing object-or-null operations, r=jandem. 2015-04-09 10:51:59 -06:00
Jon Coppeard
0bf8979ee0 Backed out changeset 2652e5cbc37f for static analysis bustage (bug 1149526) on a CLOSED TREE 2015-04-08 11:23:37 +01:00
Jon Coppeard
af5307e67c Bug 1149526 - Check HeapPtrs have GC lifetime r=terrence 2015-04-08 10:27:51 +01:00
Brian Hackett
0445e1ded2 Bug 1151269 - Fix the test used by Ion ICs for whether values can definitely be written to an unboxed object, r=jandem. 2015-04-09 10:42:41 -06:00
Brian Hackett
ee5173819f Bug 1151323 - Handle loading unboxed int32 properties into floating point registers, r=jandem. 2015-04-09 10:33:38 -06:00
Brian Hackett
a7bdc6d920 Bug 1148970 - Check for possibly incomplete type sets when double checking the correctness of argument type set information, r=jandem. 2015-04-09 10:29:53 -06:00
Mike Kaply
94e6bcfb93 Bug 1001158 - Handle an invalid distribution.ini gracefully, r=gijs 2015-04-08 14:18:31 -05:00
Benjamin Bouvier
11c2ff27e5 Bug 1084319: Actually patter-match SIMD.bool (rebasing mistake); r=nbp 2015-04-09 16:08:07 +02:00
Benjamin Bouvier
1d5008c644 Bug 1146363: Inline SIMD.int32x4.bool; r=sunfish 2015-03-23 15:45:05 +01:00
Hannes Verschore
db2f6aafd9 Bug 1138881: IonMonkey - Part 4: Fold redudant OR compare away, r=bhackett 2015-04-09 09:45:09 +02:00
Lars T Hansen
32643648b5 Bug 1142593 - factor atomics into the platform layer. r=waldo 2015-04-09 08:09:58 +02:00
Eric Faust
5bc050195d Bug 1141862 - Followup: Remove erronously landed debug spew. r=me 2015-04-08 22:40:51 -07:00
Eric Faust
5a10dee061 Bug 1141862 - Part 6: Implement ES6 SuperProperty and SuperMember. (r=jorendorff) 2015-04-08 17:41:01 -07:00
Shu-yu Guo
a15cadec0f 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
655687981a 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
80fbf5e7e0 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
f0a35a775e 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
6a6d70bcac 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
13c8748aa0 Backed out changeset 876c8ee6b132 (bug 1141862) for spidermonkey bustage 2015-04-08 19:05:41 -07:00
Eric Faust
0478c815b7 Bug 1141862 - Part 6: Implement ES6 SuperProperty and SuperMember. (r=jorendorff) 2015-04-08 17:41:01 -07:00
Dan Gohman
7e856b2c60 Bug 1152415 - OdinMonkey: Zero out struct padding to avoid valgrind warnings r=luke 2015-04-08 11:41:09 -07:00
Elbart
182848461a Bug 1069979 - Don't throw away timezone-strings with dots in Date() r=evilpie 2015-04-08 19:37:24 +02:00
Chris Peterson
8c65c6bb81 Back out changeset 253bcbb38a7c for breaking Linux PGO build (bug 1001975) 2015-04-07 20:43:43 -07:00
Jason Orendorff
7831149762 Bug 1150906 - Fix "Assertion failure: !has(SHADOWABLE)" and subsequent GC crashes introduced in rev 034027f41aaf. r=Waldo. 2015-04-07 15:44:09 -05:00
Chris Peterson
5a8924b5e1 Bug 1001975 - Enable -Wuninitialized warnings as errors. r=glandium 2015-04-01 00:50:58 -07:00
Shu-yu Guo
6622929381 Bug 996982 - Fix Debugger script delazification logic to account for relazified clones. (r=bz) 2015-04-07 16:40:34 -07:00
Bobby Holley
84fe323eef Bug 1150771 - Let ArrayBuffer through object Xrays. r=gabor 2015-04-07 15:10:00 -07:00
Trevor Saunders
07e62eab8d no bug - fix windows includes for case sensitive file systems 2015-04-07 17:15:49 -04:00
Steve Fink
34ed0aa4ae Bug 963738 - Annotate XPCNativeMember, r=terrence 2015-04-06 15:56:40 -07:00
Steve Fink
c553b1c41f Bug 963738 - Assume(ptr) is not a hazard; Assume(*ptr) is, r=bhackett 2015-03-30 14:01:58 -07:00
Steve Fink
3d7307aef0 Bug 963738 - Handle Arrays in the analysis, r=terrence 2014-02-03 23:12:39 -08:00
Steve Fink
182a2fe91a No bug. Refactor GC type annotations, re=terrence 2015-03-18 10:59:17 -07:00
Sean Stangl
869b4d107a Bug 1147629 - Use getStackPointer() and helper functions. r=jandem 2015-03-24 14:44:06 -07:00
Ryan VanderMeulen
b208a763b2 Backed out changeset 6bbe2e6958a9 (bug 1127801) for intermittent (?!?!) Mulet mochitest bustage.
CLOSED TREE
2015-04-07 13:47:54 -04:00
naru-san
5c8f37a380 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
a55fdccf04 Backed out changeset a67a0be7325e (bug 1127801) for test bustage. 2015-04-07 11:50:10 -04:00
Benjamin Bouvier
fd12048a54 Bug 1151333: Reserve enough stack space for SIMD shuffles; r=sunfish 2015-04-07 16:23:04 +02:00
Jon Coppeard
2462c305a7 Bug 1150011 - Fix GC hash table checks to work in release builds r=nbp 2015-04-07 15:58:09 +01:00
Jon Coppeard
f54457bf01 Bug 1148383 - Add testcase for previously fixed object metadata issue r=terrence 2015-04-07 15:58:09 +01:00
Luke Wagner
c14ee6c35c Bug 1148963 - OdinMonkey: add CompileOptions::lazyParsingDisabled and testing function setDiscardSource (r=bz) 2015-04-07 10:01:56 -05:00
Luke Wagner
ba5f61b4ef Bug 1148963 - OdinMonkey: throw if link-time failure and discardSource = true (r=bbouvier) 2015-04-07 09:59:11 -05:00
naru-san
3ff8433b08 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
41ec32dee0 Bug 1151382 - Fix Alignment mismatch for none jit. r=luke 2015-04-05 20:45:00 +02:00
Nick Fitzgerald
a80fea6717 Bug 1149495 - SavedFrame objects should handle all uint32 values. r=shu 2015-04-04 14:55:00 +02:00
Brian Hackett
61f4be1e32 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
77048dd97d Bug 1148916 - Remove MaybeSingletonObject NewObjectKind, r=terrence. 2015-04-07 05:50:00 -06:00
Brian Hackett
a571c88bf5 Bug 1148661 - Optimize accesses to unboxed expandos in Ion, r=jandem. 2015-04-07 05:42:44 -06:00
Tooru Fujisawa
324d6611a4 Bug 1077318 - Part 2: Fix the order of include in AsmJSModule.cpp. r=evilpie 2015-04-07 18:58:17 +09:00
Tooru Fujisawa
a8b0196cc9 Bug 1151182 - Fix type for JSOP_THROWMSG documentation comment. r=efaust 2015-04-07 18:19:28 +09:00
Tooru Fujisawa
e9f2cb466c 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
043ac3fa0c Bug 1077318 - call out to C++ for ARMv6 sub-word atomics. r=luke 2015-04-07 11:10:18 +02:00
Lars T Hansen
eb7f5e0ff1 Bug 1147916 - add more assembler cases. r=sunfish 2015-04-07 10:47:10 +02:00
Shu-yu Guo
55e0f251af Bug 1150714 - Mark and sweep JitcodeGlobalMap IC entries. (r=djvj) 2015-04-06 18:38:31 -07:00
Shu-yu Guo
7f4efc338e 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
0bd0a7065a Bug 1151583 - Don't set JS shell exit code for random exceptions (r=sfink) 2015-04-06 18:24:52 -07:00
Brian Hackett
b3a461d0bc Bug 1148922 - Handle insertion of new initial shapes via the metadata callback, r=luke. 2015-04-06 12:54:53 -06:00
Terrence Cole
6ec5015008 Bug 1150639 - Use a stricter off-thread check in triggerZoneGC; r=bhackett 2015-04-02 11:48:56 -07:00
Johannes Schulte
8a45b6abfe Bug 1094491 - Add assertion in UpdateExistingGetPropCallStubs that should hold now. r=efaust 2014-12-01 18:50:26 +01:00
Johannes Schulte
b0e103564f 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
d25edba162 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
61df0670d4 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
c0e92cc883 Merge f-t to m-c, a=merge 2015-04-04 10:53:59 -07:00
Tooru Fujisawa
5c0ad42573 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
3006ba124a Merge m-c to fx-team. a=merge
CLOSED TREE
2015-04-03 10:52:46 -04:00
David Rajchenbach-Teller
318f607f82 Bug 1149897 - PerformanceStatsService data is not monotonic. r=jandem 2015-04-02 17:15:23 +02:00
Wes Kocher
d7925ced9a Backed out changeset 39d74e5c3df5 (bug 1149897) for frequent bc3 timeout errors 2015-04-02 16:12:06 -07:00
Jeff Walden
d4b1e1fa30 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
490c1d5a62 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 2015-04-01 16:39:33 -04:00
David Rajchenbach-Teller
4a683286de Bug 1149897 - PerformanceStatsService data is not monotonic;r=jandem 2015-04-02 17:15:23 +02:00
Boris Zbarsky
00985cdbeb 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
78c2b37da1 Bug 1149563 - Change bogus ctypes code that modifies a frozen object. r=efaust. 2015-03-28 11:28:06 -05:00
Jeff Walden
e64a27968b Bug 1150779 - Split the rest of destructuring.js into several smaller destructuring tests. r=efaust 2015-04-02 22:55:40 -04:00
Jeff Walden
c407a67933 Bug 1150779 - Split for-loop tests out of js1_8_5/reflect-parse/destructuring.js. r=efaust 2015-04-02 22:55:22 -04:00
Jason Orendorff
ccb406ee5a Bug 1148652, part 3 - Mark arguments.length as overridden when it is redefined via the C API. r=efaust. 2015-03-23 14:32:33 -05:00
Jason Orendorff
463a6c8a9f Bug 1148652, part 2 - Use mostly-compliant code for defining TypedArray elements, already used from StandardDefineProperty, in NativeDefineProperty as well. r=efaust. 2015-03-23 14:32:31 -05:00
Jason Orendorff
b619469dbe 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. 2015-03-23 14:32:30 -05:00
Jason Orendorff
6817157af0 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.
2015-03-23 14:32:30 -05:00
Jason Orendorff
9bae1420b6 Bug 1147660, part 5 - Split the part of NativeDefineProperty that updates the object into a separate function again. r=efaust. 2015-03-23 14:32:29 -05:00
Jason Orendorff
0bd3e81324 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. 2015-03-23 14:32:29 -05:00
Jason Orendorff
e3a6506631 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. 2015-03-23 14:32:29 -05:00
Jason Orendorff
178cff0e2f Bug 1147660, part 2 - Merge DefinePropertyOrElement into NativeDefineProperty, making one long function we can refactor. r=efaust. 2015-03-23 14:32:28 -05:00
Jason Orendorff
fdf6f3c21e Bug 1147660, part 1 - Refactor NativeDefineProperty to put DefinePropertyOrElement's only call site right at the end. No change in behavior. r=efaust. 2015-03-23 14:32:28 -05:00
Jason Orendorff
c88c9266d3 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.
2015-03-23 14:32:28 -05:00
Jason Orendorff
23c8e292b3 Bug 1138499, part 3 - Flip JS_CHECK_ACCESSOR_FLAGS from a blacklist to a whitelist. r=Waldo. 2015-03-23 16:44:10 -05:00
Jason Orendorff
7ba6550bab Bug 1138499, part 2 - Strengthen assertComplete() to require that both [[Get]] and [[Set]] be present on accessor properties. r=Waldo. 2015-03-23 14:32:27 -05:00
Jason Orendorff
19659e6078 Bug 1138499, part 1 - Assert some basic rules on property descriptors on entry to DefineProperty and exit from GetOwnPropertyDescriptor. r=Waldo. 2015-03-23 14:32:27 -05:00
Jason Orendorff
890e5a1254 Bug 1138499, part 0 - Fix code spuriously using JSPROP_READONLY when defining an accessor property. r=Waldo. 2015-03-23 16:36:43 -05:00
Terrence Cole
1ca6faa3e8 Bug 1149352 - Part 8: Move Object marking to TraceEdge; r=jonco 2015-03-30 16:08:06 -07:00
Terrence Cole
0c906c7f3f Bug 1149352 - Part 7: Move String marking to TraceEdge; r=jonco 2015-03-30 15:14:23 -07:00
Terrence Cole
7f275d2e18 Bug 1149352 - Part 6: Move JitCode marking to TraceEdge; r=jonco 2015-03-30 15:14:23 -07:00
Terrence Cole
b3fe9573d7 Bug 1149352 - Part 5: Move ObjectGroup marking to TraceEdge; r=jonco 2015-03-30 15:14:23 -07:00
Terrence Cole
33e799086c Bug 1149352 - Part 4: Move Symbol marking to TraceEdge; r=jonco 2015-03-30 15:14:23 -07:00
Terrence Cole
4f52ea7894 Bug 1149352 - Part 3: Move Script marking to TraceEdge; r=jonco 2015-03-30 15:14:23 -07:00
Terrence Cole
e7e6976183 Bug 1149352 - Part 2: Move Shape marking to TraceEdge; r=jonco 2015-03-30 15:14:23 -07:00
Terrence Cole
7512eda786 Bug 1149352 - Part 1: Move BaseShape marking to TraceEdge; r=jonco 2015-03-27 16:22:55 -07:00
Terrence Cole
d0243ca5f4 Bug 1149352 - Part 0: Only mark live entries when marking a range; r=meow 2015-04-01 14:50:43 -07:00
Terrence Cole
2e244913a3 Bug 1149352 - Templatize IsMarked and IsAboutToBeFinalized; r=jonco 2015-03-27 16:22:52 -07:00
Shu-yu Guo
5add092217 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
39ed82c4d8 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
206898713f Bug 1125302 - Remove NativeLookupProperty. r=luke 2015-04-03 21:23:22 +02:00
Luke Wagner
ad48375d18 Bug 1150858 - Unwrap the correct object in ArrayBuffer.transfer (r=sfink) 2015-04-03 08:33:19 -05:00
Heiher
597e9e3d5a Bug 1150384 - IonMonkey: MIPS: Fix build failure caused by Bug 1143011. r=rankov 2015-04-02 01:00:00 -04:00
Heiher
48c5bf4f2c Bug 1150380 - IonMonkey: MIPS: Fix JitRuntime::generateProfilerExitFrameTailStub. r=rankov 2015-04-02 00:46:00 -04:00
Tom Schuster
a79eebc23f Bug 1125567 - Remove FindClassPrototype/FindClassObject. r=jorendorff 2015-04-03 17:01:14 +02:00
Eric Faust
920476bbc7 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
4abd8b284a 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
2b0948d6c6 Bug 1141862 - Part 3: Remove unused argument from BytecodeEmitter::emitPropLHS. (r=jorendorff) 2015-04-02 19:20:17 -07:00
Eric Faust
711bc1ca0f 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
b6634d58ab 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
54f52943ea 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
f7e15061ba 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
a60c0014ff 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
e613273dfc Bug 1134198 - Update docs for new Debugger.Frame.onPop spec. (r=tromey) 2015-04-02 17:28:02 -07:00
Shu-yu Guo
097db43bde 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
995edf01e3 Bug 1134198 - Refactor JS_GENERATOR_CLOSED checking. (r=jandem) 2015-04-02 17:28:02 -07:00
Shu-yu Guo
fe475b6e64 Bug 1134198 - Rename assertNotInFrameMaps to inFrameMaps. (r=tromey) 2015-04-02 17:28:02 -07:00
Boris Zbarsky
fdaf501865 Bug 679939 part 8. Drop the now-unused compileAndGo from CompileOptions. r=luke 2015-04-01 12:05:29 -04:00
Boris Zbarsky
1bc98a2e1e Bug 679939 part 7. Drop the now-unused JSScript::compileAndGo. r=luke 2015-04-01 12:05:29 -04:00
Boris Zbarsky
b951e4c3f3 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
0552083636 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
c2eaf2205f Bug 679939 part 4. Set the isRunOnce compile flag as needed. r=luke 2015-04-01 12:05:28 -04:00
Boris Zbarsky
458bf125e5 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
96ca1664a7 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
3aa088b969 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
ce432a8628 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
2176c8f88b Backed out changeset 39d74e5c3df5 (bug 1149897) for frequent bc3 timeout errors 2015-04-02 16:12:06 -07:00
Steve Fink
b35ffb3ae9 Bug 1149739 - Nerf performance.mozMemory ifdef JS_MORE_DETERMINISTIC, r=terrence 2015-04-02 13:05:29 -07:00
Steve Fink
045dc5f13d No bug. Minor analysis fix for duplicate avoidance logic. Does not seem to matter in practice. r=woof! 2015-03-27 17:26:43 -07:00
Steve Fink
80c2446cb6 Bug 1150347 - Fix autospider.sh --dep flag name, r=philor 2014-11-13 12:23:26 -08:00
Steve Fink
2bab38350a 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.
2015-03-30 14:00:45 -07:00
Jason Orendorff
4afbed61f2 Bug 1145636 - Update jsapi-tests/README. (The functional change is where it talks about the Makefile; that was stale.) r=Waldo. 2014-10-31 16:58:18 -05:00
Nicolas B. Pierron
2ad227aeff Bug 1148883 - Atomize inlined constants of bound functions. r=h4writer 2015-04-02 15:33:49 +02:00
Jan de Mooij
da0b42dad7 Bug 1144366 followup - Stop declaring multiple pointers on a single line. r=jorendorff 2015-04-02 11:22:21 +02:00
Jon Coppeard
6df58600b2 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
e18e14d8e1 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)
2015-04-01 19:17:45 -07:00
Bill McCloskey
2442a7e3a8 Bug 1146033 - Fix Reflect.parse default parameters (r=Waldo) 2015-04-01 17:37:13 -07:00
Bill McCloskey
ada9ed3581 Bug 1146032 - Fix comprehension name location in Reflect.parse (r=Waldo) 2015-04-01 17:37:13 -07:00
Jason Orendorff
258f6c26ed Bug 1148750, part 3 - Rewrite the rest of NativeDefineProperty. At this point it stops being practical to continue in small chunks. r=efaust. 2015-03-23 14:32:31 -05:00
Jason Orendorff
821b15dcd3 Bug 1148750, part 2 - Check extensibility in NativeDefineProperty. r=efaust. 2015-03-27 14:03:01 -05:00
Jason Orendorff
3f562b3039 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.
2015-03-23 14:32:30 -05:00