Commit Graph

41023 Commits

Author SHA1 Message Date
Ryan VanderMeulen
5802f455b1 Merge m-c to fx-team. a=merge 2015-07-15 13:30:09 -04:00
Alexandre Poirot
88e9470ef7 Bug 814497 - Fix nsScriptErrorWithStack constructor. r=ehsan 2015-07-15 09:58:26 -07:00
Nicolas B. Pierron
435ef0ddcd Bug 1182060 - IsObjectEscaped: Handle UnboxedPlainObject in guard shape. r=bhackett 2015-07-15 20:40:03 +02:00
Bobby Holley
8eacdaee29 Bug 1182409 - Add 'allowWaivers' sandbox option. r=gabor 2015-07-15 11:32:30 -07:00
Jan de Mooij
3103c8e33d Bug 1180049 - Add OOM check in MNewArray constructor. r=bhackett 2015-07-15 19:11:55 +02:00
Jan de Mooij
a4611fd7b1 Bug 1143679 followup - Add testcase. r=me 2015-07-15 19:09:02 +02:00
Jan de Mooij
95a50983a0 Bug 1160884 followup - Add testcase. r=me 2015-07-15 19:08:31 +02:00
Carsten "Tomcat" Book
5f62804f5e Backed out changeset 999b9a743bed (bug 1182428) for hazard failures on a CLOSED TREE 2015-07-15 16:51:57 +02:00
Jon Coppeard
7f9a5c8721 Bug 1183289 - Partially revert previous patch so jstests get run with default jitflags only r=me 2015-07-15 13:51:00 +01:00
Jon Coppeard
05e7622943 Bug 1182428 - Refactor bytecode compilation r=luke 2015-07-15 11:50:38 +01:00
Jon Coppeard
ad8c102dfc Bug 1165054 - Fix inbound bustage due to missing explicit on single arg constructor r=me 2015-07-15 11:27:27 +01:00
Jon Coppeard
ebe3f4a344 Bug 1182104 - Refactor code for sweeping a compartment after minor GC r=terrence 2015-07-15 10:22:04 +01:00
Jon Coppeard
80846c3d4e Bug 1165054 - Add API to clear postbarrier callbacks and use it when CPOW tables are destroyed r=terrence 2015-07-15 10:22:04 +01:00
Jon Coppeard
c40335510e Bug 1183289 - Run fewer CGC tests r=sfink 2015-07-15 10:22:04 +01:00
Jon Coppeard
f1870a631e Bug 1183560 - Add an option to jstests to run tests repeatedly r=terrence 2015-07-15 10:22:04 +01:00
Brian Hackett
42223df470 Bug 1180990 - Add checks for nursery objects when building MIR. r=jandem
CLOSED TREE
2015-07-14 17:11:46 -04:00
Brian Hackett
09fbca488a Bug 1182092 - Try harder to filter out template shapes with indexed properties when making unboxed objects, r=jandem. 2015-07-14 12:16:44 -07:00
Sean Stangl
7e1e6b57a6 Bug 1183308 - Fix ARM64 bustage from Bug 1141986. r=efaust 2015-07-13 12:51:33 -07:00
Sean Stangl
2e939842eb Bug 1181348 - Fix ARM64 toggledCall() under debug mode. r=djvj 2015-07-06 14:41:49 -07:00
Brian Hackett
81d210835a Bug 1175165 - Fix build break on a CLOSED TREE. 2015-07-14 09:25:10 -07:00
Brian Hackett
2d4031de51 Bug 1175165 - Eagerly analyze large array literals to see if an unboxed representation can be used, r=jandem. 2015-07-14 09:02:15 -07:00
Jan de Mooij
bef4fb3013 Bug 1177922 - Fix a bogus assert on OOM in markSafepointAt. r=nbp 2015-07-14 11:12:09 +02:00
Jan de Mooij
473698deac Bug 1183191 followup - Always null script_ in AutoDelazify::dropScript. r=me 2015-07-14 11:12:02 +02:00
Jon Coppeard
c7b05799e1 Bug 1171909 - Check for alloc failure initializing AssemblerBufferWithConstantPools and update error handling ExceptionHandlerBailout r=jandem 2015-07-13 11:31:20 +01:00
Nicholas Nethercote
3a776e8b2d Bug 1181452 - Add memory reporting infrastructure for Servo to SpiderMonkey. r=till.
Basically, this change is all about aggregating SpiderMonkey's fine-grained
measurements into the new set of coarse-grained measurements, called
ServoSizes (which is similar to the existing TabSizes). The change utilizes and
extends the existing macro machinery to do this in a way that has some chance
to maintaining correctness over the long-term despite the fact that this code
is so fiddly.
2015-07-07 23:18:44 -07:00
Nick Fitzgerald
4e5929bd0f Bug 1180763 - Part 2: Test the size property of entries in the tenure promotions log; r=sfink 2015-07-13 20:20:29 -07:00
Nick Fitzgerald
38b909f9c6 Bug 1180763 - Part 1: Add the size of the tenured object to the tenure promotions log entry; r=sfink 2015-07-13 20:20:29 -07:00
Nick Fitzgerald
741a23f13c Bug 1180763 - Part 0: Document the size property of entries in the tenure promotions log; r=sfink 2015-07-13 20:20:29 -07:00
Nick Fitzgerald
ddee007ca8 Bug 1180536 - Use mozilla::ScopeExit to clean up Debugger::addDebuggeeGlobal's consistency on failure; r=sfink 2015-07-13 20:20:29 -07:00
Jan de Mooij
cea5e2e24a Bug 1183191 followup - Fix AutoDelazify to not enter the self-hosting compartment, it can race. r=shu CLOSED TREE 2015-07-13 22:52:34 +02:00
Alexandre Poirot
df80760c29 Bug 814497 - Pass SavedFrame from JS::ErrorObject to nsIScriptError. r=bholley 2015-07-09 07:02:00 -04:00
Jason Orendorff
ba15d156e9 Bug 1170307 - Inline the common path of NonNullObject; use it instead of ReportObjectRequired in the Debugger. r=shu. 2015-03-01 06:47:07 -06:00
Jason Orendorff
b678b7d13d Bug 1171036 - Change GetLengthProperty slow path to use ToLengthClamped instead of ToUint32. r=Waldo. 2015-06-03 10:01:45 -05:00
Jason Orendorff
19b3dbec8d Bug 1170216 - When using the slow-and-standard path in js::SetIntegrityLevel, don't manually call setNonwritableArrayLength afterwards. r=Waldo. 2015-06-01 12:01:02 -05:00
Jan de Mooij
dfe73655e1 Bug 1183191 - Avoid relazification in CloneFunctionAndScript, to fix a sudden cgc orange on a CLOSED TREE. r=shu 2015-07-13 19:28:23 +02:00
ProgramFOX
2c885537c1 Bug 1123383 - SIMD (interpreter): remove Clamp. r=bbouvier
CLOSED TREE
2015-07-13 12:36:53 -04:00
Birunthan Mohanathas
e52329c788 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Jon Coppeard
ed3209e821 Backed out changeset afb1f49458db (bug 1171909) for SM(arm) errors 2015-07-13 14:26:01 +01:00
Carsten "Tomcat" Book
8d0b31cb6d Backed out changeset 3054f69fb5a1 (bug 1123383) for sm cgc failures 2015-07-13 15:19:47 +02:00
Jon Coppeard
8de5959976 Bug 1182428 - Refactor common trace logging code in bytecode compiler r=luke 2015-07-13 11:31:20 +01:00
Jon Coppeard
676d9ffdfd Bug 1171909 - Check for alloc failure initializing AssemblerBufferWithConstantPools and update error handling ExceptionHandlerBailout r=jandem 2015-07-13 11:31:20 +01:00
Tooru Fujisawa
ee75b8af17 Bug 1172453 - Use TypedOrValueRegister instead of ConstantOrRegister in GetElementIC. r=jandem 2015-07-13 19:29:07 +09:00
Nicolas B. Pierron
9123e1f49e Bug 1181558 part 1 - Share the machine state between all SnapshotIterators of the same InlineFrameIterator. r=jandem 2015-07-13 12:24:52 +02:00
Nicolas B. Pierron
05c023ad66 Bug 1181558 part 0 - Remove unused SnapshotIterator constructor. r=jandem 2015-07-13 12:24:51 +02:00
ProgramFOX
596882cc85 Bug 1123383 - SIMD (interpreter): remove Clamp. r=bbouvier 2015-07-11 18:06:46 +02:00
Nick Fitzgerald
8758e615f6 Bug 1169710 - Part 5: Fix a GC hazard and properly mark cross compartment edges in the tenure promotions log; r=sfink,jonco 2015-07-10 19:14:09 -07:00
Nick Fitzgerald
bbb9205645 Bug 1169710 - Part 4: Test the tenuring log; r=sfink 2015-07-10 19:14:09 -07:00
Nick Fitzgerald
d1a1a41f90 Bug 1169710 - Part 3: Expose the tenure promotions log on Debugger.Memory; r=sfink 2015-07-10 19:14:09 -07:00
Nick Fitzgerald
2f2addf967 Bug 1169710 - Part 2: Add Debugger infrastructure for logging promotions to the tenured heap; r=sfink 2015-07-10 19:14:08 -07:00
Nick Fitzgerald
4a01111e43 Bug 1169710 - Part 1: Debugger should maintain a set of debuggee zones and Zones should maintain a list of debuggers; r=sfink 2015-07-10 19:14:08 -07:00
Nick Fitzgerald
bcd44deb61 Bug 1169710 - Part 0: Document the Debugger.Memory's tenure promotions log; r=sfink 2015-07-10 19:14:08 -07:00
Mike Hommey
9ff75a520e Fixup for bug 1182407 for mozharness jobs that still use setup.sh.* files directly on a CLOSED TREE. r=mshal 2015-07-11 06:59:59 +09:00
Mike Hommey
b6f44982e6 Bug 1182407 - Use unpack feature of tooltool wherever possible. r=mshal 2015-07-11 06:26:21 +09:00
Terrence Cole
66de0ff16e Bug 1171904 - Remove --enable-js-crash-diagnostics and just use the NIGHTLY defines; r=sfink 2015-07-10 10:50:19 -07:00
Geoff Brown
495b7cbfe1 Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Kannan Vijayan
4a1c0d15bf Bug 1180854 - Record and expose Ion IC stub optimization info to Jit Coach. r=shu 2015-07-10 16:35:00 -04:00
Wes Kocher
df5909cdbc Backed out changeset 74293125739a (bug 1176341) 2015-07-10 12:48:20 -07:00
Andrew McCreight
2ed211a7a3 Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor 2015-07-10 07:41:33 -07:00
Terrence Cole
d7fa32fc54 Bug 1181799 - Allow use of Rooted with arbitrary, fully static structs; r=sfink 2015-07-09 08:45:40 -07:00
Terrence Cole
dcdae36446 Bug 1181155 - Use a common root list definition between JSContext and JSRuntime; r=jonco 2015-07-07 08:47:09 -07:00
Lars T Hansen
eeaf38d67e Bug 1141986 - Atomics.exchange, stubs for ARM64 and MIPS. r=sstangl, r=rankov 2015-07-10 14:00:28 +02:00
Lars T Hansen
b00aa03db8 Bug 1141986 - Atomics.exchange on integer elements -- asm.js parts. r=bbouvier 2015-07-10 14:00:28 +02:00
Lars T Hansen
afb5784300 Bug 1141986 - introduce a TruncateToInt32 policy. r=h4writer 2015-07-10 14:00:28 +02:00
Lars T Hansen
7380b0bec9 Bug 1141986 - Atomics.exchange on integer elements -- ion parts. r=h4writer r=sstangl 2015-07-10 14:00:28 +02:00
Benjamin Bouvier
155f3ab042 Bug 1155211: Remove selectBits on Float types; r=nbp 2015-07-06 12:41:14 +02:00
Benjamin Bouvier
dfc2148b63 Bug 1155211: Rename bitselect into selectBits; r=nbp 2015-07-06 11:09:33 +02:00
Benjamin Bouvier
6fd354c20a Bug 1155211: Part 3.3 - New tests; r=h4writer 2015-07-09 21:09:27 +02:00
Benjamin Bouvier
a44b5a4448 Bug 1155211: Part 3.2 - Remove lanes getters; r=nbp 2015-07-09 21:24:01 +02:00
Benjamin Bouvier
649e091596 Bug 1155211: Part 3.1 - Update tests for extractLane; r=h4writer 2015-07-09 21:07:20 +02:00
Benjamin Bouvier
5bb69d8b51 Bug 1155211: Part 3.0 - Implement SIMD[type].extractLane; p=flomerz;bbouvier; r=h4writer 2015-07-09 21:07:04 +02:00
Benjamin Bouvier
2e5928dacd Bug 1173722: Part 1 - Capitalize all the SIMD types names; r=nbp 2015-07-09 19:15:24 +02:00
Jeff Walden
ffd45d5a11 Bug 1169639 - Make intrinsicsHolder-accesses fallible, now that it's possible to access it without having previously gone through intrinsics-object creation code to ensure its existence. r=shu 2015-06-08 10:55:53 -07:00
Mauricio Collares Neto
d99c241868 Bug 1182203 - Part 1: Optimize unsigned division by constants. r=sunfish 2015-07-09 11:21:00 +02:00
Mauricio Collares Neto
6b5e90ea78 Bug 1182203 - Part 0: Generalize reciprocal multiplication constant calculation. r=sunfish 2015-07-09 11:19:00 +02:00
Boris Zbarsky
5e8858b2f6 Bug 1180770 part 2. Remove the unused ifaceName/memberName arguments of ThrowMethodFailedWithDetails and rename it to ThrowMethodFailed. r=peterv 2015-07-09 22:51:28 -04:00
Nick Fitzgerald
b01e7bc5e9 Bug 1068988 - Part 4: Fix object-pending-metadata root marking; r=shu 2015-07-09 09:21:16 -07:00
Nick Fitzgerald
cc3335116e Bug 1068988 - Part 3: Document the size property in the allocations log; r=shu 2015-07-09 09:21:16 -07:00
Nick Fitzgerald
a9857c13f8 Bug 1068988 - Part 2: Add a test for byte sizes in the allocations log; r=shu 2015-07-09 09:21:16 -07:00
Nick Fitzgerald
3c7ef23816 Bug 1068988 - Part 1: Add byte size to the allocation log; r=shu 2015-07-09 09:21:16 -07:00
Jan de Mooij
c9bfc60095 Bug 1167883 - Avoid huge stack frames and stack overflow issues with MSVC PGO builds. r=nbp 2015-07-09 11:12:04 +02:00
Brian Hackett
67bce7a6ea Bug 1180608 - Remove bogus assert, r=jandem. 2015-07-09 07:43:42 -07:00
Nicolas B. Pierron
c6b64ed88b Bug 1178772 - Add check_macroassembler_style.py: Verify that each MacroAssembler declaration maps to all its definitions. r=h4writer 2015-07-09 14:35:29 +02:00
Shu-yu Guo
70b1b66aff Bug 1181354 - Account for initaliasedlexical in this one weird const cutout in jit::SetProperty. (r=jandem) 2015-07-09 05:35:44 -07:00
Carsten "Tomcat" Book
52b5ebd4ec Backed out changeset b6c7a3219a97 (bug 1167883) for assertion failures in onEnterFrame-04.js on a CLOSED TREE 2015-07-09 13:08:28 +02:00
Jan de Mooij
7c7eb1700d Backout 596ee431b3d2 (bug 1180874) because of bugs. 2015-07-09 11:24:54 +02:00
Tooru Fujisawa
89c0cfed73 Bug 1181063 - Use mozilla::IsNaN and mozilla::IsInfinite in Simulator-vixl.cpp. r=Waldo, r=sstangl 2015-07-09 18:22:11 +09:00
Jan de Mooij
5e3a8ad03e Bug 1167883 - Avoid huge stack frames and stack overflow issues with MSVC PGO builds. r=nbp 2015-07-09 11:12:04 +02:00
Tooru Fujisawa
e973910f37 Backed out changeset b9b555396153 (bug 1181063) 2015-07-09 17:53:33 +09:00
Tooru Fujisawa
3f6a421004 Bug 1181151 - Fix Registers::GetName typedef issue with clang. r=rankov 2015-07-09 17:26:12 +09:00
Tooru Fujisawa
3bec725281 Bug 1181152 - Make Trampoline-mips.cpp compile with clang. r=rankov 2015-07-09 17:26:12 +09:00
Tooru Fujisawa
8c46222b26 Bug 1181063 - Use mozilla::IsNaN and mozilla::IsInfinite in Simulator-vixl.cpp. r=Waldo, r=sstangl 2015-07-09 17:26:12 +09:00
Jon Coppeard
fac3fdf014 Bug 1181306 - Skip compacting phase when finishing an incremental GC non-incrementally r=terrence 2015-07-09 08:38:00 +01:00
Phil Ringnalda
2b52060034 Back out 6e49d0bf0819 (bug 1169639) for hazard build failures
CLOSED TREE
2015-07-08 19:56:40 -07:00
Jeff Walden
aae494716d Bug 1169639 - Make intrinsicsHolder-accesses fallible, now that it's possible to access it without having previously gone through intrinsics-object creation code to ensure its existence. r=shu 2015-06-08 10:55:53 -07:00
Martin Thomson
68c1665b4f Bug 1181262 - Disabling more code under --disable-webrtc, r=dholbert,bwc 2015-07-08 12:27:45 -07:00
Ryan VanderMeulen
00b394eb4f Merge inbound to m-c. a=merge
CLOSED TREE
2015-07-08 14:33:24 -04:00
lazyparser
a5b84a5e3d Bug 1181581 - Fix some typos in comments. r=jandem
CLOSED TREE
2015-07-08 09:13:00 -04:00
ProgramFOX
a0cea47270 Bug 1124291 - SIMD (interpreter): Implemented int8x16 and int16x8 on a CLOSED TREE. r=bbouvier 2015-07-07 15:31:44 +02:00
ProgramFOX
dc7e5b48a9 Bug 1124291 - SIMD (interpreter): Added test cases for int8x16 and int16x8. r=benj 2015-07-07 15:17:55 +02:00
ProgramFOX
da076d8f52 Bug 1124291 - added ToInt8 and ToInt16. r=Waldo 2015-07-02 17:51:25 +02:00
Carsten "Tomcat" Book
fd7ace7a20 Backed out changeset 6c24695543a9 (bug 1124291) for bustage on a CLOSED TREE 2015-07-08 15:11:54 +02:00
Carsten "Tomcat" Book
4c56ef4555 Backed out changeset d1b878ce28f4 (bug 1124291) 2015-07-08 15:11:19 +02:00
ProgramFOX
d858b62151 Bug 1124291 - SIMD (interpreter): Implemented int8x16 and int16x8 on a CLOSED TREE. r=bbouvier 2015-07-07 15:31:44 +02:00
ProgramFOX
92362b778b Bug 1124291 - SIMD (interpreter): Added test cases for int8x16 and int16x8. r=benj 2015-07-07 15:17:55 +02:00
Benjamin Bouvier
c8ad2922c0 Bug 1157624: Odin: split parsing/validation from codegen; r=luke 2015-07-02 18:32:24 +02:00
Benjamin Bouvier
d1712e8362 Bug 1157624: A few free asm.js tests; r=luke 2015-07-02 18:34:43 +02:00
Spenser Andrew Bauman
d95a3652e0 Bug 1176406 - IonMonkey: Poor type refinement of element access results during inlininig
Improve type refinement based on the heap type sets of input objects to GETELEM operations. r=bhackett1024
2015-07-01 16:45:00 +02:00
Sander Mathijs van Veen
d243cf2fea bug 1180874 - Use DivOrModConstantI for unsigned division or modulo by constant. r=nbp 2015-07-07 17:03:59 +02:00
Nicholas Nethercote
24ab7bcdca Bug 1179071 - Merge RemovingIterator into Iterator. r=froydnj.
The original motivation for the Iterator/RemovingIterator split was that
PLDHashTable Checker class would treat them differently. But that didn't end up
happening (see bug 1131308). So this patch merges them. This is a small code
size win now but it will become bigger when I add iterators to nsTHashTable and
nsBaseHashtable.

The only complication is that PLDHashTable::Iter() is now non-const, which is
a problem if you use it in a const method. So I added PLDHashTable::ConstIter()
which is used in just two places. It's a bit of a hack -- effectively a
const_cast -- but I don't think it's too bad.
2015-07-06 22:02:26 -07:00
Brian Hackett
3a4f720cea Bug 1175714 - Watch for baseline frame values with nursery types during OSR, r=jandem. 2015-07-07 17:38:24 -07:00
David Major
75e6de2c27 Bug 1167248: Test whether mysterious rand_s failures are due to LoadLibraryExW hooks. rs=terrence 2015-07-07 18:56:53 -04:00
Sean Stangl
3cb35cd62a Bug 1180013 - Fix irregexp on ARM64. r=efaust 2015-07-02 15:23:47 -07:00
Wes Kocher
87a000a955 Backed out changeset b822456c6e2f (bug 1175714) for mass assertion failures on a CLOSED TREE 2015-07-07 12:31:40 -07:00
Brian Hackett
edaac38e1e Bug 1175714 - Watch for baseline frame values with nursery types during OSR, r=jandem. 2015-07-07 11:24:36 -07:00
Brian Hackett
1333cfd846 Bug 1176751 - Eagerly convert unboxed arrays to native arrays more often during Ion compilation, r=jandem. 2015-07-07 11:20:25 -07:00
Dragana Damjanovic
c7fc0a288e Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
Emanuel Hoogeveen
31c0c961cd Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Bill McCloskey
b162c4e892 Bug 1177013 - Use CancelCurrentTransaction to avoid crashes (r=dvander) 2015-07-06 19:58:44 -07:00
Brian Hackett
7b8c6bd586 Bug 1175622 - Use the right API when transitively marking object groups as unknown, r=jandem. 2015-07-06 19:53:07 -07:00
Jeff Walden
b9b1c2b195 Bug 1163891 - Read lines of input in xpcshell/jsshell while properly handling EINTR failures and retrying in response. r=glandium 2015-07-02 21:19:22 -07:00
Kannan Vijayan
e2f68bb350 Bug 1176289 - Record proper optimization tracking outcome on failure of getPropTryConstant due to non-singleton value. r=shu 2015-07-06 11:55:23 -04:00
Nicolas B. Pierron
5b4a36245b Bug 1178770 - Move MacroAssemblerSpecific::call to the MacroAssembler. r=h4writer 2015-07-06 16:12:48 +02:00
Nathan Froyd
cbafbc4092 Bug 1179315 - part 2 - make it more obvious that typeIDs of typed arrays are constants; r=lth
We need MOZ_CONSTEXPR on {Shared,}TypedArrayObject::ArrayTypeID for some
compilers to be able to constant-fold that function.  But said compilers
didn't seem to understand MOZ_CONSTEXPR annotations on TypeIDOfType,
either on the template declaration or the individual specializations.
Instead, we convert TypeIDOfType into a traits template, so ArrayTypeID
can return a logical constant instead.
2015-06-30 17:14:49 -04:00
Nathan Froyd
710f9fb5c0 Bug 1179315 - part 1 - make TypedArrayLayout's constructor inline and MOZ_CONSTEXPR; r=lth
The definitions of {Shared,}TypedArrayObject::layout_ require static
constructors on some compilers because they can't see the full
definition of TypedArrayLayout's constructor.  We can address this by
moving the constructor to a point where it can be easily inlined, and
marking it as MOZ_CONSTEXPR.
2015-06-30 10:15:05 -04:00
Andrea Marchesini
edc3dda6a4 Bug 1176034 - Implement JSAutoStructuredCloneBuffer::clear(with callbacks and closure), r=sfink 2015-07-06 12:22:08 +01:00
Nicholas Nethercote
c34381c2d4 Bug 1180123 (part 2) - Minor nursery report fixes. r=terrence. 2015-07-03 00:49:40 -07:00
Nicholas Nethercote
c233cf202e Bug 1180123 (part 1) - Report the size of the saved stacks sets. r=fitzgen. 2015-07-03 00:33:41 -07:00
Juan Gomez
21d73728f3 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Jan de Mooij
7248c7e4fe Bug 1175511 - Use template objects for arguments object allocation. r=bhackett 2015-07-03 20:41:52 +02:00
Phil Ringnalda
6d43ab4967 Back out 12 changesets (bug 1177013) on suspicion of causing b2g emulator debug test bustage
CLOSED TREE

Backed out changeset 912aae0815f8 (bug 1177013)
Backed out changeset 3b6448172e50 (bug 1177013)
Backed out changeset 2af18bef5703 (bug 1177013)
Backed out changeset e6bf35115c11 (bug 1177013)
Backed out changeset 4d7f5205b60b (bug 1177013)
Backed out changeset f7de893911bc (bug 1177013)
Backed out changeset de79eba232f0 (bug 1177013)
Backed out changeset 978a77b60f2a (bug 1177013)
Backed out changeset f5b52fa19511 (bug 1177013)
Backed out changeset e14a7b70b6fa (bug 1177013)
Backed out changeset d0f5a3474659 (bug 1177013)
Backed out changeset bff9f07dad52 (bug 1177013)
2015-07-02 22:08:54 -07:00
Bill McCloskey
af77069eb7 Bug 1177013 - Use CancelCurrentTransaction to avoid crashes (r=dvander) 2015-07-02 17:18:10 -07:00
Daniel Holbert
8d4db4e9b0 Bug 1061909 followup: Add missing 'override' keyword to count() methods in DebuggerMemory.cpp. rs=ehsan 2015-07-02 16:31:53 -07:00
Terrence Cole
68d0b85c11 No Bug - Fix test count generation when jit-flags is set; r=meow 2015-07-02 14:18:26 -07:00
Tom Schuster
b56cf26ce7 Bug 1171053 - Remove JS_BindCallable. r=efaust 2015-07-02 22:46:19 +02:00
Tom Schuster
4d9139659d Bug 1177801 - Remove NewObjectWithProto. r=bhackett 2015-07-02 22:46:19 +02:00
Martin Thomson
202ada6261 Bug 1176434 - Enabling indexedDB for content JS sandboxes, r=bent 2015-07-02 13:30:15 -07:00
Sean Stangl
1e2cbf6adf Bug 1179502 - Remove extraneous MacroAssembler ARM64 code. r=efaust 2015-07-01 15:16:48 -07:00
Carsten "Tomcat" Book
5739e50696 merge mozilla-inbound to mozilla-central a=merge 2015-07-02 15:44:14 +02:00
Shu-yu Guo
ec4a08f03b Bug 1179264 - Only assert markedness of sampled scripts in JitcodeMap during finalization. (r=terrence) 2015-07-01 21:57:28 -07:00
Fabrice Desré
b9ba31d0f2 Bug 1179102 - The async version of loadSubscript doesn't get the right JS version. r=bholley 2015-07-01 16:26:08 -07:00
Terrence Cole
b5c90b454c Bug 1175642 - Fix the interface that RelocatablePtr uses to interact with the StoreBuffer; r=jonco
* * *
Bug 1175466 - "Allocate arguments objects in the nursery" [r=terrence]
2015-06-18 10:23:49 -07:00
Jan de Mooij
1578d8d59f Bug 1177892 part 4 - Remove INT_TO_JSVAL. r=evilpie 2015-06-30 21:10:04 -07:00
Jan de Mooij
91656f1d39 Bug 1177892 part 3 - Remove OBJECT_TO_JSVAL. r=evilpie 2015-06-30 21:09:46 -07:00
Lars T Hansen
737be45997 Bug 1175494 - comprehensive atomics tests for asm.js. r=luke 2015-07-01 05:07:12 +02:00
Lars T Hansen
78e2eff30c Bug 1155176 - correct return types for atomics. r=luke 2015-07-01 05:07:09 +02:00
Lars T Hansen
0f319b8288 Bug 1141994 - implement Atomics.isLockFree. r=h4writer r=luke 2015-07-01 05:07:06 +02:00
Jan de Mooij
2d19dfc5f6 Bug 1177892 part 2 - Remove PRIVATE_TO_JSVAL. r=evilpie 2015-06-30 11:20:58 -07:00
Jan de Mooij
50d0e1c75e Bug 1177892 part 1 - Remove BOOLEAN_TO_JSVAL and STRING_TO_JSVAL. r=evilpie 2015-06-30 11:20:56 -07:00
Jim Blandy
b3824c44a2 Bug 1178976: Add a post-write barrier to ObjectWeakMap::add. r=terrence 2015-06-30 13:47:01 -07:00
Jim Blandy
9a1e5bcb96 Bug 1163520: Don't hand out internal function objects via Debugger.Environment.prototype.callee. r=shu 2015-06-04 14:08:20 -07:00
Jim Blandy
b3bc35de2c Bug 1163520: Make IsInternalFunctionObject take its argument by reference, as it must not be nullptr. r=shu 2015-06-04 11:58:10 -07:00
Ryan VanderMeulen
1c944f7ca5 Backed out changesets ad58c270ce87 and 849151330d60 (bug 1177892) for B2G bustage.
CLOSED TREE
2015-06-30 15:48:11 -04:00
Jan de Mooij
f7b999155b Bug 1177892 part 2 - Remove PRIVATE_TO_JSVAL. r=evilpie 2015-06-30 11:20:58 -07:00
Jan de Mooij
abbf48c613 Bug 1177892 part 1 - Remove BOOLEAN_TO_JSVAL and STRING_TO_JSVAL. r=evilpie 2015-06-30 11:20:56 -07:00
André Bargull
a23fa60333 Bug 1177907 - Handle ObjectClassIs exception in date_toString. r=till 2015-06-30 04:36:00 -04:00
Jim Blandy
45ba6c258f Bug 1060567: Debugger.Memory.prototype.takeCensus: provide byte counts on request. r=fitzgen 2015-06-04 09:55:48 -07:00
Jim Blandy
bd07a03c9a Bug 1061909: Implement 'allocationStack' breakdown for Debugger.Memory.prototype.takeCensus. r=fitzgen 2015-06-30 23:47:37 -07:00
Jim Blandy
946ab8f649 Bug 1061909: Arrange for trees of census counts to be traced by the GC. r=fitzgen 2015-06-30 17:25:50 -07:00
Jim Blandy
5819be8c0c Bug 1061909: Add breakdown argument to Debugger.Memory.prototype.takeCensus, covering all existing count types. r=fitzgen 2015-07-01 15:51:32 -07:00
Jim Blandy
3f2037f66b Bug 1061909: Define a testing function to introduce easily traceable objects. r=fitzgen 2015-06-28 13:11:06 -07:00
Jim Blandy
aced758ae0 Bug 1061909: Add documentation for Debugger.Memory.prototype.takeCensus's 'breakdown' parameter. r=fitzgen 2015-06-26 17:24:35 -07:00
Brian Hackett
5863080505 Bug 1174230 - Limit the complexity of regalloc bundles which can be merged together, r=sunfish. 2015-07-01 15:47:35 -07:00
Jeff Walden
b4d0f01f3c Bug 1075758 - Update String.prototype.normalize tests for normalization changes in ICU 55. r=arai 2015-06-16 23:53:04 -07:00
Jeff Walden
97557341df Bug 912701 - When removing Unicode extension sequences from a locale, ignore similar syntax that might be found in a privateuse component. r=abargull 2015-06-28 07:00:01 -07:00
Kartikaya Gupta
913fb92ca8 Bug 1178274 - Ensure the BrowserTabsRemoteAutostart function is first called on the main thread during xpcshell testing. r=billm 2015-06-30 06:43:07 -04:00
Tooru Fujisawa
383a20d26b Bug 1177941 - Do not show warning about unreachable empty statement after return statement. r=Waldo 2015-06-30 19:24:28 +09:00
Heiher
41aa5ba144 Bug 1177016 - IonMonkey: MIPS: Fix a unaligned access caused by bug 1169731. r=jandem 2015-06-24 17:48:00 +02:00
Sander Mathijs van Veen
e8615dcf20 Bug 1176864 - Truncate modulo operator for int32 r=h4writer, r=nbp 2015-06-26 00:18:20 +02:00
Jon Coppeard
640c877048 Bug 1177778 - Allow HeapPtr destruction while shutting down the GC r=terrence 2015-06-30 10:17:25 +01:00
Jeff Walden
d26181572a Bug 1175347 - Fix a test that assumes too much in compacting builds. r=intermittent-orange in a CLOSED TREE 2015-06-29 21:13:00 -07:00
Jan de Mooij
61c36ee986 Bug 1177825 - Remove JSVAL_* constants. r=evilpie 2015-06-29 18:36:44 -07:00
Jeff Walden
3c4707b986 Bug 1175347 - Add a JSAPI test for exposing availability of locales derived from the default locale. r=itsatest, rs=till over IRL 2015-06-26 17:49:18 -07:00
Jeff Walden
96df3c862d Bug 1175347 - Consider the last-ditch locale (currently en-GB) and any and all locales implied by the default locale to be present in all [[availableLocale]] spec lists. r=abargull, r=till 2015-06-16 23:52:31 -07:00
Jeff Walden
74262622ca Bug 1146136 - Followup mop-up to require that in destructuring patterns, an assignment target with a default value must not be parenthesized. (That is, |var [(a = 3)] = [];| is invalid, while |var [a = 3] = [];| is valid.) r=evilpie, r=efaust 2015-06-23 11:47:20 -07:00
Jeff Walden
4666624678 Bug 1146136 - Followup to condition tests using |super| syntax on class syntax being enabled. r=bustage 2015-06-29 15:45:54 -07:00
Kyle Machulis
e327b09f2d Bug 1159469 - Make sure public jsapi Map/Set calls deal with compartments/proxies; r=bz r=jorendorff 2015-06-29 15:38:53 -07:00
Kyle Machulis
2141039518 Bug 1159469 - Add get function to JSJitCallArguments; r=jorendorff 2015-06-29 15:38:52 -07:00
Kyle Machulis
afedc6926e Bug 1159469 - Add ForEach C++ public function for ES6 Maps/Sets; r=jorendorff 2015-06-29 15:38:52 -07:00
Kyle Machulis
bad47e2123 Bug 1159469 - Add public jsapi ES6 Set convenience functions; r=jorendorff 2015-06-29 15:38:52 -07:00
Kyle Machulis
d4823d0806 Bug 1159469 - Add public jsapi ES6 Map delete method; r=jorendorff 2015-06-29 15:38:52 -07:00
Sean Stangl
fa5c5b4fc2 Bug 1173969 - Add ARM64 Trampoline and MoveEmitter. r=jandem 2015-06-11 14:08:03 -07:00
Sean Stangl
608a596f62 Bug 1175556 - ARM64: Land miscellaneous changes. r=evilpie 2015-06-29 13:14:58 -07:00
Kyle Machulis
7d52139205 Bug 1171180 - Remove trunc from jsmath; r=jorendorff 2015-06-29 12:07:21 -07:00
Shu-yu Guo
0cfb540607 Bug 1176511 - Minor GC when tracking types as a better bandaid. (r=terrence) 2015-06-29 10:19:36 -07:00
Terrence Cole
bb4b0bd4a7 Bug 1174850 - Remove the explicitly relocatable store buffers; r=jonco 2015-06-16 16:03:11 -07:00
Jan de Mooij
fe2a7de9e1 Bug 1170182 - Remove dead functions from js/src. r=jorendorff 2015-06-27 08:56:58 -07:00
Andrew McCreight
e87cd47208 Bug 886459, part 4 - Remove nsIJSRuntimeService. r=bholley,aklotz 2015-06-26 18:44:14 -07:00
Andrew McCreight
9cb0cb2187 Bug 886459, part 3 - Remove simple uses of nsIJSRuntimeService to get the JSRuntime. r=bholley 2015-06-26 18:44:14 -07:00
Andrew McCreight
4b19c3ecd8 Bug 886459, part 2 - Remove context callbacks from XPCJSRuntime. r=bholley
These are unused.
2015-06-26 18:44:13 -07:00
Terrence Cole
50a6744124 Bug 1176890 - Start running jstests faster on windows; r=sfink 2015-06-25 15:10:00 -07:00
Marty Rosenberg
8dd820fafd Bug 988463 - Add in support for tracelogging on ARM. r=h4writer 2015-06-26 11:52:50 -07:00
Aleksandar Zlicic
f450b1c7e9 Bug 1165793 - Add executableCopy() back for MIPS. r=sstangl
IonAssemblerBuffer::executableCopy() was erroneously removed
in Bug 1163168.
2015-06-15 19:55:55 +02:00
Nicolas B. Pierron
4b97adcf39 Back out 3 changesets (Bug 1165348, Bug 1175397, Bug 1174322) for some website bustages. 2015-06-26 07:05:33 +02:00
Ryan VanderMeulen
55b2086097 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez
98461fc4a4 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-06-24 14:11:00 -04:00
Florian Merz
557d2b582a Bug 1155211 - SIMD: Rename lane mutators - with -> replaceLane. r=bbouvier 2015-06-16 23:10:12 +02:00
Wes Kocher
92395e08d0 Backed out changeset efe724729178 (bug 1175556) for mass build bustage in assembler code CLOSED TREE 2015-06-25 12:11:55 -07:00
Sean Stangl
f7a42b8864 Bug 1175556 - ARM64: Land miscellaneous changes. r=evilpie 2015-06-25 11:37:22 -07:00
Jan de Mooij
84d4290c02 Bug 1175466 - Allocate arguments objects in the nursery. r=terrence 2015-06-20 21:30:12 -07:00
Terrence Cole
55aaadc4a4 Backout ea281f1bffcb (Bug 1174319) for possibly regressing octane. 2015-06-24 16:28:01 -07:00
Terrence Cole
a204173485 Backout 9c891ea3949c (Bug 1174850) for possibly regressing octane. 2015-06-24 16:27:09 -07:00
Terrence Cole
85e78735cd Backout 6b847a10bbb1 (Bug 1175642) for being on top of a regression. 2015-06-24 16:25:12 -07:00
Terrence Cole
e792abf08c Backout e0e69237df5b (Bug 1174873) for causing intermittent failures. 2015-06-24 16:21:57 -07:00
Terrence Cole
c56708fa87 Backout 7959ffacd30f (Bug 1176090) for being on top of a regression. 2015-06-24 16:20:31 -07:00
Brian Hackett
2a7211db13 Bug 1175535 - Don't require objects embedded in MIR nodes to always be tenured, r=jandem. 2015-06-24 16:08:39 -07:00
Brian Hackett
0978a05809 Bug 1176075 - Add a missing check for nursery objects during Ion compilation, r=jandem. 2015-06-24 16:02:04 -07:00
Nicolas B. Pierron
c616a068ba Bug 1173764 - Disable JitSpew argument computation in optimizied builds. r=bhackett 2015-06-24 22:46:02 +02:00
Nicolas B. Pierron
2dd300679b Bug 1173764 - Enable LAllocation/LUse serialization in optimized builds. r=bhackett 2015-06-24 22:46:02 +02:00
Jason Orendorff
471f17bc60 Bug 1125624, part 3 - Remove js::StandardDefineProperty and js::DefineOwnProperty. r=Waldo. 2015-05-29 16:48:26 -05:00
Jason Orendorff
564c0d66d3 Bug 1125624, part 2 - Change js::StandardDefineProperty to forward to js::DefineProperty. r=Waldo. 2015-05-29 17:31:43 -05:00
Ryan VanderMeulen
2d58160517 Backed out changeset fe813debcd79 (bug 1172498) for crashes.
CLOSED TREE
2015-06-23 16:27:49 -04:00
Magnus Melin
edd4a116b5 Bug 1176749. nsIScriptError.idl should use nsStringGlue.h, not nsString.h. r=mrbkap 2015-06-23 20:31:17 +03:00
Eric Faust
3bc00abfc2 Bug 1172498 - Properly mark ion frame new.target values. (r=jandem) 2015-06-23 09:19:36 -07:00
Steve Singer
c80a081510 Bug 1176629 - Add visitRandom to the none backend. r=sstangl 2015-06-22 18:39:00 +02:00
Steve Singer
6f3d829d33 Bug 1176631 - Predeclare TempAllocator for non-ion platforms. r=nbp 2015-06-21 17:24:00 +02:00
Steve Singer
4cbb7d3bad Bug 1176633 - Add more Operand constructors to the none backend. r=nbp 2015-06-21 17:30:00 +02:00
Johannes Schulte
ab19894824 Bug 1153458 - Fix decompiler issue with DoCallNativeGetter. r=efaust 2015-04-11 02:17:28 +02:00
Shu-yu Guo
6711de39ce Bug 1171177 - Remove UNQUALIFIED_VAROBJ Shape flags in favor of Class-checking. (r=luke) 2015-06-21 11:49:58 -07:00
Shu-yu Guo
5eef55b69a Bug 1171177 - Remove VAROBJFIX. (r=luke) 2015-06-21 11:49:58 -07:00
Shu-yu Guo
9dbf9f0b72 Bug 1165486 - Debug function to dump static scope chain of scripts. (r=efaust) 2015-06-21 11:49:58 -07:00
Shu-yu Guo
8eb62a9c62 Bug 1165486 - Detect with scopes at parse time using the static scope chain for non-function scripts. Also cache static scope properties on SharedGlobalContext. (r=efaust) 2015-06-21 11:49:58 -07:00
Shu-yu Guo
a415429fcd Bug 1165486 - Use JS::CompileForNonSyntacticScope in Gecko where we used to set polluted global scope. (r=bz, rs=bholley) 2015-06-21 11:49:57 -07:00
Shu-yu Guo
6a0392b0d4 Bug 1165486 - Split JS::Compile into JS::Compile and JS::CompileForNonSyntacticScope. (r=luke) 2015-06-21 11:49:57 -07:00
Shu-yu Guo
fd1684ef23 Bug 1165486 - Replace the PlainObj varobj with NonSyntacticVariablesObject. (r=luke) 2015-06-21 11:49:57 -07:00
Shu-yu Guo
529d903a93 Bug 1165486 - Rebase yield offsets when cloning scripts. (r=jandem) 2015-06-21 11:49:57 -07:00
Shu-yu Guo
eefda67985 Bug 1165486 - Restructure function and script cloning in light of PollutingGlobal scope changes. (r=Waldo)
CloneFunctionObject is split into the following:

  - CloneFunctionAndScript, which deep clones the function and its
    script, giving the cloned script a new static scope chain. This is
    used for cloning singleton lambdas and JSAPI cloning. For singleton
    lambdas, the original and the clone script have the same static
    scope chain. For JSAPI cloning, a new static scope is provided
    (either null, for a clean global, or StaticPollutingGlobalObject,
    for a polluted global).

  - CloneFunctionReuseScript, which clones the function but reuses the
    script, and thus keeps the same static scope chain.

CloneScript is split into the following:

  - CloneGlobalScript, which clones a script with and gives it a new
    static scope.

  - CloneScriptIntoFunction, which clones a script into a JSFunction and
    gives it a new static scope. Cloning a script into a new function
    container requires slightly different logic to hook up the static
    scope chain before cloning inner scripts.
2015-06-21 11:49:57 -07:00
Shu-yu Guo
1aa1600b4e Bug 1165486 - Remove PollutedGlobalScopeOption in favor of using the static scope chain to detect non-syntactic scopes. (r=luke) 2015-06-21 11:49:57 -07:00
Shu-yu Guo
dcc1180f04 Bug 1165486 - Detect with scopes at parse time using the static scope chain instead of treating it as a polluted global. (r=luke) 2015-06-21 11:49:57 -07:00
Shu-yu Guo
f651091c2a Bug 1165486 - Add StaticNonSyntacticScopeObjects and teach scope iterators about it. (r=luke) 2015-06-21 11:49:57 -07:00
Shu-yu Guo
32ceb9d336 Bug 1165486 - Rename hasPollutedGlobalScope to hasNonSyntacticScope. (r=luke) 2015-06-21 11:49:57 -07:00
Shu-yu Guo
c137a94660 Bug 1165486 - Cleanup: use standard object allocation functions when allocating scope objects. (r=terrence) 2015-06-21 11:49:56 -07:00
Shu-yu Guo
b5d8533f3c Bug 1165486 - Cleanup: rename staticEvalScope to topStaticScope to prepare for the static top-level lexical scope. (r=luke) 2015-06-21 11:49:56 -07:00
Terrence Cole
8e8fb5c0c3 Bug 1176090 - Change all RelocatablePtr to HeapPtr and remove the |using|; r=jonco 2015-06-20 10:55:26 -07:00
Terrence Cole
708256b2b2 Bug 1174873 - Remove HeapPtr and rename RelocatablePtr to HeapPtr; r=jonco 2015-06-20 10:54:32 -07:00
Jan de Mooij
5432081362 Backout 67296c6ede81 (bug 1175466) on a CLOSED TREE. 2015-06-20 22:38:18 -07:00
Jan de Mooij
72145e5e1f Bug 1175466 - Allocate arguments objects in the nursery. r=terrence 2015-06-20 21:30:12 -07:00
Terrence Cole
3df2f8a546 Bug 1175642 - Fix the interface that RelocatablePtr uses to interact with the StoreBuffer; r=jonco 2015-06-18 10:23:49 -07:00
Terrence Cole
cf5ee62618 Bug 1052728 - Add telemetry to record GC phases that cause jank; r=sfink 2015-06-04 13:17:35 -07:00
Terrence Cole
1af26fda1a Bug 1176064 - Do processing of the jstest's skiplist inline; r=sfink 2015-06-20 10:14:22 -07:00
Terrence Cole
ab69b679b1 Bug 1176028 - Use the jstest's task generator directly; r=sfink 2015-06-18 11:42:21 -07:00
Terrence Cole
e819cb4842 Bug 1176004 - Make jstest's unix task runner a generator; r=sfink 2015-06-17 13:57:02 -07:00
Terrence Cole
692860a287 Bug 1175636 - Do not spawn a watchdog for each test on Windows; r=sfink 2015-06-17 11:54:35 -07:00
Brian Hackett
1cf9a53df0 Bug 1175761 - Avoid using types in the nursery during optimization tracking, r=shu. 2015-06-20 09:13:23 -07:00
Ms2ger
d287437ca1 Bug 1175513 - Improve code style in nsXPCWrappedJSClass::CleanupOutparams; r=bholley 2015-06-20 09:16:51 +02:00
Ms2ger
9343b89dde Bug 1175513 - Factor out nsXPCWrappedJSClass::CleanupOutparams; r=bholley 2015-06-20 09:16:51 +02:00
Ms2ger
a396dd5a7a Bug 1175513 - Make some private nsXPCWrappedJSClass const or static; r=bholley 2015-06-20 09:16:51 +02:00
Bill McCloskey
9de6fdd63f Bug 1143006 - Show warning for http-on-* in child process (r=mrbkap) 2015-06-19 17:35:06 -07:00
Jeff Walden
d6cc8a3b56 Bug 1146136 - Parenthesized "destructuring patterns" shouldn't actually be destructuring patterns. r=efaust, a=KWierso 2015-06-16 23:53:04 -07:00
Ryan VanderMeulen
634b137092 Backed out 13 changesets (bug 1165486) for ASAN jsreftest crashes.
Backed out changeset 24966b67d232 (bug 1165486)
Backed out changeset 4a65eeea4d9a (bug 1165486)
Backed out changeset c5301aa7a2ae (bug 1165486)
Backed out changeset fea908d8a836 (bug 1165486)
Backed out changeset ca9561cbcd29 (bug 1165486)
Backed out changeset 91a3217d4cd0 (bug 1165486)
Backed out changeset e74163801eef (bug 1165486)
Backed out changeset ec5df87d2ee5 (bug 1165486)
Backed out changeset 17d21020a786 (bug 1165486)
Backed out changeset 6318eba2d3fe (bug 1165486)
Backed out changeset a103caa36183 (bug 1165486)
Backed out changeset 18c025c16bed (bug 1165486)
Backed out changeset b32fcdc115b6 (bug 1165486)

CLOSED TREE
2015-06-19 10:56:48 -04:00
Ryan VanderMeulen
e7cec7ce80 Backed out changesets b41a69e1b81c and 04f4fec38c9d (bug 1171177) for ASAN jsreftest crashes. 2015-06-19 10:56:01 -04:00