Commit Graph

33718 Commits

Author SHA1 Message Date
Benjamin Peterson
27026e76b6 Bug 1022396 - Remove Number.toInteger. r=jorendorff
--HG--
extra : rebase_source : b9083a824d6a436f7da4c9e158cb78b4ba81fb8c
2014-06-09 10:48:26 -07:00
Jeff Walden
9033d8f3b7 Bug 1022784 - Make all users of AutoGCRooter depend upon its definition, not upon forward declarations of it. r=terrence 2014-06-09 10:35:59 -07:00
Jeff Walden
5755017139 Bug 1021001 - Remove AutoCheckCannotGC from NamespaceImports.h, and require users to use the sole definition in GCAPI.h. r=terrence 2014-06-09 09:44:30 -07:00
Sushant Dinesh
f2aaafe276 Bug 1003726 - Uses (w)memchar where possible in StringMatcher, r=h4writer 2014-06-08 14:15:12 +02:00
Jon Coppeard
521b24a4d6 Bug 1021114 - Remove GCMethods::kind() in favour or RootKind::rootKind() r=terrence 2014-06-07 10:34:57 +01:00
Jon Coppeard
f0d27d5981 Bug 988486 - Make more GCRuntime members private and add necessary accessors r=terrence 2014-06-07 10:34:57 +01:00
Jon Coppeard
8ff7552dc8 Bug 988486 - Move scriptAndCountsVector from GCRuntime to JSRuntime r=terrence 2014-06-07 10:34:56 +01:00
Ehsan Akhgari
78a7d47553 Bug 1021378 - Add support for clang-cl to the build system; r=glandium
This patch does two things: 1. Treat clang on Windows explicitly as MSVC. There
are some places in our build system where we try to detect clang by looking at
the output of $(CC) -v, and that will cause us to believe that we are using
clang, which is not helpful.  This patch defines the CLANG_CL variable when it
detects clang being used on Windows.  It also masquarades clang-cl as MSVC
2012, which is how the compiler introduces itself through the _MSC_VER
predefined variable.

2. Disable a bunch of things which currently are not supported on clang-cl.  As
we proceed with this port, hopefully we'll be able to remove everything in this
list, but this will get us closer to be able to build with clang-cl.

With this patch and clang-cl trunk, we can get past the configure stage of the
build.

--HG--
extra : rebase_source : e5b8d77e4571c936820cec858953d58b6f31e0d5
2014-06-07 10:27:43 -04:00
Sankha Narayan Guria
10f9efbc11 Bug 1011541 - Implement Div Recover instruction. r=nbp 2014-06-06 17:32:15 +02:00
Sankha Narayan Guria
daf65461ef Bug 1011540 - Implement Mul Recover Instruction. r=nbp 2014-06-06 17:29:45 +02:00
Ryan VanderMeulen
559d06da25 Backed out 3 changesets (bug 1021114, bug 988486) for GC crashes on a CLOSED TREE.
Backed out changeset f56234ba7ec7 (bug 1021114)
Backed out changeset 14a4a9062253 (bug 988486)
Backed out changeset 03eccac81e15 (bug 988486)
2014-06-07 00:03:17 -04:00
Jan de Mooij
b5b6eca182 Bug 1020869 - Make IdToTypeId, StringIsArrayIndex etc work with Latin1 strings. r=bhackett 2014-06-07 14:59:52 +02:00
Jan de Mooij
b250d82d68 Bug 1021209 - Make QuoteString support Latin1 strings. r=bhackett 2014-06-07 14:59:50 +02:00
Nicholas D. Matsakis
193eb946d8 Bug 973238 Part 9 -- Move kind to type namespace, insert some const qualifiers r=sfink 2014-03-26 20:16:00 -04:00
Nicholas D. Matsakis
0375aa5feb Bug 973238 Part 8 -- Remove dead code (FillTypedArrayWithValue) r=sfink 2014-03-26 14:33:55 -04:00
Nicholas D. Matsakis
1b3ef227e5 Bug 973238 Part 7 -- Remove type object addendum; leave the addendum mechanism in place r=bhackett 2014-03-11 13:44:58 -04:00
Nicholas D. Matsakis
249085a487 Bug 973238 Part 6 -- Consult prototype rather than typed object addendum r=bhackett 2014-03-11 13:23:24 -04:00
Nicholas D. Matsakis
895ebfd593 Bug 973238 Part 5 -- Remove private field from StructTypeDescr, which is unused r=sfink 2014-04-01 22:46:04 -04:00
Nicholas D. Matsakis
28ea1a85ad Bug 973238 Part 4 -- Use prototype rather than reserved slot to uncover descriptor r=jandem 2014-03-11 12:50:32 -04:00
Jon Coppeard
744336b199 Bug 1021114 - Remove GCMethods::kind() in favour or RootKind::rootKind() r=terrence 2014-06-07 10:34:57 +01:00
Jon Coppeard
388b62b349 Bug 988486 - Make more GCRuntime members private and add necessary accessors r=terrence 2014-06-07 10:34:57 +01:00
Jon Coppeard
fbfa681d98 Bug 988486 - Move scriptAndCountsVector from GCRuntime to JSRuntime r=terrence 2014-06-07 10:34:56 +01:00
Mauricio Collares Neto
611accfc03 Bug 998704 - Test coverage for integer div and mod. r=sunfish 2014-06-06 15:59:17 -07:00
Dan Gohman
a625bd4260 Bug 1020517 - OdinMonkey: Loosen the munmap assert to ignore ENOMEM r=luke 2014-06-06 15:59:17 -07:00
Dan Gohman
53ca33e10a Bug 1020468 - IonMonkey: More debugging output. r=bhackett 2014-06-06 15:59:17 -07:00
Jim Chen
3b5c74e922 Bug 1013326 - Move script principals APIs to jsfriendapi; r=luke 2014-06-06 18:39:40 -04:00
Jim Chen
62bcd287ce Bug 1013326 - Change js::RunScript to a JS pseudostack entry; r=djvj 2014-06-06 18:39:39 -04:00
Bobby Holley
a652a1bba2 Bug 1021312 - Followup to fix incorrect test. r=me on a CLOSED TREE 2014-06-06 13:49:38 -07:00
Wes Kocher
0ea1bf7eb5 Backed out 2 changesets (bug 1021312, bug 1020460) for apparently causing jsreftest orange on a CLOSED TREE
Backed out changeset eca7bdeb0c6e (bug 1020460)
Backed out changeset 965578443062 (bug 1021312)
2014-06-06 15:00:10 -07:00
Vincent St-Amour
a31434de74 Bug 1014290 - Remove unreachable case in setprop MIR building. (r=efaust) 2014-06-06 14:16:23 -07:00
Bobby Holley
a0f8826cb9 Bug 1020460 - Array.prototype.toSource should be generic. r=jorendorff 2014-06-06 13:49:38 -07:00
Bobby Holley
518f1c8a2b Bug 1021312 - Followup to fix incorrect test. r=me 2014-06-06 13:49:38 -07:00
Luke Wagner
1dc2f20bd4 Bug 1021229 - hoist enoughMemory_ into AssemblerShared (r=jandem)
--HG--
extra : rebase_source : 2f04773c01e3bf3850cede67243a3508349ed38a
2014-06-06 15:45:04 -05:00
Trevor Saunders
d40aea2c07 bug 1021171 - don't return nulllptr in functions returning bool r=bz,waldo 2014-06-06 15:31:30 -04:00
Jason Orendorff
e3c62c6bb9 Bug 904723, part 4 - In Array.from, only fetch the @@iterator property once. r=till. DONTBUILD. 2014-06-06 14:13:16 -04:00
William Golden ext:(%2C%20Jason%20Orendorff%20%3Cjorendorff%40mozilla.com%3E)
ac1619bf5e Bug 904723, part 3 - Implement Array.from. r=till. Thanks also to André Bargull for his very close review of this code. 2014-06-06 14:13:13 -04:00
Jason Orendorff
a244c38c00 Backout rev b221cb63e559 to re-land with proper credit. Bug 904723, no_r=me. 2014-06-06 14:02:00 -04:00
Jason Orendorff
978fba0922 Backout rev 0c9ff69d4263 to re-land with proper credit. Bug 904723, no_r=me. 2014-06-06 13:59:46 -04:00
Luke Wagner
aff06146d3 Bug 1021251 - OdinMonkey: simplify AsmJSFrameIter a bit (r=bbouvier)
--HG--
extra : rebase_source : 0ee29c3ace29a1f93d3fc56d0ec07b44108ee995
2014-06-06 12:37:09 -05:00
Jim Chen
97cad3c08e Bug 1021277 - Use copy flag for JIT pseudostack frames; r=djvj 2014-06-06 12:12:43 -04:00
Dan Gohman
f696ac037c Bug 733353 - IonMonkey: Queueless, worklistless LICM r=jandem 2014-06-06 08:21:49 -07:00
Dan Gohman
e4faa9e7c2 Bug 733353 - IonMonkey: Factor out and optimize loop marking and unmarking. r=jandem 2014-06-06 08:21:49 -07:00
Dan Gohman
7fb5b20e0b Bug 733353 - IonMonkey: Don't allocate new instruction IDs when moving existing instructions. r=jandem 2014-06-06 08:21:48 -07:00
Dan Gohman
f769c20789 Bug 844779 - IonMonkey: Make loops contiguous. r=h4writer 2014-06-06 08:21:48 -07:00
Dan Gohman
8c2c420224 Bug 1020474 - IonMonkey: Pass CodePosition by value r=jandem 2014-06-06 08:21:48 -07:00
Hannes Verschore
1351054365 Bug 844779 - Part 1: Remove inline function tracking in ionmonkey, r=djvj 2014-06-02 23:28:44 +02:00
Jason Orendorff
f16da11307 Bug 904723, part 4 - In Array.from, only fetch the @@iterator property once. r=till. 2014-06-06 11:15:22 -04:00
Jason Orendorff
ecc114204a Bug 904723, part 3 - Implement Array.from. r=till. 2014-06-06 11:15:22 -04:00
Jason Orendorff
8114af1ff0 Bug 904723, part 2 - Changes to _DefineDataProperty semantics. r=till.
Rename the _DefineValueProperty intrinsic to _DefineDataProperty and change
it to call js::DefineProperty rather than JSObject::defineProperty. The
difference is that the former is ES5-compliant in terms of interactions with
already-existing properties and the latter is not.  The new behavior is safe
to expose via Array.from as a capability anyone can use to define any element
on any object (it's just what Object.defineProperty already does).
2014-06-06 11:15:21 -04:00
Jason Orendorff
5cfc6174a8 Bug 904723, part 1 - Add new IsConstructor intrinsic for self-hosting. r=till.
This also renames js_IsCallable to js::IsCallable and does some related light
cleaning work.
2014-06-06 11:15:21 -04:00