Wes Kocher
0439338087
Backed out changeset 7111837e42b9 (bug 1236801) for SM wError bustage
...
--HG--
extra : commitid : EZ9x68Sn1qG
2016-01-12 16:55:12 -08:00
Jim Blandy
637fbf70ae
Bug 1236801: Don't check for simulated OOM in a way that invalidates AddPtrs for no discernable reason. r=jonco
...
--HG--
extra : rebase_source : 12fd6cb6969733355581d7cd28876a7b46097c45
extra : amend_source : 04430312d8175c746139a85b0f8062b408c82192
2016-01-08 10:01:53 -08:00
Morgan Phillips
9d7d84e17e
Bug 1101256 - Implement detachment checks for %TypedArray% methods (patch 1 of 2); r=Waldo
...
--HG--
extra : rebase_source : d8bb734b1bad1d759f33aa5233b23542c1d6931d
2016-01-12 17:37:33 -06:00
Tooru Fujisawa
ccf2b03b7e
Bug 1238417 - Part 7: Add comment for OutOfLineRegExpMatcher and OutOfLineRegExpTester. r=nbp
2016-01-13 08:27:25 +09:00
Tooru Fujisawa
e39bea7d24
Bug 1238417 - Part 6: Make RegExpMatcher and RegExpTester movable. r=h4writer
2016-01-13 08:27:25 +09:00
Tooru Fujisawa
d65ffc4a7b
Bug 1238417 - Part 5: Add RegExpMatcher to MustCloneRegExp optimization. r=h4writer
2016-01-13 08:27:25 +09:00
Tooru Fujisawa
780a96693c
Bug 1238417 - Part 4: Enable recover instruction for RegExpMatcher and RegExpTester. r=h4writer
2016-01-13 08:27:25 +09:00
Tooru Fujisawa
637839d9fd
Bug 1238417 - Part 2: Fix argument count of RegExpMatcher and RegExpTester. r=till
2016-01-13 08:26:58 +09:00
Tooru Fujisawa
6381da0bd0
Bug 1238417 - Part 1: Fix wrong rebase for _SetCanonicalName call on RegExpToString. r=till
2016-01-13 08:26:52 +09:00
Terrence Cole
3a07971436
Bug 1238786 - Part 2: We no longer need to null check before using trace APIs; r=smaug
...
--HG--
extra : rebase_source : 5fdbdaa7be739afd93294b729d878ed33c55b5ce
2016-01-12 13:07:54 -08:00
Terrence Cole
738245d262
Bug 1238786 - Part 1: Allow null pointers in public tracing APIs; r=sfink
...
--HG--
extra : rebase_source : aaa025bffb09758f886450b8a6a9372a65fa6db7
2016-01-12 13:07:53 -08:00
Terrence Cole
ad1390dcf3
Bug 1239099 - Finish ongoing GCs instead of segueing into another one; r=jonco
...
--HG--
extra : rebase_source : 6864fc2cf5dad37216107de94f9b5cb81a73705e
2016-01-12 13:07:54 -08:00
Till Schneidereit
970f4884e0
Bug 1226762 - Add support for getting original builtin constructors and prototypes in self-hosted code. r=efaust,f=arai
2016-01-13 15:00:49 +01:00
Tooru Fujisawa
5511b285f6
Bug 1235092 - Part 3: Root function in BytecodeEmitter::isRestParameter. r=bustage
...
--HG--
extra : amend_source : be80d7bb64069bd914b1b989e1bd2930aac884aa
2016-01-13 21:58:47 +09:00
Lars T Hansen
05ef2926fd
Bug 1231337 - part 1, hook SAB+Atomics runtime enablement into xpconnect. r=mrbkap
...
--HG--
extra : rebase_source : bf784389bbf81ae80ba31364092744f45475ec0e
extra : histedit_source : f3e7b35038b6364e1129978ee3fbeb166c3df8e7
2016-01-04 14:54:16 +01:00
Lars T Hansen
980e62cf49
Bug 1231335 - part 4, js shell. r=waldo
...
--HG--
extra : rebase_source : 4f2837f08712bf875e3c68df3e2ad188c088ac2f
extra : histedit_source : 9d4c88562e3c618987175bba8426e300c5623c7f
2016-01-13 12:46:20 +01:00
Lars T Hansen
f10fd98e2f
Bug 1231335 - part 3, testing functions and test cases. r=waldo
...
--HG--
extra : rebase_source : 644ccad443777e83de3aa00a62abb88cb11f8b04
2016-01-04 15:05:28 +01:00
Lars T Hansen
a0f94492df
Bug 1231335 - part 2, asm.js runtime SAB+Atomics gating. r=luke
...
--HG--
extra : rebase_source : 63bc2da5344f2356b4d91adba757b5cea69d4185
2016-01-11 09:18:16 +01:00
Lars T Hansen
3e7ad2cafb
Bug 1231335 - part 1, runtime switch for SAB+Atomics. r=waldo
...
--HG--
extra : rebase_source : 8719a765adefe14c5dc9e5d9042d9119261b1b09
2016-01-05 17:25:29 +01:00
Jan de Mooij
cd5f228e7f
Bug 1237230 - Fix ctypes MOZ_WARN_UNUSED_RESULT warnings for Vector methods. r=jorendorff
2016-01-13 11:17:21 +01:00
Jan de Mooij
252d53d363
Bug 1228327 - Fix bogus assert in GenerateDenseElementHole, add some comments. r=bhackett
2016-01-13 11:15:15 +01:00
Tooru Fujisawa
aa8ae3c1b4
Bug 1238630 - Fix unicode surrogate pair handling in RegExp. r=h4writer
2016-01-13 18:21:39 +09:00
Tooru Fujisawa
5fed059d55
Bug 1235092 - Part 2: Support allowContentSpread in the optimization for spread call with rest parameter. r=efaust
2016-01-13 18:21:39 +09:00
Tooru Fujisawa
84d183087f
Bug 1235092 - Part 1: Optimize spread call with rest parameter. r=efaust
2016-01-01 14:15:41 +09:00
Terrence Cole
cadd5c5f26
Bug 1238779 - Remove the unused and nonsensical JS_TraceRuntime; r=fitzgen
2016-01-12 13:07:54 -08:00
Steve Fink
d9daaddb81
Bug 837969 - Add a crash() builtin to the shell, r=terrence
...
--HG--
extra : commitid : Hb4iU9G7SfN
extra : rebase_source : c44a55ab51c046d258d5532f6b18487a9ed838cc
extra : amend_source : 974fd86b0d558155e855963673cdb7fbfd6f8c7b
extra : histedit_source : 69b0c8ffde2ffbb73fbad7beb962394d9f52243b
2015-12-23 16:16:17 -08:00
Morgan Phillips
eac087b706
Bug 1187232 - Access TypedArray's [[ArrayLength]] instead of performing property access; r=Waldo
...
--HG--
extra : rebase_source : 59acb60c0fc0ddfce3c81d3f2e93f7b94139046b
2016-01-12 14:21:51 -06:00
Till Schneidereit
241c9dbf7c
Bug 1101817 - Part 6: Remove Weak{Map,Set}.prototype.clear. r=evilpie
...
--HG--
extra : rebase_source : 6cbd10e249d75e71ed7b771707f293b133a0c1ad
2016-01-12 20:04:11 +01:00
Jan de Mooij
4c87c378bb
Bug 1237564 - Fix minor bug with a lexical declaration shadowing a non-configurable global. r=shu
...
--HG--
extra : rebase_source : d8c67ef94022fb06870f18e605c841f3447105f2
2016-01-12 19:23:26 +01:00
Jan de Mooij
8c665083ad
Bug 1234845 part 1 - Remove fun() method from frames and remove some dead code. r=luke
...
--HG--
extra : rebase_source : c513ee1233f99f3675148a15fc2460efc75db3ee
2016-01-12 19:20:49 +01:00
Till Schneidereit
ede112d6b3
Bug 1000780 - Part 7: Fix perf regressions introduced in part 1. r=jandem
...
--HG--
extra : rebase_source : 2c7e365993669ab9e3d9af65d56262d8ea885f6f
2016-01-12 18:28:09 +01:00
Lars T Hansen
57825a6a22
Bug 1225031 - get rid of the AnyTypedArray abstraction (updated). r=waldo
...
--HG--
extra : rebase_source : 755ccbede897d145c106951214033a392154a1ca
2016-01-12 14:47:51 +01:00
Till Schneidereit
0320ba5a7a
Bug 1000780 - Part 6: Fix nit in jsfun.h. r=jandem
2016-01-12 15:19:17 +01:00
Till Schneidereit
1a6dfabe3f
Bug 1000780 - Part 5: Self-host Function.prototype.bind. r=jandem
...
--HG--
extra : rebase_source : 52301e2d50a038040c5d86e8b7b052acd71a9660
2014-12-07 23:39:23 +01:00
Till Schneidereit
851c8ab557
Bug 1000780 - Part 4: Remove Function#bind usage from async stack tests. r=fitzgen
...
--HG--
extra : rebase_source : a90fbe808c3dda27329707bfbd1c1ef92efc14f2
2016-01-09 13:21:48 +01:00
Eric Faust
63b496e60c
Bug 1000780 - Part 3: Free up JSFunction flag. r=jwalden+bmo
...
--HG--
extra : rebase_source : ecf12ff40a6018651e350819121b5204698e82ff
2015-12-28 13:29:00 +01:00
Till Schneidereit
048ed8ebd9
Bug 1000780 - Part 2: Emit JSOP_FUNAPPLY when using std_Function_apply in self-hosted code. r=jandem
...
--HG--
extra : rebase_source : 6c3ff1af2f14dfe59e1e372a3079c2ce423e460b
2016-01-08 18:22:54 +01:00
Till Schneidereit
0772e38cdb
Bug 1000780 - Part 1: Bake in already-cloned intrinsic functions even if the callsite doesn't have type information. r=jandem
...
This means that self-hosted code can ensure that even codepaths that might not yet have been excercised have baked-in intrinsics by ensuring that the intrinsic has been cloned into the current compartment.
--HG--
extra : rebase_source : 192a9f2ce2f71fba241dd0c9e6386f877ac47fbe
2016-01-08 18:21:32 +01:00
Carsten "Tomcat" Book
67dcf80863
Backed out changeset 7bda46f81215 (bug 1225031) for spidermonkey test failures
2016-01-12 14:25:48 +01:00
Lars T Hansen
58dec5260f
Bug 1225031 - get rid of the AnyTypedArray abstraction. r=waldo
...
--HG--
extra : rebase_source : 1c8dd084d3d65be53fa3ce33fbe59836087134c8
extra : amend_source : 2a66cd886a9b933e15865d9ba98910c299b2a917
2015-12-05 16:33:08 +01:00
Nicolas B. Pierron
3b2e8b20c7
Bug 1234428 - findPath wrap cross-compartment objects. r=jonco
2016-01-12 11:23:49 +00:00
Benjamin Bouvier
17b127c966
Bug 1229399: Make {Get,Set}{Loc,Glo} opcodes type-independent; r=luke
...
--HG--
extra : commitid : A6RJy6SJp0Q
extra : rebase_source : 37050854ab5f9ec2db39483b90478f1400efe2ba
2016-01-08 15:39:10 +01:00
Benjamin Bouvier
1e4108d6ec
Bug 1229399: Group all IR's enums into a single one; r=luke
...
--HG--
extra : commitid : 7JRmnRSb2CE
extra : rebase_source : 25da0893a4dd499484adfc7ad77b4614e6a5d5f0
2016-01-08 15:22:20 +01:00
Eric Faust
3b11121a36
Bug 1236548 - Followup: Make added test actually pass. (rs=Waldo)
2016-01-11 18:09:25 -08:00
Eric Faust
5650d4dc80
Bug 1236548 - Allow JS_UNINITIALIZED_LEXICAL in jit::InvokeFunction. (r=Waldo)
2016-01-11 16:58:07 -08:00
Terrence Cole
b8876546d0
Bug 1238711 - Rename TraceableVector to GCVector; r=sfink
...
--HG--
rename : js/public/TraceableVector.h => js/public/GCVector.h
2015-12-28 11:45:13 -08:00
Luke Wagner
8bb2625f5e
Bug 1238195 - Odin: properly support duplicate exports (r=bbouvier)
...
--HG--
extra : commitid : Lmsg34TOAQz
extra : rebase_source : 6c86f0d5ebc33f8d10856b995260889b5d921ebd
2016-01-11 12:37:37 -06:00
Luke Wagner
498e4980ad
Bug 1238195 - Switch over some AutoVectorRooters to Rooted<TraceableVector>s and fill in some missing support (r=terrence)
...
--HG--
extra : commitid : GJxokWWXWjW
extra : rebase_source : ad0f7b28e6da997c139de661182980ecfced1b20
2016-01-11 12:37:11 -06:00
Boris Zbarsky
413e8fe8b8
Bug 1237177. Make the this-rebinding callable proxy sandboxes use return the prototype of its target, not its own null prototype. r=efaust
2016-01-11 12:58:41 -05:00
Boris Zbarsky
c715e48aa2
Bug 1237501. Actually create a baseline IC for a JSNative accessor property get that's unshadowed on a DOM proxy. We apparently failed to ever do this. r=jandem
2016-01-11 12:58:38 -05:00
Jon Coppeard
7165b3e116
Bug 1233117 - Fix handling of eval in modules r=jandem
2016-01-11 17:11:39 +00:00
Jon Coppeard
0e55433016
Bug 1236875 - Fix BytecodeEmitter::atBodyLevel() for modules r=efaust
2016-01-11 17:08:29 +00:00
Benjamin Bouvier
31d5732ac1
Bug 1233331: Add oomTest check at top of bug1233331.js; r=bustage
...
--HG--
extra : commitid : 5zE1EwEO8VV
2016-01-11 17:24:45 +01:00
Benjamin Bouvier
ca13ddbacc
Bug 1236476: Report out of memory in ExpandErrorArgumentsVA; r=jandem
...
--HG--
extra : rebase_source : c4301ef0de9100b83e23f09138c360b874eb97cb
2016-01-05 10:24:05 +01:00
Benjamin Bouvier
a2ffb6e845
Bug 1235408: Lazily resolve SIMD types; r=jandem
...
--HG--
extra : rebase_source : 552c34977142aa1bb89eced6d709ea3645460f04
2016-01-11 16:03:02 +01:00
Nicolas B. Pierron
3bc5e9cd27
Bug 1233331 - CodeGenerator: Prepare the invalidation of the recompileInfo as soon as the contraints are recorded. r=jandem
2016-01-11 14:55:16 +00:00
Nicolas B. Pierron
c195534afa
Bug 1233331 - CodeGenerator: Properly indent IonScript::New. r=jandem
2016-01-11 14:55:16 +00:00
Nicolas B. Pierron
4304cf309c
Bug 1207922 - Clean-up RRegExp{Match,Test}er function in Recover.cpp. r=arai
2016-01-11 14:05:01 +00:00
Nigel Babu
3989c307d6
Backed out changeset 51e26ad49ed2 (bug 1235408) for build bustage on a CLOSED TREE
...
--HG--
extra : commitid : 24qZk2WyHvI
2016-01-11 16:27:20 +05:30
Benjamin Bouvier
06044ccf15
Bug 1235408: Lazily resolve SIMD types; r=jandem
...
--HG--
extra : commitid : KF8d4hqdx47
extra : rebase_source : 19270a20ddcf9b05552a092a6f9f59c89f58f73b
2015-12-31 10:25:00 +01:00
Luke Wagner
fe35798f75
Bug 1237508 - Add missing #include to fix non-unified builds (r=me)
...
--HG--
extra : commitid : HAYP9kzspga
extra : rebase_source : 48c1e8ee2a75cfee5d96a155218f9b0b89f7fb45
2016-01-09 22:44:18 -06:00
Tooru Fujisawa
2b5ce92f43
Bug 1238003 - Part 3: Add test for Policy in RegExpMatcher and RegExpTester. r=jandem
2016-01-10 08:47:03 +09:00
Tooru Fujisawa
438856ce76
Bug 1238003 - Part 2: Use Policy in RegExpMatcher and RegExpTester. r=jandem
2016-01-10 08:47:03 +09:00
Tooru Fujisawa
0978d89714
Bug 1238003 - Part 1: Add BooleanPolicy. r=jandem
2016-01-10 08:47:03 +09:00
Luke Wagner
4a1e93fddb
Bug 1237508 - Odin: move GC allocation up to fix spurious hazard warning (there was an AutoKeepAtoms already) (r=hazard-red)
...
--HG--
extra : commitid : 8dGu46Jzvny
2016-01-08 15:03:02 -06:00
Luke Wagner
ce49978208
Bug 1237508 - Odin: make AsmJSModule derive wasm::Module (r=bbouvier)
...
--HG--
extra : commitid : FRmfuJ5MQZo
extra : rebase_source : 603b10e7fcf1cd6daa9587cd8e7cab570c519230
2016-01-08 12:35:23 -06:00
Luke Wagner
b66e3e5581
Bug 1237508 - Odin: remove function index from Export (r=bbouvier)
...
--HG--
extra : commitid : K2SmBG63HZB
extra : rebase_source : 2d0a2bf772406092d0aea3e1524735b2e5a54d95
2016-01-08 12:33:53 -06:00
Terrence Cole
fd0fcea703
Bug 1235923 - Part 2: Use new Root tracing APIs in Gecko; r=smaug
2015-12-30 11:31:16 -08:00
Terrence Cole
b7aa38d7ac
Bug 1235923 - Part 1: Add C++ APIs for unbarriered pointer tracing; r=sfink
2015-12-30 10:10:29 -08:00
Benjamin Bouvier
9d96f4f51e
Bug 1229399: Split FuncIR into Bytecode/Encoder/Decoder/FuncBytecode; r=luke
...
--HG--
rename : js/src/asmjs/WasmIR.h => js/src/asmjs/WasmBinary.h
extra : commitid : KdDkZsq6xnD
extra : rebase_source : ff4353fa440a4bfb322e7d9e06752d0a187bcb69
extra : histedit_source : 9cd2700bc4571ea6409bab8a33002250a21714d9%2Cf6dea4b51c2551c0938aed8e85b891b4e4e9001b
2016-01-08 10:26:52 +01:00
Chris Peterson
c69def398c
Bug 1236321 - Annotate intentional switch fallthroughs to suppress -Wimplicit-fallthrough warnings in js/. r=luke
2015-12-31 01:05:49 -07:00
Nicholas Nethercote
bf641fa45d
Bug 1237151 (part 4) - Turn on -Wignored-qualifiers for C++ code. r=mshal.
...
It's already on for C code.
2016-01-05 14:31:02 -08:00
Morgan Phillips
5d77a85f0a
Bug 1138906 - Fix invalid test in ecma_6/TypedArray/map-and-filter.js; r=evilpie
...
--HG--
extra : rebase_source : d69a3deadf4f26cbb19fbf85af1e4d0a9f51817e
2016-01-07 16:20:28 -06:00
Bogdan Postelnicu
8fe4f7adbf
Bug 1237272 - Only for Coverity - check arg1, arg2 and arg3 for validity. r=luke
...
--HG--
extra : rebase_source : e7b198b821f002a5e719b982954e5a08af9a5e45
2016-01-07 01:00:00 -05:00
Terrence Cole
239b10c462
Bug 1227400
- Fix a test harness race when cleaning up windows timeouts; r=efaust
2016-01-07 15:34:36 -08:00
Steve Fink
8e7e06112f
Bug 1237445 - Use GCHashTables for ObjectGroup sweeping, r=terrence
...
--HG--
extra : rebase_source : 21e2c640fd2fbbbf3e2f575d3b1d34decc04207f
2016-01-06 18:12:23 -08:00
Steve Fink
697a34a9c3
Bug 1237445 - Use GCHashMap for (CCW) WrapperMap, r=terrence
...
--HG--
extra : rebase_source : 39f9c56cb3295f7ea54921567f44519f55b6cc22
2016-01-05 17:36:50 -08:00
Steve Fink
d684e42730
Bug 1237445 - Use GCHashMap for ICStubCodeMap, r=terrence
...
--HG--
extra : rebase_source : 086b81ba0697ae9bdb34621d2e2a80cfc0075568
2015-11-18 17:52:34 -08:00
Steve Fink
8af2cf4981
Bug 1237445 - Use GCHashMap for VMWrapperMap, r=terrence
...
--HG--
extra : rebase_source : 65ccb658d1c7757519289ec64e55032e43df73b0
2016-01-05 17:36:43 -08:00
Steve Fink
1445b238f3
Bug 1237445 - Implement GCRekeyableHashMap, r=terrence
...
--HG--
extra : rebase_source : f07a27b1497d6099300b99ac712e27115be29370
2016-01-06 14:41:12 -08:00
Morgan Phillips
f711a0edff
Bug 1121937 - Implement %TypedArray%.prototype.sort; r=jorendorff
...
--HG--
extra : rebase_source : ec968d93d7a35c67220d364463a536e996511abf
2016-01-07 10:36:55 -06:00
Benjamin Bouvier
50250281ac
Bug 1229399: Make writing the IR fallible, provide a fallible reading API; r=luke
...
--HG--
extra : commitid : FiO6Stt1ruv
extra : rebase_source : 5c762a042668e3a9cbe09edd96d15eede25c913b
2016-01-06 11:33:52 +01:00
Benjamin Bouvier
a3c7f9d392
Bug 1229399: Store line/column info in the FuncIR rather than the bytecode stream; r=luke
...
--HG--
extra : commitid : IBiHiMkiqqj
extra : rebase_source : b364f63a8ab31f25acb95e5c793086d9b7221bc5
2015-12-30 15:51:33 +01:00
Benjamin Bouvier
af1d2d33c2
Bug 1229399: Make initialization of asm.js local variables closer to wasm; r=luke
...
--HG--
extra : commitid : HzSr8FMYB0g
extra : rebase_source : 00e0800726aaaf269c24d23d59076ceef663e999
2015-12-31 15:16:24 +01:00
Benjamin Bouvier
52c07a14da
Bug 1237284: Make inlineSimd* functions take MIRType to avoid an indirection; r=jolesen
...
By removing the type argument of inlineSimdCheck, which is used only for an
assertion that never fails/failed, we can simplify inlineSimd* functions to
avoid one indirection, using directly MIRType arguments instead of
SimdTypeDescr::Type.
--HG--
extra : commitid : DTLJLHy44QG
extra : rebase_source : 0a4f1598cbd0984a8befa5b58f0ecbae1df26ea0
2016-01-06 13:51:09 +01:00
Benjamin Bouvier
fc69583d15
Bug 1237284: Make SIMD names more consistent in MCallOptimize; r=jolesen
...
This makes all SIMD inlining functions such that they have the inlineSimd[Name]
format.
checkInlineSimd has been renamed into canInlineSimd, as this is
checking preconditions for inlining SIMD functions.
--HG--
extra : commitid : Le7owcYQutW
extra : rebase_source : 64508d71c9e2b8deebc958cd80e6383e8ce07dcf
2016-01-07 09:44:18 +01:00
Jan de Mooij
4c4a4a430a
Bug 1237566 - Bake in global this-value in IonBuilder::jsop_functionthis in some cases. r=h4writer
...
--HG--
extra : rebase_source : f021e939953cbbe9b2aba92d32cf577a24ef1c63
2016-01-07 17:02:05 +01:00
Jan de Mooij
afca9e02d4
Bug 1236546 - Don't deoptimize in ObjectGroup::defaultNewGroup when we have a null proto. r=bhackett
2016-01-07 14:01:52 +01:00
Jon Coppeard
9cbc4da5ee
Bug 1233179 - Allow bytecode emitter to access module environment before module declarations are instantiated r=shu
2016-01-07 12:04:50 +00:00
Jon Coppeard
2c15b490cf
Bug 1237153 - Fix gcparam() parameter verification to not allow negative numbers r=terrence
2016-01-07 12:04:50 +00:00
Jan de Mooij
5fde9a53fc
Bug 1236523 part 3 - Templatize Shape::search and ShapeTable::search. r=bhackett
2016-01-07 10:18:06 +01:00
Jan de Mooij
1fe47db5f8
Bug 1236523 part 2 - Cache isBigEnoughForAShapeTable on the Shape. r=bhackett
2016-01-07 10:17:32 +01:00
Jan de Mooij
e14f74c792
Bug 1236523 part 1 - Remove Shape NON_NATIVE flag. r=bhackett
2016-01-07 10:16:46 +01:00
Tooru Fujisawa
6d634ad96e
Bug 1207922 - Part 3: Add masm.branchLatin1String and masm.branchTwoByteString. r=h4writer
2016-01-07 16:50:55 +09:00
Tooru Fujisawa
8fdc932683
Bug 1207922 - Part 2: Propagate OOM thrown from stub generation. r=till
2016-01-07 16:50:55 +09:00
Tooru Fujisawa
44dc8c2905
Bug 1207922 - Part 1: Self-host RegExp.prototype.{exec,test}. r=till,h4writer
2015-09-24 18:28:37 +09:00
Nigel Babu
102e49ec7e
Backed out changeset 509a6dd8d1c5 (bug 1121937) for jsreftest bustage
...
--HG--
extra : commitid : 7GwqB9jZnTi
2016-01-07 12:38:24 +05:30
Morgan Phillips
40173280f9
Bug 1121937 - Implement %TypedArray%.prototype.sort; r=jorendorff
...
--HG--
extra : rebase_source : 3039d3b250b8b5b4779758fb2137bbdc4b7c1f18
2016-01-06 20:55:23 -06:00
Shu-yu Guo
1768759efb
Bug 1220564 - Update chrome code uses of genexprs and legacy comprehensions. (r=billm)
2016-01-06 16:02:16 -08:00
Shu-yu Guo
f7ec8ae7a3
Bug 1220564 - Update and remove obsolete JS reftests. (r=Waldo)
2016-01-06 16:02:15 -08:00
Shu-yu Guo
fee40646f2
Bug 1220564 - Update and remove obsolete jit-tests. (r=Waldo)
2016-01-06 16:02:15 -08:00
Shu-yu Guo
007e1c1e69
Bug 1220564 - Remove legacy array comprehensions. (r=Waldo)
2016-01-06 16:02:15 -08:00
Shu-yu Guo
9ee5164282
Bug 1220564 - Remove legacy generator comprehensions. (r=Waldo)
2016-01-06 16:02:15 -08:00
Eric Faust
c8c9146f1a
Bug 1234702 - Part 4: Self-host default base class constructor. (r=till)
2016-01-06 14:26:14 -08:00
Eric Faust
b108999aa3
Bug 1234702 - Part 3: Self-host default derived class constructor. (r=till)
2016-01-06 14:26:14 -08:00
Eric Faust
d92fe405f6
Bug 1234702 - Part 2: Fix up class constructor scripts to allow cloning. (r=Waldo)
2016-01-06 14:26:14 -08:00
Eric Faust
611cab5648
Bug 1234702 - Part 1: Allow opt-in calls to content invoking spread opts in self-hosted code. (r=till)
2016-01-06 14:26:14 -08:00
Eric Faust
880dd94844
Bug 1235656 - Followup: Allow extended functions with guessed atoms in self-hosted code. (rs=arai)
2016-01-06 14:26:14 -08:00
Jan de Mooij
f549ff32f6
Bug 1231224 part 13 - Add OOM checks to Statistics::initialize. r=jonco
...
--HG--
extra : rebase_source : 23bd6ee9ae62707b01d13b928be9d09e7d2e7815
2016-01-06 21:08:58 +01:00
Jan de Mooij
ab5c363f7d
Bug 1231224 part 12 - Use InfallibleVector in irregexp code to avoid MOZ_WARN_UNUSED_RESULT warnings. r=luke
...
--HG--
extra : rebase_source : 5b7eafd1d8105c4bba18efad6dcf0c5805caff95
2016-01-06 21:08:23 +01:00
Jan de Mooij
e3c4b94f10
Bug 1231224 part 11 - Add missing OOM checks in Module::setProfilingEnabled. r=luke
...
--HG--
extra : rebase_source : 6a39c44f80a51b46504ea8cbfaa9e01285a7b49f
2016-01-06 21:07:05 +01:00
Jan de Mooij
36e21ef4d9
Bug 1231224 part 10 - Make various Vector calls check for OOM. r=terrence
...
--HG--
extra : rebase_source : fae86eb928fc510c3d5c7a895675cf218fc15b3a
2016-01-06 21:06:25 +01:00
Jan de Mooij
5b0fc89a9e
Bug 1233925 - Treat functions with rest more like functions with lazy arguments. r=nbp
...
--HG--
extra : rebase_source : e293afa27bafaf3985684a01c31118c2ec518e56
2016-01-06 21:05:21 +01:00
Terrence Cole
eca54a7ace
Backout 9dfd86b06459c257390c2514380a09456b008e33 (Bug 1235923) for build bustage on a CLOSED TREE.
...
--HG--
extra : rebase_source : 412366ba75e73e2338a9ec21a96c40bd466fa6db
2016-01-06 12:05:08 -08:00
Terrence Cole
97c4c6520f
Backout 7621c3ea95cb11e1c376a9f705accc0f90057c0a (bug 1235923) for build bustage on a CLOSED TREE.
...
--HG--
extra : rebase_source : 6c54aa7e1af75c270ab2b6833b56c780c537e297
2016-01-06 12:05:06 -08:00
Terrence Cole
d38e840e6f
Bug 1235923 - Part 2: Use new Root tracing APIs in Gecko; r=smaug
2015-12-30 11:31:16 -08:00
Terrence Cole
e03a483cfa
Bug 1235923 - Part 1: Add C++ APIs for unbarriered pointer tracing; r=sfink
2015-12-30 10:10:29 -08:00
Nicolas B. Pierron
0234a0f219
Bug 1234736 - IonMonkey: Recover Math.imul as an int32 operation. r=h4writer
2016-01-06 14:37:56 +00:00
Tooru Fujisawa
79ad276266
Bug 1180290 - Part 4: Add tests for builtin getter name. r=till
2016-01-05 03:21:24 +09:00
Tooru Fujisawa
2bbe10c9ea
Bug 1180290 - Part 3: Use canonical name in native getter. r=till
2016-01-05 03:21:24 +09:00
Tooru Fujisawa
0063cbce8a
Bug 1180290 - Part 2: Handle prefix in DefinePropertyById. r=till,smaug
2016-01-05 03:21:24 +09:00
Tooru Fujisawa
b81d79019c
Bug 1180290 - Part 1: Add prefix parameter to IdToFunctionName. r=till
2016-01-05 03:21:23 +09:00
Tooru Fujisawa
4ba7961236
Bug 1067049 - Implement arguments[@@iterator]. r=evilpie
2016-01-06 17:53:21 +09:00
Steve Singer
5b29198d9d
Bug 1232150 - Add atomics for ppc/ppc64. r=lth
...
--HG--
extra : rebase_source : 87b1a27b663075006ef8b6e3e62d1b168bc3a6f5
2016-01-05 09:26:58 -05:00
Jeff Walden
abd0ec462b
Bug 1236525 - Return false instead of true in a case of JSAPI failure. r=bah
2016-01-05 18:58:20 -08:00
Shu-yu Guo
d3a8744d8e
Bug 1216261 - Fix OOM handling of DebugScopes. (r=jonco)
2016-01-05 18:36:36 -08:00
Shu-yu Guo
f782f9d407
Bug 1234717 - Fix upvar TDZ for block-scoped functions. (r=jorendorff)
2016-01-05 18:36:36 -08:00
Shu-yu Guo
bae1958503
Bug 1234414 - Consider the initial values at block entry to be within block note bounds. (r=jorendorff)
2016-01-05 18:36:35 -08:00
Nathan Froyd
8070cbc00f
Bug 1236571 follow-up - fix bustage on a CLOSED TREE; r=me
2016-01-05 16:36:11 -05:00
Sander Mathijs van Veen
4415ae87d1
Bug 1232977 - Remove redundant bitand with uint{8,16} and an all-bits-set mask. r=nbp, r=sunfish
2016-01-04 07:21:00 -05:00
Jan de Mooij
593cb191d9
Bug 1231224 part 9 - Clean up StackSlotAllocator, fix Vector append warning with MOZ_WARN_UNUSED_RESULT. r=bhackett
...
--HG--
extra : rebase_source : 5c26f019ba4ccff839408a624fa1df0b5346eb3f
2016-01-05 20:50:15 +01:00
Jan de Mooij
2323ed20f3
Bug 1212298 - Use inner script instead of outer script in CodeGenerator::visitCallDirectEval. r=shu
...
--HG--
extra : rebase_source : aab4d02c2035772e33aabd48e5aff91162d8c623
2016-01-05 20:49:14 +01:00
Nathan Froyd
26acea99b2
Bug 1236571 - convert easy cases of nsAutoArrayPtr<T> to UniquePtr<T[]> in js/xpconnect/; r=gabor
...
The other cases are tied up with the startup cache, and will need more
extensive refactoring.
2015-12-06 09:20:16 -05:00
Jeff Walden
0e7b5200f4
Bug 1235640 - Correctly perform assignment-target detection and marking on a name (arguments, eval, or some other name) used as the target of a for-in/of loop. r=shu
...
--HG--
extra : rebase_source : 3071b43b19d4a35de0f8e898fa237ab3f5f8fbb3
2015-12-30 13:09:37 -06:00
Luke Wagner
66e19ee927
Bug 1236530 - Make ExecutableAllocator::reprotectRegion fallible and handle in asm.js (r=jandem)
...
--HG--
extra : commitid : 5ewGl5aKzjO
extra : rebase_source : 866ee6464c890cfa303165817c755cf37a83e45c
2016-01-05 10:58:12 -06:00
Luke Wagner
7f24b008d5
Bug 1236552 - Odin: handle unfinished AsmJSModuleObject in addSizeOfMisc (r=bbouvier)
...
--HG--
extra : commitid : Ee4mi50AffD
extra : rebase_source : c2c7fd9cd67a99616284edda0e9b2c432b0ab2bc
2016-01-05 10:57:35 -06:00
Luke Wagner
7b6e86c042
Bug 1236541 - Odin: when enabling profiling, only patch actual callsites (r=bbouvier)
...
--HG--
extra : commitid : AnWF570Bh1x
extra : rebase_source : 4125ae135393f0ee2217e6728db073c421596314
2016-01-05 10:56:17 -06:00
Luke Wagner
8bd0a5ea87
Bug 1236484 - Odin: remove invalid assert (r=bbouvier)
...
--HG--
extra : commitid : 1GUqJlpiaIE
extra : rebase_source : e37ae3e19d6709555ef4183b3be57e4579469b58
2016-01-05 10:55:25 -06:00
Terrence Cole
bb224242a8
Bug 1235598 - Part 2: Use TraceEdge exclusively in Gecko; r=smaug
...
--HG--
extra : rebase_source : 27afd7eecd5a13f8d28b888b64d5e44b3c4a74a5
2015-12-30 08:52:14 -08:00
Terrence Cole
14bc095b59
Bug 1235598 - Part 1: Add better SpiderMonkey API support for tracing in C++; r=sfink
...
--HG--
extra : rebase_source : 777e1dd17331f38b482fc12ef1e2d96ec61fb02d
2015-12-30 08:52:12 -08:00
Jakob Stoklund Olesen
02332a2395
Bug 1236522 - Handle MIRType_Bool32x4 in StringFromMIRType. r=nbp
...
Add a case for MIRType_Bool32x4 to the switch and remove the default case so we
get compiler warnings in the future when adding more MIR types.
2016-01-05 08:51:43 -08:00
Ben Kelly
2c33490365
Bug 1236619 Fix compilation failure with warnings-as-errors with some compilers. r=njn
2016-01-05 08:09:01 -08:00
Lars T Hansen
47eed284d1
Bug 1231333 - part 1, JS engine: only allow futexWait in workers. r=luke
...
--HG--
extra : rebase_source : 4191fb11e5a2cbd417a6d1b8a548364e30ff7eb9
2015-12-23 13:40:54 +01:00
Jon Coppeard
261fc79f61
Bug 1233109 - Push hunk missed from previous commit to fix build bustage r=me
2016-01-05 15:29:55 +00:00
Jon Coppeard
012dbf7d7b
Bug 1233109 - Alias fewer bindings at module toplevel r=shu
2016-01-05 15:07:59 +00:00
Jon Coppeard
b8c54bceff
Bug 1233109 - Make the getters in Import/ExportEntryObject const r=shu
2016-01-05 15:07:58 +00:00
Jon Coppeard
82b5f8d44d
Bug 1233109 - Check for duplicate exported names using the data in the ModuleBuilder and remove ModuleBox::exportNames r=shu
2016-01-05 15:07:58 +00:00
Jon Coppeard
fc10a4b5bf
Bug 1233109 - Call into the ModuleBuilder as we parse rather than traversing the AST again afterwards r=shu
2016-01-05 15:07:58 +00:00
Jon Coppeard
7fa52a1973
Bug 1233109 - Refactor module parsing to instantiate ModuleBuilder earlier r=shu
2016-01-05 15:07:58 +00:00
Jon Coppeard
ba32e6eac5
Bug 1236564 - Fix various minor issues with getting/setting GC parameters r=terrence
2016-01-05 15:07:58 +00:00
Benjamin Bouvier
d9a9a55a72
Bug 1234280: Handle oom in CodeGeneratorShared::allocateData; r=jandem
...
--HG--
extra : commitid : Drbq42mi2jg
extra : rebase_source : 14a7d646151b9983ede0060cb8573b0edec6586c
2015-12-24 09:51:30 +01:00
Carsten "Tomcat" Book
ae7a25d2a4
Merge mozilla-central to mozilla-inbound
2016-01-05 12:01:44 +01:00
Carsten "Tomcat" Book
2262c1271c
merge mozilla-inbound to mozilla-central a=merge
2016-01-05 11:58:56 +01:00
Benjamin Bouvier
caee5ab97b
Bug 1221361: Mark SetARMHwCapFlags as unsafe for fuzzing; r=jolesen
...
--HG--
extra : rebase_source : 31d5492d1262019f39c5b295feed2ad02b09c2cb
2015-12-24 09:08:31 +01:00
Bogdan Postelnicu
4486adb46d
Bug 1235041 - Cast value to uint64_t in order to prevent int overflow when value is greater than 2^12. r=jonco
...
--HG--
extra : rebase_source : df473012e5b66abc80513cbd2e83e7fe7129a853
2015-12-24 02:57:00 -05:00
Tom Tromey
e385bd20d9
Bug 1235636 - rewrite PCToLineNumber; r=fitzgen
2016-01-04 09:18:56 -07:00
Nicholas Nethercote
6d93e1b2e4
Bug 1232224 - Streamline setting of compile warnings in configure.in. r=glandium,cpeterson.
...
The main changes are to the warnings, which are as follows.
- Kept -Wall.
- Part of -Wall or on by default; remove all mentions:
* -Waddress
* -Wchar-subscripts
* -Wcomment
* -Wconversion-null
* -Wendif-labels
* -Wenum-compare
* -Wimplicit-function-declaration
* -Wint-to-pointer-cast
* -Wmissing-braces
* -Wmultichar
* -Wnonnull
* -Wparentheses
* -Wpointer-sign
* -Wpointer-to-int-cast (C only)
* -Wreorder
* -Wreturn-type
* -Wsequence-point
* -Wsign-compare (C++ only)
* -Wswitch
* -Wtrigraphs
* -Wuninitialized
* -Wunknown-pragmas
* -Wunused-label
* -Wunused-value
* -Wwrite-strings (C++ only)
- Part of -Wextra; kept where present, added where missing:
* -Wempty-body
* -Wignored-qualifiers (not added for C++ code; many fixes needed to enable)
* -Wtype-limits
- Part of -pedantic; kept where present, added where missing:
* -pointer-arith
- C++ only, kept:
* -Wno-invalid-offsetof
* -Woverloaded-virtual
- Clang-only, kept:
* -Wnon-literal-null-conversion (affected by a clang bug; see the big comment
in the code)
* -Wrange-loop-analysis (C++ only)
* -Wno-unused-local-typedef
- This no longer exists? I kept it to be safe:
* -Winline-new-delete
A consequence of this is that, when --enable-warnings-as-errors is on, in
directories which have ALLOW_COMPILER_WARNINGS specified we no longer have any
fatal warnings. (We previously did have all the explicitly-mentioned
-Werror=foo ones.) This is a sensible change; if we are going to allow warnings
in a directory we should allow all of them, not just some of them.
Other changes:
- Some C warnings incorrectly used the CXX macros. Fixes that.
- Moves comments about warnings closer to the lines where they are defined, to
make it easier to keep the comments consistent with the code.
- Reorders things a little, e.g. so that all enabled warnings are before all
disabled warnings.
The C and C++ warnings are now very similar, in both configure.in and
js/src/configure.in.
--HG--
extra : rebase_source : 6f8db0fecda1315504a29fbcafb6fdee3053d8a5
2015-12-16 18:39:50 -08:00
Tooru Fujisawa
6eb62d6549
Bug 1235656 - Part 2: Remove alias to selfhosted builtin from Utilities.js. r=till
2016-01-04 06:59:55 +09:00
Tooru Fujisawa
2ede3916c0
Bug 1235656 - Part 1: Set canonical name in self-hosted builtins. r=till
2016-01-04 06:59:52 +09:00
Hannes Verschore
4370e997ad
Bug 1233343: SharedStubs: Count frames pushed correctly on ARM when entering an ion stub frame, r=jandem
2016-01-04 22:27:12 -05:00
Nicholas Nethercote
a9f31c44eb
Bug 1232219 (part 4) - Enable -Wunused for C code, except where it's too annoying. r=glandium.
...
--HG--
extra : rebase_source : febc9aac7ec5e3699742e728065c370dcee4f0f3
2015-12-16 22:59:42 -08:00
Chris Peterson
c9b006d167
Bug 1235717 - Enable clang's -Wunreachable-code warnings. r=glandium
2015-12-28 00:17:02 -07:00
Tooru Fujisawa
687256f38d
Bug 1236638 - Add JSFunction::setAtom and use it in _SetCanonicalName intrinsic to fire the pre-barrier. r=terrence
2016-01-05 07:24:45 +09:00
Tooru Fujisawa
afeff41c94
Bug 1234025 - Part 3: Remove unused constant from Statistics.cpp
2016-01-05 04:33:35 +09:00
Tooru Fujisawa
bc25c6f0df
Bug 1234025 - Part 2: Remove unused functions from ScriptedDirectProxyHandler.cpp.
2016-01-05 04:33:34 +09:00
Tooru Fujisawa
c89eedaf00
Bug 1234025 - Part 1: Move ObjectBox::isModuleBox definition to ParseNode.cpp.
2016-01-05 04:33:34 +09:00
Victor Carlquist
a871c36dc4
Bug 1235403 - Adding flat replacement bit on StringReplace to the recover instruction. r=nbp
2015-12-29 11:02:08 -02:00
Zibi Braniecki
5c9465b248
Bug 1216150 - Implement ECMA 402 DateTimeFormat formatToParts
2015-12-31 19:07:45 -08:00
Wes Kocher
a69ea37914
Backed out 2 changesets (bug 1235598) for linux reftest bustage
...
Backed out changeset 3bcd3c276785 (bug 1235598)
Backed out changeset 80cd10a8b3d7 (bug 1235598)
--HG--
extra : commitid : DZRlFy6bH2m
extra : rebase_source : 3479cd1146e58115883f2329861647a962d162cc
2015-12-31 15:51:13 -08:00
Zibi Braniecki
03d82c7240
Back out bug 1216150 for Linux x64 opt bustage
2015-12-31 15:32:20 -08:00
Zibi Braniecki
22e38242da
Bug 1216150 - Implement ECMA 402 DateTimeFormat formatToParts. r=waldo
2015-12-31 14:45:52 -08:00
Benjamin Bouvier
803af84dc5
Bug 1235989 - Add a null check for filename in ModuleValidator::finish. r=luke
2015-12-31 12:17:03 +01:00
Terrence Cole
c8e1859f04
Bug 489636 - Add a GC u-bench test for property tree splitting via deletion; r=sfink
...
--HG--
extra : rebase_source : 2e7e21e4a634e348fa584fb1f2514ddffb069a19
2015-12-31 11:32:27 -08:00
Terrence Cole
9d97726f6c
Bug 1235598 - Part 2: Use TraceEdge exclusively in Gecko; r=smaug
...
--HG--
extra : rebase_source : c18f7e97d09f0cd91d0d837d2cdc65926cd3de64
2015-12-30 08:52:14 -08:00
Terrence Cole
dbe067989c
Bug 1235598 - Part 1: Add better SpiderMonkey API support for tracing in C++; r=sfink
...
--HG--
extra : rebase_source : 8e2a38d3eedc0bc795be696ca36759c153e3b34e
2015-12-30 08:52:12 -08:00
Olli Pettay
5ca565690e
Bug 1120016 - Allocate short lived JS wrappers in the Nursery, r=mccr8,terrence
2015-12-31 15:21:49 +02:00
Wes Kocher
792ca14825
Backed out changeset 0d55a6e4e98e (bug 1120016) for 980 b2g hazards
...
--HG--
extra : commitid : 27OIHVsa17S
2015-12-30 16:34:18 -08:00
Sean Stangl
f69acc592f
Bug 470143 - Part 2/2 - TrackedOptimization changes for TypeOfNoSuchVar. r=shu
2015-12-15 13:42:56 -08:00
Sean Stangl
8e11be5623
Bug 470143 - Part 1/2 - Implement an IM IC for typeof nosuchvar. r=jandem
2015-12-11 11:27:55 -05:00
Wes Kocher
a865324b23
Backed out 3 changesets (bug 1235598) for build bustage CLOSED TREE
...
Backed out changeset 7da07459ce20 (bug 1235598)
Backed out changeset cf35918cb3ba (bug 1235598)
Backed out changeset 55db488f9dfd (bug 1235598)
--HG--
extra : commitid : 2Q694NrtoN0
2015-12-30 15:17:44 -08:00
Mike Hommey
d5c0c5233a
Bug 1235733 - Use absolute paths for include paths. r=gps
...
Limit ourselves to include paths for now, because there are tricky things
involved in making this globally.
While here, use shell_quote instead of manual quoting for those paths.
2015-12-31 08:10:02 +09:00
Terrence Cole
2d98949f4f
Backout Bug 1235598 Part 2 because of merge bustage on a CLOSED TREE
2015-12-30 15:05:24 -08:00
Terrence Cole
4710ce6d97
Bug 1235598 - Part 2: Use TraceEdge exclusively in Gecko; r=smaug
...
--HG--
extra : rebase_source : fba9dbd3f6bc7b36074f58d11c411deb84c1ff1e
2015-12-30 08:52:14 -08:00
Terrence Cole
4cc6b37c96
Bug 1235598 - Part 1: Add better SpiderMonkey API support for tracing in C++; r=sfink
...
--HG--
extra : rebase_source : 66daf07ec194720d31b058ef7288ef1ee2fcf6ca
2015-12-30 08:52:12 -08:00
Mike Hommey
969f681cbc
Bug 1235743 - Move compiler flags used for dependency generation to a separate variable. r=gps
...
This might seem like going in the opposite direction of what we tend to do
to move to moz.build land, but those flags are irrelevant in many situations
and are better separated out.
2015-12-31 07:35:04 +09:00
Mike Hommey
8143237ec5
Bug 1235738 - Simplify MOZ_DEBUG_DEFINES. r=gps
...
Now that it's not directly used in command lines, it can just become a list
of symbols that ought to be defined. This simplifies all the uses of it.
2015-12-31 07:28:05 +09:00
Jeff Walden
5be7be38a1
Bug 1235615 - Split JS::CompartmentOptions into JS::CompartmentCreationOptions that are immutable characteristics of a compartment, and JS::CompartmentBehaviors that may be changed after the compartment's been created. r=terrence
...
--HG--
extra : rebase_source : f08c380ae247d3308d4c36788ac765de1b75af50
2015-12-28 16:15:52 -06:00
Jeff Walden
f0ea1c2a47
Add a semicolon to avoid relying on ASI in one place in String.js. No bug, r=trivial
...
--HG--
extra : rebase_source : 71c6b8d85f35953db9eb5efb9cb9f874e99df2b4
2015-12-23 21:51:43 -06:00
Tom Schuster
04de56a8e6
Bug 1235868 - Change nonWritableJITCode to ifdefs. r=jandem
2015-12-30 22:15:03 +01:00
Olli Pettay
2066f6d7b3
Bug 1120016 - Allocate short lived JS wrappers in the Nursery, r=mccr8,terrence
...
--HG--
extra : rebase_source : 3d51b7fc9962a93eb6071328db84b5b327225246
2015-12-30 19:16:13 +02:00
Luke Wagner
d8552b2680
Bug 1235874 - handle null filename in DescribeScriptedCaller (r=sunfish)
...
--HG--
extra : commitid : 7o7x0q1IYrb
2015-12-30 13:50:56 -06:00
Luke Wagner
67ecabbdda
Bug 1235631 - Odin: remove change-heap support (r=bbouvier)
...
--HG--
extra : commitid : 4s3rKVYz3Wr
extra : rebase_source : fb76a99fa15b5814b024926ccffc80bb0777ecba
2015-12-30 12:32:47 -06:00
Terrence Cole
add7a54a34
Bug 1225650
- Use stable hashing for JSObject2WrappedJSMap; r=jonco
2015-11-17 13:40:55 -08:00
Jan de Mooij
aa7429333c
Bug 1233152 - Use PersistentRooted for ParseTask script and sourceObject. r=terrence
2015-12-30 13:28:13 +01:00
Jan de Mooij
c31028f3b1
Bug 1221385 - Handle OOM during JitRuntime initialization a bit better. r=bhackett
2015-12-30 13:27:09 +01:00
Arthur Edelstein
3345f3b6d9
Bug 867501 - Pref allows JS locale to be set to US English/C. r=khuey
2015-12-29 13:56:00 +01:00
Benjamin Bouvier
96dd413273
Bug 1230005: Delay buffer flushing in asm.js until the last minute; r=luke
...
--HG--
extra : commitid : 6ar03ADOWzM
extra : rebase_source : 5e1b25850ca8390d54b545314e543ad2d14f781a
extra : amend_source : 097590cf5a6f98cb74b0af0e9c811c84c932ed53
2015-12-29 10:55:38 +01:00
Nigel Babu
d7f551baae
Backed out changeset b45ee8d3233f (bug 867501) for build bustage
...
--HG--
extra : commitid : Lek3ilQVsmK
2015-12-29 15:28:48 +05:30
Bogdan Postelnicu
770ebf3015
Bug 1235032 - check value of obj, remake while () {} to do { } while(). r=jorendorff
2015-12-28 05:35:00 +01:00
Victor Carlquist
cda9d2e5e1
Bug 1112537 - Optimize String#split('foo').join('bar') pattern. r=nbp
...
--HG--
extra : rebase_source : 95e4608ec5cb2465e3aa1b0008c1fa5b2edd46ad
2014-12-20 13:33:02 -02:00
Arthur Edelstein
ae80b093a6
Bug 867501 - Pref allows JS locale to be set to US English/C. r=khuey
...
--HG--
extra : rebase_source : 66cefc1fb5bc407280e3707de1fc8387965d20bf
2015-12-17 16:15:00 +01:00
Birunthan Mohanathas
658dd7bd4b
Bug 1204752 - Disable thread-safe statics on VS2015 to fix WinXP startup crash. r=glandium
...
VS2015 added thread-safe statics, but it causes a startup crash on XP. The
suggested workaround provided by Microsoft is to disable the feature enitrely:
https://connect.microsoft.com/VisualStudio/feedback/details/1789709/visual-c-2015-runtime-broken-on-windows-server-2003-c-11-magic-statics
Note that thread-safe statics were not available in VS2013 so disabling them
should not be considered a regression.
With this patch, Firefox runs fine in XP SP2 and XP SP3.
DONTBUILD because VS2015-only change.
2015-12-29 10:21:07 +02:00
Shu-yu Guo
3d619450c0
Bug 1234164 - Fix Ion GETNAME stubs to check for uninitialized lexicals. (r=efaust)
2015-12-28 18:53:00 -08:00
Shu-yu Guo
c5555284a5
Bug 1071646 - Forgot to commit tests on backout and relanding cycle. (r=me)
2015-12-28 18:52:59 -08:00
Luke Wagner
93a7f2ba2b
Bug 1229642 - Factor AsmJSLink.cpp into wasm/asm.js and consolidate AsmJS* into AsmJS.cpp (r=bbouvier)
...
--HG--
rename : js/src/asmjs/AsmJSValidate.cpp => js/src/asmjs/AsmJS.cpp
rename : js/src/asmjs/AsmJSValidate.h => js/src/asmjs/AsmJS.h
extra : commitid : BUY1jKrhK4t
extra : rebase_source : 011832b3f0339b0a5fe9fd8c40e3eae19400a3db
2015-12-28 17:39:55 -06:00
Luke Wagner
941676a0b5
Bug 1229642 - change to AsmJSActivation to WasmActivation (r=bbouvier)
...
--HG--
extra : commitid : 9UctFLD6dSG
extra : rebase_source : 1f0c40b6d9c881a1650f8aae3a1387d876ed6a98
2015-12-28 17:39:37 -06:00
Luke Wagner
3c88b36742
Bug 1229642 - Split wasm::Module out of AsmJSModule (r=bbouvier)
...
--HG--
rename : js/src/asmjs/AsmJSFrameIterator.cpp => js/src/asmjs/WasmFrameIterator.cpp
rename : js/src/asmjs/AsmJSFrameIterator.h => js/src/asmjs/WasmFrameIterator.h
rename : js/src/asmjs/AsmJSSignalHandlers.cpp => js/src/asmjs/WasmSignalHandlers.cpp
rename : js/src/asmjs/AsmJSSignalHandlers.h => js/src/asmjs/WasmSignalHandlers.h
rename : js/src/asmjs/Wasm.h => js/src/asmjs/WasmTypes.h
extra : commitid : 4LBqZ9p8yXp
extra : rebase_source : b0b165b4be2a5ac4bca20d75d9561005e8f57020
2015-12-28 17:39:21 -06:00
Luke Wagner
2cb8f6f717
Bug 1229642 - Fix unified build duplicate static name error (rs=jandem)
...
--HG--
extra : commitid : 7WiMCsPvY0V
extra : rebase_source : 1f0f7ca8ec717b5cbfc1bd6389e04de6e27d168e
2015-12-28 12:25:26 -06:00
Heiher
873a037ea4
Bug 1235367 - IonMonkey: MIPS64: Use 4-instruction to load 48-bit immedate. r=arai
...
---
js/src/jit/mips64/MacroAssembler-mips64.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
2015-12-29 08:38:47 +08:00
Jeff Walden
7f55eab5f9
Bug 1235410 - Centralize StmtType enumeration in a higher-order macro, so as not to have types and string descriptions of them go out of sync. As they happen to be now. ಠ_ಠ r=arai
2015-12-23 21:50:32 -06:00
Jeff Walden
b129cfd983
Bug 1233249 - Refactor for-loop head parsing so that declaration-parsing code is responsible for detecting for-in/of behavior when a loop declaration is used. This makes declaration parsing slightly fuglier, but it simplifies for-loop parsing, makes it more amenable to future changes, and fixes a few bugs that were otherwise pretty hard to fix. r=shu
...
--HG--
extra : rebase_source : c1b731ab34c9bef2781bbf60e9448dc71af60df4
2015-12-18 02:24:46 -05:00
Jan de Mooij
0db5d8b5eb
Bug 1215479 - Turn on W^X JIT code by default. r=luke
2015-12-28 21:05:50 +01:00
Jan de Mooij
1809bef584
Bug 1235338 - Make W^X work on arm64. r=luke
2015-12-28 20:52:19 +01:00
Jan de Mooij
d0979f07b0
Bug 1235201 - Make W^X work in Win64 browser builds. r=luke
2015-12-28 20:48:21 +01:00
Jan de Mooij
0fbad405e3
Bug 1233818 part 8 - Don't patch loop backedges if it's not necessary. r=luke
2015-12-28 16:13:25 +01:00
Lars T Hansen
6428bbee66
Bug 1231338 - SAB gating test cases. r=luke
...
--HG--
extra : rebase_source : 5948da017a822fff46caa9fd3bb739349a037444
2015-12-15 15:40:59 +01:00
Chris Peterson
4f6bd2b0d7
Bug 1235185 - Fix clang -Wclass-varargs warnings in js/. r=bhackett
...
js/src/jit/BacktrackingAllocator.cpp:1039:13 [-Wclass-varargs] passing object of class type 'js::jit::CodePosition' through variadic function
js/src/jit/Safepoints.cpp:168:56 [-Wclass-varargs] passing object of class type 'js::jit::SafepointSlotEntry' through variadic function
js/src/jit/Safepoints.cpp:198:57 [-Wclass-varargs] passing object of class type 'js::jit::SafepointSlotEntry' through variadic function
2015-12-23 23:23:34 -07:00
Tooru Fujisawa
ea91538804
Bug 1234402
- Crash on OOM in AlternativeGenerationList constructor. r=bbouvier
2015-12-25 04:36:52 +09:00
Bogdan Postelnicu
51402b39bd
Bug 1234177 - check to see if mFunctions.append returned error. r=bholley
...
DONTBUILD because this is a backout/reland to fix author info.
--HG--
extra : commitid : 44X9bWULWTE
2015-12-24 14:14:43 -05:00
Kartikaya Gupta
0f22bb9cfc
Back out cset 1f862b370ab3 (bug 1234177) for landing with wrong author.
...
--HG--
extra : commitid : 2ThdQ6HBscM
2015-12-24 14:16:55 -05:00
Kartikaya Gupta
dd31769177
Bug 1234177 - check to see if mFunctions.append returned error. r=bholley
...
--HG--
extra : commitid : BpAqgipPvYN
2015-12-24 14:14:43 -05:00
Jan de Mooij
1da5f0ecd4
Bug 1235046 - Optimize JIT-code poisoning to be fast with W^X. r=bhackett
2015-12-24 17:43:09 +01:00
Benjamin Bouvier
9274ecafd2
Bug 1230005: Flush the assembler buffer at the end of asm.js compilation; r=luke
...
--HG--
extra : commitid : 11RWmDXAcRf
extra : rebase_source : c69436119acda28c8f44dd6d40b4a632cf04fbb8
extra : amend_source : 5f85a5536820d80704a6d0dfc34e3fc79ac3b18c
extra : histedit_source : 19de23c1518e15a3b5636918e267bbed744a6c9c
2015-12-23 23:06:48 +01:00
Benjamin Bouvier
c15a416116
Bug 1230005: Hide specifics of the LDR instruction; r=jolesen
...
--HG--
extra : commitid : 9ZRpi8bN8fE
extra : rebase_source : 0c3fa8f441a3857714ea005504ebba0928fbbb50
extra : histedit_source : b3ede24e43775e2416c1bb5d4f4cfd17b79cb2f1%2C2a24f2b472d879c2724f1889f0650022780fc28d
2015-12-24 11:28:16 +01:00
Benjamin Bouvier
bcfe875382
Bug 1230005: Factor out relocation style decision; r=jolesen
...
--HG--
extra : commitid : LVKXXdtWh52
extra : rebase_source : 03db54ccb02c5977ad31e50bfc58728c1e026b72
extra : histedit_source : 51187d41a6ff7db9b410ed506fa16d795da3a9ea
2015-12-23 23:06:15 +01:00
Chris Peterson
3b820ef6d3
Bug 1167248 - Call RtlGenRandom() instead of rand_s() to workaround crashes from injected third-party hooks. r=jandem
2015-12-20 21:14:44 -08:00
Phil Ringnalda
ec5f249440
Bug 1232159 followup, test for the existence of TypedObject so the test doesn't fail when it hits mozilla-aurora, r=efaust
...
--HG--
extra : rebase_source : 627904a45db6a932fa29a0547d1dd3d3bc3953fd
2015-12-23 19:34:15 -08:00
Jakob Stoklund Olesen
ab68a2ae94
Bug 1233111 - Implement saturating arithmetic for SIMD. r=bbouvier
...
The functions addSaturate() and subSaturate() are defined on the 8x16 and 16x8
integer SIMD types only.
Theee are no 32x4 variants defined in SIMD.js because current hardware doesn't
support it directly.
--HG--
extra : rebase_source : 876bd6ab47ccd007dd15d5b34948ebf33aca4f16
2015-12-23 09:52:39 -08:00
Jakob Stoklund Olesen
4ac36bc255
Bug 1233111 - Implement SIMD shiftRightByScalar(). r=bbouvier
...
This is the right shift function that the SIMD.js spec requires. The old
shiftRightArithmeticByScalar() and shiftRightLogicalByScalar() functions will go
away.
These functions perform an arithmetic shift for signed types and a logical
shift for unsigned types.
Add support to Odin and Ion too, at least for the Int32x4 variant.
--HG--
extra : rebase_source : 7852f266a1ad505436c4c1607c17d542d81b2673
2015-12-23 09:52:39 -08:00
Jakob Stoklund Olesen
c265e4ff17
Bug 1233111 - Add ecma_7 shift tests. r=bbouvier
...
Fix a bug in ShiftRightArithmetic when the underlying Elem type is unsigned.
Need to cast to a signed type to so it sign-extends to int when shifting.
Implement both logical and arithmetic right shift implementations for both
signed and unsigned integers. This is needed to test our current implementation
where both signed and unsigned SIMD types have the two
shiftRightArithmeticByScalar() and shiftRightLogicalByScalar() functions.
Soon, shiftRightArithmeticByScalar() and shiftRightLogicalByScalar() will be
replaced by a single shiftRightByScalar() function whose behavior is dependent
on the signedness of the underlying type.
--HG--
extra : rebase_source : 00fa414d32592d8d923d2413a9d0f2082fb899d0
2015-12-23 09:52:39 -08:00
Jakob Stoklund Olesen
314da1b881
Bug 1233111 - Add unsigned SIMD types to interpreter. r=bbouvier
...
- Add new types UInt8x16, UInt16x8, UInt32x4 with all the boilerplate.
- Add corresponding conversion and bitcast functions to existing types.
- Add tests/ecma_7/SIMD tests for all new functions. Mostly boilerplate.
- Add full type coverage in ToSource.js. Fix existing SIMD types that were
broken.
- Use shared test vectors for all the 32x4 integer binary-op test cases.
- Fix a bug in the 32-bit multiplication reference implementation for Int32x4
and Uint32x4. A simple 'a*b' double multiplication loses precision to rounding
for some inputs.
--HG--
extra : rebase_source : 7268170538aae82766d661f3936657f368c6363f
2015-12-23 09:52:39 -08:00
Jakob Stoklund Olesen
02e0bb6c58
Bug 1233111 - Share method lists for SIMD types. r=bbouvier
...
The lists TypeDescriptorMethods and TypedObjectMethods are identical for all
SIMD types, so save a bit of memory and source code by sharing a single list.
--HG--
extra : rebase_source : 01f65e7eac8c8c99fb6c869206d75d2e5875002b
2015-12-23 09:52:39 -08:00
Jakob Stoklund Olesen
8d6b23cb6b
Bug 1233111 - Remove geometry altering SIMD conversions. r=bbouvier
...
In the current SIMD.js spec, value conversions are only defined between types
with the same number of lanes:
Float32x4.fromInt32x4()
Float32x4.fromUInt32x4()
Int32x4.fromFloat32x4()
UInt32x4.fromFloat32x4()
Remove existing conversion operators between vectors with different numbers of
lanes:
Int32x4.fromFloat64x2()
Float32x4.fromFloat64x2()
Float64x2.fromInt32x4()
Float64x2.fromFloat32x4()
Add a static assertion to FuncConvert.
--HG--
extra : rebase_source : c7be47268c913134aa9b718000080e1d54a79f9f
2015-12-23 09:52:39 -08:00
Jakob Stoklund Olesen
2d7330a315
Bug 1233111 - Add a new ToUint8() function. r=efaust
...
This is needed for casting values into a SIMD.Uint8x16 lane.
--HG--
extra : rebase_source : 361feb40a7216cacf9e39c4e264b925cb06da540
2015-12-23 09:52:39 -08:00
Luke Wagner
dbe15a0d32
Bug 1229642 - Factor out StringToNewUTF8CharsZ (r=jandem)
...
--HG--
extra : commitid : 9zuXCAfX7dV
extra : rebase_source : 9d0a3157a8dfefc8c52215a00681df232be4ddb7
2015-12-23 14:02:48 -06:00
Nicolas B. Pierron
12b752a241
Backed out changeset 14ea3c6f98bb (Bug 1229813) for performance issues on arewefastyet.
...
CLOSED TREE
2015-12-23 17:39:04 +00:00
Jan de Mooij
d91e436fb6
Bug 1232676 - Use AutoEnterOOMUnsafeRegion instead of MOZ_CRASH in addPendingCompileError. r=jonco
2015-12-23 17:22:16 +01:00
Jan de Mooij
2978531a4a
Bug 1232655 - Fix DebugScopeProxy::has to not lookup .this on non-function scopes. r=shu
2015-12-23 17:22:13 +01:00
Jan de Mooij
907b2b7cb3
Bug 1233115 - Add missing OOM check after handler.newClassMethodList call. r=efaust
2015-12-23 17:05:29 +01:00
Jan de Mooij
aaa795bcb3
Bug 1232386 - Fix NativeObject::growSlotsStatic to recover from OOM. r=terrence
2015-12-23 17:05:27 +01:00
Nathan Froyd
caaca24b03
Bug 1233732 - disable MacroAssembler.h macro magic for clang-cl; r=nbp
...
clang-cl attempts to emulate MSVC's handling of __VA_ARGS__, but doesn't
quite get it right:
https://llvm.org/bugs/show_bug.cgi?id=25875
As a result of this, compiling files that #include MacroAssembler.h with
clang-cl result in fallbacks to MSVC. Since falling back to MSVC is
non-ideal (and also causes problems around things like linking function
template instantiations), let's disable MacroAssembler.h's macro magic
for the time being. Ideally, the problem will get fixed upstream
soon (even though it looks somewhat complicated); in the meantime,
fixing this issue lets forward progress be made when compiling Gecko
with clang-cl.
2015-12-18 11:11:09 -05:00
Nicolas B. Pierron
2cbbdfcf66
Bug 1234193 - IsRelazifiableFunction: Return false when we report an error. r=jandem
2015-12-23 15:01:47 +00:00
Nathan Froyd
7526b032e1
Bug 1232772 - suppress numerous clang-style warnings when using clang-cl; r=glandium
...
Suppressing these warnings significantly cuts down the warning spam on
clang-cl builds.
2015-12-15 15:35:27 -05:00
Nicolas B. Pierron
1827265936
Bug 1137624 - Remove ArrayJoin code duplication, and use a correct alias set. r=jandem
2015-12-23 14:49:48 +00:00
Nicolas B. Pierron
ccf5e822b4
Bug 1229813 - Enable branch pruning. r=jandem
2015-12-23 14:19:39 +00:00
Nicolas B. Pierron
f04ed1dfd7
Bug 1234387 - DumpBacktrace: Check the result of Sprinter::init function. r=bbouvier
2015-12-23 14:10:26 +00:00
Jan de Mooij
9c3142bc57
Bug 1233818 part 7 - Fix AutoPreventBackedgePatching to work without a JitRuntime. r=luke
2015-12-23 11:28:54 +01:00
Jan de Mooij
3c8687da7f
Bug 1233818 part 6 - Make InterruptRunningJitCode non-reentrant. r=luke
2015-12-23 11:28:54 +01:00
Jan de Mooij
9b76e5288c
Bug 1233818 part 5 - Rename handlingSignal to handlingSegFault. r=luke
2015-12-23 11:28:54 +01:00
Jan de Mooij
1f20d726b5
Bug 1233818 part 4 - Make implicit interrupts with work --non-writable-jitcode. r=bhackett
2015-12-23 11:28:54 +01:00