Commit Graph

35131 Commits

Author SHA1 Message Date
Bobby Holley
4c2d9e0211 Bug 1052089 - Rename JunkScope to PrivilegedJunkScope and remove fallibility of singleton scope access. r=billm
These two things ended up getting mushed together in my tree.
2014-08-18 10:57:30 -07:00
Bobby Holley
0a751ae4d7 Bug 1052089 - Infallibly init singleton scopes in the XPCJSRuntime constructor. r=billm
We've had some problems with GetJunkScope returning null and causing crashes in
the past, but I'm now pretty convinced that just null-checking it isn't the
answer. Rather than creating it lazily, we should create it at a defined point
in startup. Any problems will then be much more reproducible, and we can track
them down and fix them.
2014-08-18 10:57:30 -07:00
Bobby Holley
bfe01a01cf Bug 1052089 - Make the junk scope invisible to the debugger and Components-less. r=billm
This prevents the JS engine from trying to fire off debugger notifications and
do other complicated things when we create this thing early in startup in the
upcoming patches.
2014-08-18 10:57:30 -07:00
Bobby Holley
ff340370af Bug 1052089 - Don't fuss around with remote-XUL XBL-scope special cases for sandboxes. r=billm 2014-08-18 10:57:29 -07:00
Bobby Holley
e90a53352c Bug 1052089 - Don't require the cx to be in a compartment during sandbox creation. r=billm 2014-08-18 10:57:29 -07:00
Bobby Holley
ed9975b903 Bug 1052089 - Stop using a contractid to create a null principal during sandbox creation. r=billm
This causes problems when used too early in startup.
2014-08-18 10:57:29 -07:00
Bobby Holley
c0a0c702aa Bug 1052089 - Add a System Principal accessor to nsXPConnect and use it in Sandbox creation. r=billm
nsContentUtils isn't ready by this point.
2014-08-18 10:57:29 -07:00
Terrence Cole
45d3423e01 Bug 1033442 - Remove non-pod realloc from MallocProvider and AllocPolicy; r=jonco
--HG--
extra : rebase_source : 507ab10313127ffcbf905c42438882aa9074c38a
2014-08-05 14:06:35 -07:00
Hannes Verschore
2d57181c09 Bug 1054753: IonMonkey: Infer functions should not optimize when encountering MIRType_Symbol, r=nbp 2014-08-18 18:47:47 +02:00
Aryeh Gregor
15ec3ba67b Bug 1053190 - Reduce unnecessary inclusion of nsINode.h in headers; r=ehsan 2014-08-18 17:44:50 +03:00
Hannes Verschore
f7a57cc5e2 Bug 1054974 - Don't recover instructions which have the Guard flag, r=nbp 2014-08-18 13:52:12 +02:00
Jan de Mooij
01a9c34e1b Bug 1054359 - Add is-object check to IonBuilder::makeCallHelper. r=efaust 2014-08-18 12:03:55 +02:00
Kannan Vijayan
3d6731b54e Bug 1054340 - Remove PcOffset IR instructions. r=h4writer 2014-08-17 15:58:16 -04:00
Brian Hackett
53c1b6b3cf Bug 1053683 - Add overrecursion checks to FillInBMInfo. r=jandem 2014-08-14 10:37:00 -04:00
Dan Gohman
b904bfa9c1 Bug 1045948 - IonMonkey: Make LAllocation's data unsigned r=bhackett 2014-08-16 13:13:14 -07:00
Dan Gohman
324a9f8273 Bug 1045948 - IonMonkey: Make bogus LAllocations have an all-zeros bit pattern. r=bhackett 2014-08-16 13:13:14 -07:00
Dan Gohman
77617b27f0 Bug 1045948 - IonMonkey: Eliminate LDefintion::PASSTHROUGH. r=bhackett 2014-08-16 13:13:13 -07:00
Dan Gohman
e693de15af Bug 1045948 - IonMonkey: Obviate LAllocation's tag bit. r=bhackett 2014-08-16 13:13:13 -07:00
Tom Schuster
484e1135ad Bug 1054322 - Start putting JSMSGs into categories. r=till 2014-08-16 18:53:15 +02:00
Guptha Rajagopal
de9f3f653a Bug 1045848 - MUST_MATCH_TOKEN should not report error when token is TOK_ERROR. r=jorendorff 2014-08-13 11:01:00 -04:00
Guptha Rajagopal
066d4f9cb0 Bug 924672 - Implement ES6 method definitions. r=jorendorff 2014-08-15 15:55:00 -04:00
Jan de Mooij
65b6676d4e Bug 1053431 - Fix a shell-only race with enableOsiPointRegisterChecks(). r=nbp 2014-08-16 16:13:30 +02:00
Jan de Mooij
9d2098c1bb Bug 1030460 - Always initialize shadowsResult in EffectlesslyLookupProperty to work around a Clang/Valgrind issue. r=djvj 2014-08-16 16:00:40 +02:00
Jan de Mooij
2be4bf41c7 Bug 1046585 part 7 - rm js/src/assembler/wtf/Platform.h and some other cruft. r=sunfish 2014-08-16 14:04:25 +02:00
Jan de Mooij
121f753b8e Bug 1046585 part 6 - Move supportsFloatingPoint from JSC assembler to new assemblers. r=sunfish 2014-08-16 14:04:17 +02:00
Tom Schuster
4406169868 Bug 1054322 - Remove unused JSMSGs. r=till 2014-08-16 13:34:58 +02:00
Tooru Fujisawa
1b7f5ec824 Bug 1053692 - Do not use optimized stub for spread call with many arguments. r=jandem 2014-08-15 22:02:25 +09:00
Bill McCloskey
163cfc3cc8 Bug 950745 - Back out assertions that are triggering too often 2014-08-15 16:16:42 -07:00
Bill McCloskey
847e144f39 Bug 1046964 - Remove some dead code (r=Waldo) 2014-08-15 16:14:50 -07:00
Terrence Cole
374265c0dd Bug 1033442 - Remove non-pod malloc from MallocProvider and AllocPolicy; r=jonco 2014-08-08 13:22:39 -07:00
Steve Fink
09c67dcee1 Bug 1037358 - Fix up ArrayBufferObject malloc accounting, assigning to correct zone for all types, r=terrence,froydnj,smaug 2014-08-12 16:59:12 -07:00
Shian-Yow Wu
a53f9dc83a Bug 1037358 - Pass the flag in setDataPointer() to indicate whether data is memory-mapped., r=Waldo 2014-07-15 03:02:00 -07:00
Tom Schuster
9a0f378fbb Bug 1051611 - Remove error numbers from js.msg. r=jorendorff 2014-08-15 15:28:10 +02:00
Tom Schuster
ec38d3a668 Bug 1037723 - Fix how the js shell global environment handles symbols. r=jandem 2014-08-15 15:28:10 +02:00
Hannes Verschore
8c1cd0bd8e Backout changeset c01dea53dd60, r=faulty 2014-08-15 14:29:47 +02:00
Jan de Mooij
bc4a8d8b4e Bug 1046585 part 5 - Stop using WTF_* defines. r=sunfish 2014-08-15 14:01:10 +02:00
Jon Coppeard
8221a43116 Bug 650161 - Fix test failures with compacting GC enabled r=terrence 2014-08-14 11:52:33 +01:00
Jon Coppeard
88bd528fda Bug 650161 - Add new stats phases for compacting GC r=terrence 2014-08-14 11:52:31 +01:00
Jon Coppeard
4b716098cc Bug 650161 - Implement compacting GC for JSObjects r=terrence 2014-08-14 11:52:24 +01:00
Jon Coppeard
29cdbafb57 Bug 650161 - Update pointers in TraceDataRelocations r=mjrosenb 2014-08-14 11:46:55 +01:00
Jon Coppeard
f91b2acbc0 Bug 650161 - Update pointers to relocated objects r=terrence 2012-06-05 11:47:42 -07:00
Jon Coppeard
d6b0c78f58 Bug 650161 - Use the invocation kind passed to the first slice for the whole GC r=terrence 2014-08-14 11:46:46 +01:00
Jon Coppeard
0b33da9079 Bug 650161 - Update internal hash table checks for use after compacting GC as well r=terrence 2014-08-14 11:46:33 +01:00
Jon Coppeard
24cd519cd4 Bug 650161 - Add functions for forwarding cells r=terrence 2014-08-14 11:46:29 +01:00
Jon Coppeard
22aa411e62 Bug 650161 - Add --enable-gccompacting configure flag for compacting GC r=terrence r=ted 2014-08-14 11:46:26 +01:00
Jon Coppeard
ba0e871fea Bug 1052422 - Remove trivial shim functions that call into the GC r=sfink 2014-08-14 10:32:06 +01:00
Bobby Holley
7c7704aa07 Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 18:47:15 -07:00
Bobby Holley
d6a4070c87 Bug 1052052 - Hoist AutoCxPusher into ScriptSettings.h. r=gabor 2014-08-14 18:47:15 -07:00
Dan Gohman
d0f7653db0 Bug 1041673 - IonMonkey: Implement opcode testing and casts with member function templates. r=nbp 2014-08-14 17:11:57 -07:00
Jim Blandy
912aa4c4ee Bug 961326: Give SpiderMonkey an API that embeddings can use to safely construct values for Debugger clients. r=jorendorff 2014-08-14 16:33:21 -07:00
Jim Blandy
2031db478b Bug 1051115: Let users tell ubi::Edge not to provide edge names, as they're expensive to compute, and not everyone needs them. r=terrence 2014-08-14 15:59:59 -07:00
Ryan VanderMeulen
7c3098f03b Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage. 2014-08-14 17:23:10 -04:00
Bobby Holley
e5da39b71b Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 12:54:34 -07:00
Bobby Holley
95763e1065 Bug 1052052 - Hoist AutoCxPusher into ScriptSettings.h. r=gabor 2014-08-14 12:53:52 -07:00
Nicholas D. Matsakis
a24bcd9614 Bug 1029130 -- Add ObjectPolicy to MNeuterCheck. r=jandem 2014-08-07 16:55:49 -04:00
Luke Wagner
e19a920fca Backed out changeset 6a72436c8a75 - Need smarter fix to deal with Emscripten bug 2014-08-14 12:46:19 -05:00
Benjamin Bouvier
253068c9b9 Bug 1048923: Remove unused MIRFlag macro in SIMD functions list; r=nmatsakis
--HG--
extra : rebase_source : a89e67e411918b5a0580d6e94a2d27110e541c3b
2014-08-14 17:39:24 +02:00
Benjamin Bouvier
e89a78a878 Bug 1048923: Distinguish unary and binary SIMD functions; r=nmatsakis
--HG--
extra : rebase_source : 5c34fcd13998388dc0d0755f9bbc5779b5f5a5f8
2014-08-14 17:39:17 +02:00
Benjamin Bouvier
71906163b6 Bug 1048923: Create StoreResult helper and make use of it; r=nmatsakis
--HG--
extra : rebase_source : 784aaf66410220bca9b2c87887136a561164da9a
2014-08-14 17:39:05 +02:00
Benjamin Bouvier
9673a64f12 Bug 1048923: Use helpers in GetLane; r=nmatsakis
--HG--
extra : rebase_source : 08bd80f112f357a0094a6bf081f2e4f6da7f40ec
2014-08-14 17:11:05 +02:00
Nicolas B. Pierron
2c4ac46e3e Backed out changeset 04892482d288 (Bug 998485) for Octane regressions. 2014-08-14 17:25:12 +02:00
Luke Wagner
9fc97f032e Bug 1053544 - OdinMonkey: issue link-time validation error when given non-primitive import value (r=bbouvier) 2014-08-14 10:00:37 -05:00
Rémi WENG
47593330e6 Bug 998485 - IonMonkey: Remove analyzeEdge* functions. r=nbp 2014-08-14 15:11:43 +02:00
Sylvestre Ledru
1f1a764333 Bug 1053135 - Disable the usage of -freorder-blocks when using clang r=glandium
In future version of clang, unsupported optimization flags are going to trigger a warning. They used to be silently ignored or triggering an error.
2014-08-14 14:43:30 +02:00
Ed Morley
fb3fcd966d Backed out changeset dc66d16f19c8 (bug 1052422) for hazard analysis failures 2014-08-14 13:38:51 +01:00
Ed Morley
5a23df2bd2 Backed out changeset 297ca183fff9 (bug 650161) for crashes; CLOSED TREE 2014-08-14 12:53:15 +01:00
Ed Morley
c84119068e Backed out changeset c965ceb8b24a (bug 650161) 2014-08-14 12:52:52 +01:00
Ed Morley
bf76f94805 Backed out changeset a52d8157462f (bug 650161) 2014-08-14 12:52:49 +01:00
Ed Morley
983ee7a97d Backed out changeset a6b5fcc90664 (bug 650161) 2014-08-14 12:52:45 +01:00
Ed Morley
98625ac358 Backed out changeset 3adf62f886d9 (bug 650161) 2014-08-14 12:52:41 +01:00
Ed Morley
c8394eab37 Backed out changeset d4fca818c9a8 (bug 650161) 2014-08-14 12:52:37 +01:00
Ed Morley
a052b30af8 Backed out changeset edc768336c80 (bug 650161) 2014-08-14 12:52:34 +01:00
Ed Morley
42706bda79 Backed out changeset bdcd60020523 (bug 650161) 2014-08-14 12:52:30 +01:00
Ed Morley
8c11a7efc9 Backed out changeset 8d1e96d1eb31 (bug 650161) 2014-08-14 12:52:27 +01:00
Ed Morley
61a82a07a9 Backed out changeset 55126a7a7447 (bug 650161) 2014-08-14 12:52:23 +01:00
Jon Coppeard
07a53535bf Bug 650161 - Fix build error in non-unified builds r=me 2014-08-14 12:26:06 +01:00
Jon Coppeard
165afa8f8f Bug 650161 - Fix test failures with compacting GC enabled r=terrence 2014-08-14 11:52:33 +01:00
Jon Coppeard
64e065fab8 Bug 650161 - Add new stats phases for compacting GC r=terrence 2014-08-14 11:52:31 +01:00
Jon Coppeard
5ae930f7bd Bug 650161 - Implement compacting GC for JSObjects r=terrence 2014-08-14 11:52:24 +01:00
Jon Coppeard
f79e1f9a76 Bug 650161 - Update pointers in TraceDataRelocations r=mjrosenb 2014-08-14 11:46:55 +01:00
Jon Coppeard
f6bc914690 Bug 650161 - Update pointers to relocated objects r=terrence 2012-06-05 11:47:42 -07:00
Jon Coppeard
f6da333e8d Bug 650161 - Use the invocation kind passed to the first slice for the whole GC r=terrence 2014-08-14 11:46:46 +01:00
Jon Coppeard
53a6e5f9aa Bug 650161 - Update internal hash table checks for use after compacting GC as well r=terrence 2014-08-14 11:46:33 +01:00
Jon Coppeard
65f6757ac5 Bug 650161 - Add functions for forwarding cells r=terrence 2014-08-14 11:46:29 +01:00
Jon Coppeard
d4dc9fe4ba Bug 650161 - Add --enable-gccompacting configure flag for compacting GC r=terrence r=ted 2014-08-14 11:46:26 +01:00
Jon Coppeard
628a9f8e1a Bug 1052422 - Remove trivial shim functions that call into the GC r=sfink 2014-08-14 10:32:06 +01:00
David Major
77e70e7320 Bug 1043108 - Remove arch:IA32 from non-x86 builds. r=glandium
--HG--
extra : rebase_source : 3826e179b2e2f14371a58a476b29cb1dd4d088d7
2014-08-14 11:08:05 +12:00
Seth Fowler
9867e42134 Bug 913586 (Part 6) - Update Maybe users in js. r=luke
--HG--
extra : rebase_source : c5d23a7874de49e61b43f79b8eda744db0523c6e
2014-08-13 15:42:00 -07:00
Bobby Holley
8980f912bc Bug 1052042 - Move the pre-pop GC to AutoEntryScript. r=billm 2014-08-13 15:36:44 -07:00
Ehsan Akhgari
2b398bdd1b Bug 1044596 - Fix more bad implicit conversion constructors in the JS engine; r=jorendorff 2014-07-27 13:40:52 -04:00
Eric Faust
74a5708f6a Bug 1053460 - Make AddonWrapper instances const. (r=bholley) 2014-08-13 15:23:28 -07:00
Eric Faust
f1ea2e72bc Bug 1053447 - Re-enable background finalization of proxies. (r=terrence) 2014-08-13 15:23:26 -07:00
Jeff Walden
3c67b34094 Bug 1052358 - Non-unified build bustage fix. r=bustage in a CLOSED TREE 2014-08-13 13:56:52 -07:00
Steve Fink
ce91cc8247 Bug 1015339 - Add functions for getting and dumping the current backtrace, r=jandem
--HG--
extra : rebase_source : 59f9334d04023667ec6e0e75878a3278980a289c
2014-06-10 15:10:19 -07:00
Luke Wagner
6f0b555b12 Bug 992461 - Turn off the shell's asm.js cache by default (r=bbouvier)
--HG--
extra : rebase_source : 12b23393ae2ebda0b40526d94bbf97005d490874
2014-08-13 15:08:19 -05:00
Jeff Walden
c6e0c9495a Bug 1052988 - Make the error reporter only set the failure flag if the report is actually of an exception. r=jorendorff 2014-08-12 18:16:22 -07:00
Nathan Braswell
0a1d293a2f Bug 1052358 - Support copying over symbol properties in Object.assign. r=jwalden 2014-08-12 16:07:47 -07:00
Chris Peterson
64aad00143 Bug 1053061 - Remove unnecessary return undefineds in JS self-hosted code now that bogus return warning has been removed in bug 1046964. r=billm 2014-08-11 20:10:30 -07:00
Ed Morley
fe15d8f328 Merge mozilla-central and inbound 2014-08-13 17:03:24 +01:00
Kannan Vijayan
ab0d4f60ff Bug 1004831 - Part 6 - Fixups to ensure that entries get rejigged curretly during BaselineDebugModeOSR. r=h4writer 2014-08-13 11:59:58 -04:00