Граф коммитов

52797 Коммитов

Автор SHA1 Сообщение Дата
Jan de Mooij 1190d0cad6 Bug 1234845 part 7 - Simplify isGlobalFrame and isModuleFrame. r=jonco 2016-01-18 10:23:50 +01:00
Jan de Mooij 063ad0b899 Bug 1234845 part 6 - Simplify isEvalFrame, make it use script->isForEval() instead of flags. r=luke 2016-01-18 10:22:58 +01:00
Jan de Mooij fbc825f0b8 Bug 1234845 part 5 - Rename isNonEvalFunctionFrame to isFunctionFrame and use the script instead of flags. r=luke 2016-01-18 10:22:01 +01:00
Yury Delendik 9b5b59f30b Bug 1236104 - Increase tiny script limit for off-thread compilation. r=djvj 2016-01-14 15:41:37 -06:00
Jan de Mooij 3409896cb1 Bug 1239519 - Fix debug-only initializion order issue detected by ASan. r=luke 2016-01-16 17:14:24 +01:00
Jan de Mooij d6df256937 Bug 1240127 - Fold MTableSwitch with constant int32 operand. r=nbp 2016-01-16 17:12:22 +01:00
Luke Wagner 72ea23c63e Bug 1239601 - improve the UniquePtr situation (r=jandem)
--HG--
extra : commitid : JegWAoGsuQ9
extra : rebase_source : 995c1b6ab8e4fd3b83c44741cd84a2d7b0d934d7
2016-01-15 18:26:20 -06:00
Luke Wagner 6ebd19920f Bug 1239601 - improve the UniquePtr situation (r=jorendorff)
--HG--
extra : commitid : FwqWNSZ3SKY
extra : rebase_source : 75ed67bfadcbdaeb5bf89a57ad6ca9ef75b7f1f0
2016-01-15 18:26:06 -06:00
Morgan Phillips bcf3efd1b8 Bug 1101256 - Implement detachment checks for %TypedArray% methods (patch 2 of 2); r=Waldo 2016-01-15 11:23:01 -06:00
Sebastian Hengst 3032b52d9f Backed out changeset 7701bd27ec28 (bug 1239605) for failing M(12) tests on Android. r=bustage 2016-01-15 17:52:20 +01:00
Terrence Cole 8898416495 Bug 1239754 - Remove HashKeyRef now that all of its users are using stable hashing; r=jonco
--HG--
extra : rebase_source : 90d3e54b42fdc40650a505ad3383de85d3a149e0
2016-01-14 15:00:20 -08:00
Terrence Cole 7ac1a10831 Bug 1239751 - FieldInfoHash does not need a post barrier; r=jonco
--HG--
extra : rebase_source : 52763799bc5cd5ece3f3631c16912ea5ca4359cc
2016-01-14 14:59:43 -08:00
Hannes Verschore 522562cc1f Bug 1240055: IonMonkey: When spewing info about range analysis, also spew truncation info, r=nbp 2016-01-15 11:19:03 -05:00
Lars T Hansen 55ef9d88ab Bug 1239605 - filter insertions into the global object. r=jandem
--HG--
extra : rebase_source : ca221f7f383353a1797a0bf76ff9e42bb20bbd97
extra : amend_source : 4890c690daa14bbf5242a7ba90d8b29f1d0a9903
2016-01-14 13:28:09 +01:00
Jon Coppeard ef0b0e075e Bug 1239369 - Restore oomTests's check that an exception is thrown on failure, except where it isn't r=terrence 2016-01-15 09:47:51 +00:00
Jon Coppeard 260683282f Bug 1239369 - Add some missing calls to ReportOutOfMemory r=terrence 2016-01-15 09:35:21 +00:00
Chris Peterson 8a76954155 Bug 1239539 - Enable clang's -Wclass-varargs warnings. r=glandium 2015-12-25 22:32:49 -07:00
Benjamin Bouvier 05e1c1ba12 Bug 1239724: Introduce RegExp registers to non-ion builds; r=arai
--HG--
extra : commitid : 5pV3jHeKdAD
extra : rebase_source : 06412db498b1f69325732d77f35d6d41b9b12c3d
extra : amend_source : 3f689afa4d9ee5277614ef235de3ba7429280d73
2016-01-14 18:08:59 +01:00
Makoto Kato 7ae350cb30 Bug 676828 - Initialize AudioSession on xpcshell. r=jmathies
--HG--
extra : commitid : 1mAJLVepOZR
2016-01-15 11:58:05 +09:00
Till Schneidereit 4eaf01bc54 Bug 1239403 - Add JSFUN_HAS_REST flag to JSFunctionSpec entries for self-hosted builtins with ...rest parameters. r=jandem
--HG--
extra : rebase_source : ffa6a17d5f780a1c71586bff9c456d7a4aeeedb8
2016-01-14 15:47:24 +01:00
Jan de Mooij a057dc3075 Bug 1237201 part 9 - Fix remaining issues. r=nfroyd
--HG--
extra : rebase_source : fcb2bebb2a30c813b577d6f0f753cd04c69db2c3
2016-01-14 22:12:13 +01:00
Terrence Cole 3c0b63c8e8 Bug 1239515 - Simplify HashSet's key-overwriting interface; r=sunfish 2016-01-14 09:43:30 -08:00
Jan de Mooij 0f06e10e07 Bug 1234845 part 4 - Eval frame refactoring, remove isFunctionFrame. r=luke 2016-01-14 17:02:43 +01:00
Jan de Mooij af2aede5a5 Bug 1234845 part 3 - Remove some fields and unions from InterpreterFrame. r=luke 2016-01-14 17:02:40 +01:00
Jan de Mooij acd6d856cb Bug 1234845 part 2 - Remove some dead code from InterpreterFrame. r=jonco 2016-01-14 17:02:38 +01:00
Jon Coppeard c73ad6fc40 Bug 1238610 - Fix implicit constructor errors r=me 2016-01-14 14:21:30 +00:00
Jan de Mooij 366cd49655 Bug 1237201 part 7 - Handle Vector OOM in nsPerformanceStats, telemetry. r=Yoric 2016-01-14 15:19:37 +01:00
Jan de Mooij 6aaa4ac617 Bug 1237201 part 5 - Ignore Vector OOM in JSMainRuntimeCompartmentsReporter. r=njn 2016-01-14 15:19:28 +01:00
Jon Coppeard 65f5672a1b Bug 1238610 - Restore compartment debug mode flags if adding a debuggee global fails r=jimb 2016-01-14 14:01:19 +00:00
Jon Coppeard 4098b4956e Bug 1238582 - Fix spurious assertion failure in array sort due to over-eager OOM simulation r=jandem 2016-01-14 13:51:39 +00:00
Jon Coppeard 0bccb498cd Bug 1238548 - Make GCRuntime::setParameter() fallible r=terrence 2016-01-14 13:50:50 +00:00
Jon Coppeard 46c160c030 Bug 1238575 - Fix shell evalInWorker() to wait for thread if it exits early r=terrence 2016-01-14 13:49:35 +00:00
Brian Hackett 34851976de Bug 1231024 - Fix printing of live bundle information in regalloc spew, r=jonco. 2016-01-14 06:13:25 -07:00
Bogdan Postelnicu 749cfba4bb Bug 1238911 - initialize canWait with false from constructor, avoid using the variable without initialization. r=lhansen
--HG--
extra : transplant_source : k%A0JMZ%3F%10%B1%FD%F4%DA%3F%08%EA%3F%DC9%14%A3c
2016-01-12 14:52:28 +02:00
Jeff Walden 1bdd937ff4 Remove an obsolete auto-regress test now that class-checks in the spec affirmatively reject proxies around permissible objects, making the test (which is enclosed in a try-catch block, no less) meaningless. No bug, r=me 2016-01-13 19:40:35 -08:00
Georg Kilzer 8ffe0ffc55 Bug 1236373 - Fix JSCLASS_CACHED_PROTO_WIDTH's definition when it appears outside the js namespace. r=jwalden
--HG--
extra : rebase_source : 27179d493978c6d5dbc1f5c7d05a6597ae9a0109
2016-01-03 21:15:41 +01:00
Tooru Fujisawa 8562b73b6c Bug 1234038 - Self-host ArrayBuffer.prototype.slice. r=lth 2015-12-26 02:32:11 +09:00
Ryan VanderMeulen 5115e9b08b Merge m-c to inbound. a=merge 2016-01-13 20:27:12 -05:00
Ryan VanderMeulen 065a253bf1 Merge inbound to m-c. a=merge 2016-01-13 20:25:33 -05:00
Eric Faust 28ee9b23bb Bug 1236519 - Ensure JSFunction::isDerivedClassConstructor properly handles lazy self-hosted functions. r=till a=bustage
--HG--
extra : commitid : 2wbAGof57a5
extra : amend_source : 7cc08cd47a8f0c8ce6388feb4ce117f18a85e789
2016-01-13 10:33:38 -08:00
Phil Ringnalda 9e650587fb Back out 29a5d0c6ea47 (bug 1239099) for a huge spike in instances of bug 1093064, frequent "test_cache_orphaned_cache.html | disk usage should have grown", and causing bug 1239206. At least.
CLOSED TREE
2016-01-12 22:42:30 -08:00
Luke Wagner 38859b7bad Bug 1239211 - Odin: tweak wasm::Decoder (r=bbouvier)
--HG--
extra : commitid : IBn15Ox2qvU
extra : rebase_source : c2304757b043e850319c713f674d05e4cb2b853c
2016-01-13 16:32:48 -06:00
Jan de Mooij d6403c4388 Bug 1237998 - Don't track property types for unboxed expando objects. r=bhackett 2016-01-13 22:05:11 +01:00
Jan de Mooij 4a42bcd91f Bug 1234425 - Skip accessor IC frames in GetPcScript. r=h4writer 2016-01-13 22:05:03 +01:00
Eric Faust 47600cb1e3 Bug 1236600 - Properly pre-barrier sets to inline TypedObject Any-type Elements. (r=jandem) 2016-01-13 12:00:07 -08:00
Jeff Walden 20b9686a79 Bug 1237449 - Finish cleaning up emitForOf's code now that it's not also implementing the spread operation. r=efaust
--HG--
extra : rebase_source : f18142304263d22c0486ae53d521af2e5d18afe6
2016-01-05 15:35:57 -08:00
Jeff Walden f6f9f46d40 Bug 1237449 - More emitSpread cleanups. r=efaust
--HG--
extra : rebase_source : 2efb42a82e8616eb6119a0b6ab47299b013801eb
2016-01-06 15:48:11 -08:00
Jeff Walden cf3643becc Bug 1237449 - Initial emitSpread cleanups. r=efaust
--HG--
extra : rebase_source : ba19a0eb1d5582eccf12b7657a7fdf2ea9f188e3
2016-01-05 14:44:15 -08:00
Jeff Walden 759095b96e Bug 1237449 - Copy emitForOf into a new emitSpread method, as part of eventually separating for-of and spread code emitting completely. r=efaust
--HG--
extra : rebase_source : d51ef5d062de8102782120f1869f31b33f5d217c
2016-01-05 13:59:02 -08:00
Jim Blandy 9aba54fc4f Bug 1236801: Don't check for simulated OOM in a way that invalidates AddPtrs for no discernable reason. (Revised to fix uninitialized var, r=sfink) r=jonco
--HG--
extra : rebase_source : 23222e831fb516bc3cc2672b4c6807564d56bce1
2016-01-12 16:49:45 -08:00
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