Commit Graph

51936 Commits

Author SHA1 Message Date
Boris Zbarsky
fb747879e0 Bug 1224007 part 3. Push down WouldReportJSException into MaybeSetPendingException, since anyone calling the latter will propagate the JS exception as needed. r=peterv 2015-11-20 16:29:41 -05:00
Boris Zbarsky
c19412a7ac Bug 1224007 part 1. Rename ThrowMethodFailed to MaybeSetPendingException and make it an ErrorResult instance method. r=peterv 2015-11-20 16:29:40 -05:00
Jeff Walden
03a1ee233b Bug 1220693 - Put the needs-update status of the ICU default time zone behind a spinlock, as the simplest/stupidest possible thing that works. r=sfink
--HG--
extra : rebase_source : 33e4dad372c155ffdc9bd9fd8c1cf26d82f848e3
2015-11-19 14:30:37 -08:00
Nick Fitzgerald
11e1dd10a1 Bug 1226176 - Compute retained sizes in dominator trees and expose them to JavaScript; r=bz,sfink 2015-11-20 09:08:15 -08:00
Jesper Kristensen
ba4bee60ea Bug 1094057 - Violations of "use strict"; should generate errors, not warnings, r=jorendorff
Make the use of JSREPORT_STRICT consistent across all places where it is used.
I.e. never add JSREPORT_STRICT when reporting JSREPORT_ERROR in strict mode,
but only when reporting JSREPORT_WARNING in non-strict mode.
This happens to make the errors appear as errors instead of warnings in the console.

--HG--
extra : commitid : J0bmt40WGxH
extra : rebase_source : cf7f65d1aa4ca9f355204c5744898113e6f50a68
2015-11-10 18:18:25 +01:00
Jonathan Kew
de00809b72 Bug 1210165 - Update test Intl/DateTimeFormat/format.js to expect 24-hour time in Arabic/Morocco locale. rs=waldo 2015-11-20 11:38:15 +00:00
Jonathan Kew
08e1f4fc03 Bug 1210165 - Update normalization test data for ICU 56 (Unicode 8.0) release. rs=waldo 2015-11-20 11:38:15 +00:00
Benjamin Bouvier
ec06fb2c9c Bug 1225605: Make the dependency between SimdTypeDescr::Type and the SimdTypes/SimdLanes arrays clearer; r=jolesen
--HG--
extra : rebase_source : 151400fbeb32dceb47914e645b6d36df435af3bb
2015-11-17 21:40:02 +01:00
Benjamin Bouvier
f31a605002 Bug 1225605: Remove non standard SIMD.Int{32x4,16x8,8x16}.bool; r=jolesen
--HG--
extra : rebase_source : 4a6aceabf70bfcab77c0d7e9ec6a768dec18e935
2015-11-17 21:09:21 +01:00
Benjamin Bouvier
21140fe66b Bug 1225605: Rename SIMD descriptors toType -> Cast, setReturn -> ToValue, and remove one-argument toType; r=jolesen
--HG--
extra : rebase_source : 1f4be8d5c01586224152025cd8ca45b23363682c
2015-11-17 20:51:23 +01:00
Lars T Hansen
0db882cb7b Bug 1226277 - fix MSVC warning with a cast. r=bbouvier
--HG--
extra : amend_source : ca81e5183943fc92e6c82f35ab67e5c45142c587
2015-11-20 06:20:29 +01:00
Wei Wu
d7cec4a561 Bug 1224810 - "TraceLogger: Add the script information for the event created by BytecodeCompiler". r=hv1989
--HG--
extra : rebase_source : 2dd0433495c62e53763c01ecbcb75a00382d1dfd
2015-11-14 03:43:00 +01:00
Wei Wu
63d4dd88d0 Bug 1224809 - "TraceLogger: Document what are enabled in 'TLLOG=Default' and 'TLLOG=IonCompiler'". r=hv1989
--HG--
extra : rebase_source : e5656fcfe4163296005788bde9b3e9f11584508c
2015-11-18 22:17:00 +01:00
Phil Ringnalda
d005086d1a Backed out 20 changesets (bug 1055472) for Linux64 cgc failures and an apparent crash in the cpp test test_audio on OS X 10.6 debug
CLOSED TREE

Backed out changeset edd1c18b5a5b (bug 1055472)
Backed out changeset 41be086be0e8 (bug 1055472)
Backed out changeset 6ed32cadfc31 (bug 1055472)
Backed out changeset 2f0b0b246e25 (bug 1055472)
Backed out changeset 33d5c8ef947c (bug 1055472)
Backed out changeset 74dca890ec34 (bug 1055472)
Backed out changeset b4a4144b96fa (bug 1055472)
Backed out changeset 9dd0b1fff545 (bug 1055472)
Backed out changeset 31c41d6a16ab (bug 1055472)
Backed out changeset bf8f9604c34f (bug 1055472)
Backed out changeset 69bf1faa9d85 (bug 1055472)
Backed out changeset 284934443cd3 (bug 1055472)
Backed out changeset 65d962413c98 (bug 1055472)
Backed out changeset 94135702e1b5 (bug 1055472)
Backed out changeset 1509efcfa629 (bug 1055472)
Backed out changeset c7180ea9dfa4 (bug 1055472)
Backed out changeset a47a3ce6f35e (bug 1055472)
Backed out changeset 9b4f7a838a66 (bug 1055472)
Backed out changeset e5f593ea362c (bug 1055472)
Backed out changeset 8ec3005245c1 (bug 1055472)
2015-11-19 20:01:07 -08:00
Terrence Cole
2508e5037b No Bug - Remove two unused, orphan variables; r=sfink 2015-11-19 13:55:16 -08:00
Terrence Cole
feac54f0ce No Bug - Fix accumulated unified build bustage in the JS shell; r=sfink
--HG--
extra : rebase_source : d320816b8eb06ccf1baa93ec24c08539710dac8a
2015-11-19 13:54:29 -08:00
Eric Faust
5e8a66a98f Bug 1055472 - Part 18: Incorportate arai's test into the subclassing suite. (r=me) 2015-11-18 14:11:14 -08:00
Eric Faust
1807fe701b Bug 1055472 - Part 17: Make the Array constructor properly subclassable. (r=jorendorff, r=bhackett, r=terrence) 2015-11-13 18:22:22 -08:00
Eric Faust
9291922bb6 Bug 1055472 - Part 16: Make the String constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:22 -08:00
Eric Faust
a51a534d0e Bug 1055472 - Part 15: Make the DataView constructor properly subclassable. (r=jorendorff, r=bhackett) 2015-11-13 18:22:22 -08:00
Eric Faust
98f1fa22e2 Bug 1055472 - Part 14: Make the various TypedArray constructors properly subclassable. (r=Waldo, r=bhackett) 2015-11-13 18:22:22 -08:00
Eric Faust
3f478a674a Bug 1055472 - Part 13: Make the ArrayBuffer constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:22 -08:00
Eric Faust
d830569df2 Bug 1055472 - Part 12: Mae the WeakSet constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
89fb3dc021 Bug 1055472 - Part 11: Make the WeakMap constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
5745b31e40 Bug 1055472 - Part 10: Make the Set constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
7b1dd4f0df Bug 1055472 - Part 9: Make the Map constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
4ad1d16184 Bug 1055472 - Part 8: Make the RegExp constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
ea15c14015 Bug 1055472 - Part 8 prelim: Rename InitializeRegExp to RegExpObject::initFromAtom for readability. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
1c5fef9878 Bug 1055472 - Part 7: Make the Date constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
0d2df5920e Bug 1055472 - Part 6: Make the Number constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
3b4c151bcd Bug 1055472 - Part 5: Make the various Error constructors properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
28c1a0129d Bug 1055472 - Part 4: Make the Boolean constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
101dfdd010 Bug 1055472 - Part 3: Make the Object constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
f539b0620b Bug 1055472 - Part 2b: Make Function.prototype.bind play nicely with subclassed functions. (r=Waldo, shoutouts for good flyby by evilpie) 2015-11-13 18:22:21 -08:00
Eric Faust
80c1541a10 Bug 1055472 - Part 2: Make the Function constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
f506cb5501 Bug 1055472 - Part 1: Factor out GetPrototypeFromConstructor and use it in existing object creation paths. (r=Waldo) 2015-11-13 18:22:21 -08:00
Shu-yu Guo
1e82f57762 Bug 1224418 - Functions directly scoped under non-syntactic scopes should be considered cloneable. (r=billm) 2015-11-19 13:42:22 -08:00
Till Schneidereit
92b3a32812 Bug 1226241 - Use a #define instead of a magic number for self-hosted function name accesses. r=jandem
--HG--
extra : rebase_source : c42ee741f6fe5bb9c645e98fe213d28e8062ca20
2015-11-19 22:25:21 +01:00
Till Schneidereit
b8c9b934b6 Bug 1226235 - Print file and line info for failing assert in self-hosted code. r=efaust
--HG--
extra : rebase_source : df8651054c16b5ada46e4263d598e055ddc56a5c
2015-11-19 22:25:20 +01:00
Sean Stangl
8380f9330a Bug 1222640 - Fix truncated Simulator return values. r=jandem 2015-11-06 15:50:13 -08:00
Jakob Stoklund Olesen
fb81a891ff Bug 1225908 - AsmSimdTypeToLaneType. r=bbouvier
Rename AsmSimdTypeToScalarType to AsmSimdTypeToLaneType, hoping that the new
name will be clearer.
2015-11-19 10:37:19 -08:00
Jakob Stoklund Olesen
12062418b8 Bug 1225908 - SimdTypeToArrayElementType. r=bbouvier
This function returns the typed array element type that corresponds to the
lanes in a SIMD vector type. It is used to handle SIMD loads and stores from a
typed array.
2015-11-19 10:37:18 -08:00
Jakob Stoklund Olesen
a687ecc81e Bug 1225908 - SimdTypeToLaneType. r=bbouvier
Rename the function SimdTypeToScalarType to SimdTypeToLaneType. Since we also
have Scalar::Type, it is best to use the term 'lane' to refer to the parts of a
vector.
2015-11-19 10:37:18 -08:00
Hannes Verschore
a10da1c585 Bug 1223636: Tracelogger - Don't treat extraTextId as containing only extra ids, r=bbouvier 2015-11-19 18:49:16 +01:00
Steve Fink
696fbb25f1 Bug 1225298 - Use GC policy mechanism for sweeping hashtable-based collections. r=terrence
--HG--
rename : js/public/TraceableHashTable.h => js/public/GCHashTable.h
extra : rebase_source : b3451b355680e384bc7803a30c585fcc457c20c7
extra : amend_source : 441813b8991c13abad251d95b4f2c9867312c39e
2015-11-17 11:33:15 -08:00
Nick Fitzgerald
caf9b0fa0e Bug 1226024 - Expose the root of the dominator tree to JavaScript; r=bz,sfink 2015-11-19 08:10:13 -08:00
Nick Fitzgerald
fb0a5049fc Bug 1225941 - Add a method for getting the set of nodes immediately dominated by another node; r=sfink
This commit adds the `JS::ubi::DominatorTree::getDominatedSet` method. It
returns a range that can be used to safely iterate over all the nodes
immediately dominated by the node used to get the range. The dominated sets are
eagerly computed when creating a `JS::ubi::DominatorTree` and stored in one big
contiguous array, with a side-table that keeps track of the start indices of
each individual dominated set within that contiguous array.
2015-11-19 08:10:13 -08:00
Jan de Mooij
8bfe2fe03a Bug 1219883 - Fix Ion typed array stub to handle constant string index. r=efaust 2015-11-19 16:11:27 +01:00
Wei Wu
0f85b02fbb Bug 1224814 - "TraceLogger: Remove redundant checks in BaselineJIT". r=hv1989 2015-11-15 19:44:00 +01:00
Wei Wu
889cf73857 Bug 1224123 - "Tracelogger: fix the use of LastEntryId in tracelogger.h". r=hv1989 2015-11-18 01:36:00 +01:00