Commit Graph

33361 Commits

Author SHA1 Message Date
Jason Orendorff
e77930726a Bug 987995, part 3 - Move memory pressure callbacks from nsJSEnvironment/XPCJSRuntime to CycleCollectedJSRuntime. r=mccr8. 2014-05-22 08:18:02 -05:00
Jason Orendorff
1387145693 Bug 987995, part 2 - Add a data parameter to two memory-pressure-related callbacks. r=luke. 2014-05-22 08:18:01 -05:00
Jason Orendorff
961997c4b5 Bug 987995, part 1 - Add testing functions reportOutOfMemory and reportLargeAllocationFailure. r=terrence. 2014-05-22 08:18:01 -05:00
Jason Orendorff
39fc9b1699 Bug 1007173 - Fix a strict-aliasing warning. r=djvj. 2014-05-22 08:18:01 -05:00
Jason Orendorff
0de904ca09 Bug 993965 - Fix busted OOM handling in some places where OOM is not practically possible, for the benefit of fuzzers. r=h4writer. 2014-05-22 08:18:00 -05:00
Jason Orendorff
1744dbb58b Bug 1014131 - Fix JS GDB pretty-printers for recent changes to String layout. r=jandem. 2014-05-22 08:18:00 -05:00
Jason Orendorff
183db3f83e Fix archaic JSAPI usage in an example in the jsapi-tests/README file. No bug, no_r=me. 2014-05-22 08:18:00 -05:00
Kannan Vijayan
591e47628e Bug 995704 - Make Ion jitcode incrementally touch huge stack frames to avoid crashes on windows. REPUSH. r=sunfish 2014-05-21 11:57:04 -04:00
Nicolas B. Pierron
a7ea4ea8da Bug 1013922 - Avoid flattenning strings after each concatenation. r=jorendorff 2014-05-21 08:15:47 -07:00
Nicolas B. Pierron
4a8cc281cc Bug 1000605 - Prevent division's truncation after removal of Math functions. r=sunfish,bbouvier 2014-05-21 07:51:59 -07:00
Heiher
66354089ba Bug 997274 - Value.h uses NUNBOX32 and PUNBOX64 instead of JS_BITS_PER_WORD. r=nbp 2014-05-21 06:47:10 -07:00
Carsten "Tomcat" Book
88b5b45de0 Merge mozilla-central to mozilla-inbound 2014-05-21 14:26:21 +02:00
Carsten "Tomcat" Book
3189a1798c merge b2g-inbound to mozilla-central 2014-05-21 14:08:03 +02:00
Carsten "Tomcat" Book
e52ec8ff1a merge fx-team to mozilla-central 2014-05-21 13:57:43 +02:00
Carsten "Tomcat" Book
a52b61ee06 merge mozilla-inbound to mozilla-central 2014-05-21 13:45:46 +02:00
Jon Coppeard
c67c290422 Bug 988486 - Followup to fix build errors on non-theadsafe builds r=jandem 2014-05-21 11:47:47 +01:00
Ryan VanderMeulen
f38af37ac7 Backed out changeset 8433a3609a54 (bug 1001320) for suspected B2G device image bustage.
CLOSED TREE
2014-05-20 12:17:51 -04:00
Victor Porof
44e7c9f4bd Bug 1004726 - Clean up profiler pseudo-stack representation. r=djvj,mrosenberg 2014-05-20 15:25:25 -04:00
Branislav Rankov
d9b7bf43fa Bug 1007662 - Add missing functions for YARR JIT on MIPS. r=jandem 2014-05-08 15:50:50 +02:00
Hannes Verschore
a7fb554693 Bug 1011724 - IonMonkey: Prioritize the ionWorkload on the scripts useCount, r=bhackett 2014-05-20 16:21:51 +02:00
Ryan VanderMeulen
325030d40d Backed out changeset e280c3740a4a (bug 978811) for Android/B2G debug asserts.
CLOSED TREE
2014-05-20 09:42:33 -04:00
Benjamin Bouvier
a64b8145f2 Bug 1010747: Don't inline Ceil when input is a FP value and output is an Int32; r=jandem 2014-05-21 10:53:39 +02:00
Jan de Mooij
02c5eecd64 Bug 1011693 part 3 - Store ReplaceData dollar position as index instead of jschar*. r=terrence 2014-05-21 10:34:55 +02:00
Jan de Mooij
7b1ead71b5 Bug 1011693 part 2 - Refactor some loops in DoReplace and FindReplaceLength. r=terrence 2014-05-21 10:34:53 +02:00
Jan de Mooij
f757955c1e Bug 1011693 part 1 - rm ReplaceData::dollarEnd. r=terrence 2014-05-21 10:34:51 +02:00
Jan de Mooij
0df1bde115 Bug 1010738 - Add back LIR/MIR/jsop bailout spew. r=nbp 2014-05-21 10:34:47 +02:00
Jan de Mooij
805638ef03 Bug 1013917 part 2 - Add shell functions for testing latin1 strings. r=luke 2014-05-22 21:40:36 +02:00
Jan de Mooij
d98bae067a Bug 1013917 part 1 - Some JSString changes for latin1 strings. r=luke 2014-05-22 21:40:34 +02:00
Benjamin Bouvier
1a734a02fd Bug 1014479: Update js-gdb pretty printers to python3; r=jorendorff 2014-05-22 20:25:38 +02:00
Dan Gohman
676a95176a Bug 1012971 - SpiderMonkey: Fix various warnings. r=nbp 2014-05-22 11:15:06 -07:00
Tooru Fujisawa
039b32244e Bug 1003837 - Output dumpHeap result to stdout when 1st argument is null. r=evilpies. 2014-04-30 22:43:46 +09:00
Benjamin Bouvier
13719bae70 Bug 1010747: Factor out floating-point conversion to int32 and bailout code; r=sunfish 2014-05-22 12:03:13 +02:00
Benjamin Bouvier
c350674971 Bug 1010747: Implement Ceil (floating-point) -> int32 in Ion; r=sunfish,mjrosenb 2014-05-22 12:03:08 +02:00
Benjamin Bouvier
88b48f9ea6 Bug 1010747: Cleanups and factor out float32 specialization for unary instructions returning int32; r=jandem 2014-05-22 12:03:04 +02:00
Branislav Rankov
6ba1e9b9bd Bug 994716 - IonMonkey MIPS: Update branchTestStringTruthy with latest changes. r=nbp 2014-05-20 17:04:16 +02:00
Branislav Rankov
0d8967a948 Bug 994716 - IonMonkey MIPS: Add functions needed by IonTrampolines-mips to InvalidationBailoutStack. r=nbp 2014-05-08 14:41:32 +02:00
Branislav Rankov
99a3be1089 Bug 994716 - IonMonkey MIPS: Add executableCopy function to AssemblerBuffer. r=mrosenberg 2014-05-21 16:04:13 +02:00
Honza Bambas
ed629c4223 Bug 1014103 - Fix XPCShellImpl.cpp/GetLine() to use 4096 byte buffer as its caller, r=bz 2014-05-21 23:42:09 +02:00
Nicolas B. Pierron
3d841ec57c Bug 1011383 - Definitions/Declarations follow the order of RECOVER_OPCODE_LIST. r=bbouvier 2014-05-21 12:57:10 -07:00
Brian Hackett
fe7b4baa60 Bug 1010441 - Keep RegExpShared and RegExp jitcode around when preserving jitcode in a compartment, r=billm. 2014-05-21 11:31:02 -07:00
Jan de Mooij
fede95b520 Bug 1002709 - Fix regexp in cross-context-stack-1.js jit-test to not match the "beta" in the path name after a merge. r=luke 2014-04-29 00:12:51 +02:00
Jan de Mooij
b7ca61366d Bug 978811 - Fix isFakeExitFrame to return true for entry frames. r=nbp 2014-05-20 08:34:25 -04:00
Robert O'Callahan
bd67ea930b Bug 1001320. Part 5: Use #pragma GCC visibility on B2G. r=glandium
--HG--
rename : config/gcc_hidden.h => config/gcc_hidden_dso_handle.h
extra : rebase_source : 600bf9dd51c88ea0cdea3db2e20ce8ab1de9f3fb
2014-05-11 23:37:14 -07:00
Jon Coppeard
54f40bded4 Bug 929314 - Remove Handle::repoint() r=terrence 2014-05-20 10:57:03 +01:00
Jon Coppeard
13361a6401 Bug 929314 - Remove unused HandleScripts from IonSpewer and related classes r=jandem 2014-05-20 10:56:51 +01:00
Carsten "Tomcat" Book
e1e78f8f52 Backed out changeset 3da78e2f3ac8 (bug 1006695) for build test failures 2014-05-20 11:29:05 +02:00
Carsten "Tomcat" Book
0f6f864d1e Backed out changeset 70bc18f7b6d5 (bug 1006695) for spidermonkey test failures 2014-05-20 10:29:38 +02:00
Tooru Fujisawa
615fe196a3 Bug 1003149 - Part2: Implement JSOP_SPREAD* optimized stubs in the baseline compiler. r=jandem 2014-05-16 01:50:14 +09:00
Tooru Fujisawa
9c22413eab Bug 1003149 - Part1: Implement JSOP_SPREAD* fallback stubs in the baseline compiler. r=jandem 2014-05-09 01:21:12 +09:00
James Graham
41dd2b2604 Bug 1011458 - Buy back a few characters for Windows paths by renaming tests staging directory. r=ted 2014-05-16 04:55:00 +02:00
Ting-Yuan Huang
e1d5f09e7e Bug 1006695 - Mark workers in thread pool to be known by Nuwa. r=khuey
They will be recreated in the spawned process.
2014-05-14 00:32:00 +02:00
Ting-Yuan Huang
828e89a72d Bug 1006695 - Mark JS worker threads to be known by Nuwa. r=khuey
They will be recreated in the spawned process.
2014-05-14 00:32:00 +02:00
Phil Ringnalda
365a1062cc Bug 1009788 followup, make the test not fail when parallelJS is off, r=jonco 2014-05-19 07:12:33 -07:00
Wes Kocher
bd1a784c76 Backed out changeset c744c837c732 (bug 789261) for Gaia-unit test bustage on a CLOSED TREE 2014-05-19 15:20:43 -07:00
Boris Zbarsky
57472f29b6 Bug 1010658 part 1. Stop using the DOMClass stored in DOM_PROTO_INSTANCE_CLASS_SLOT for doing type checks in the jit, and do them directly on the instance classes instead. r=efaust 2014-05-19 16:37:59 -04:00
Nathan Froyd
380d6fe3d9 Bug 1012748 - part 3 - remove nsIXPCSecurityManager; r=bholley 2014-05-19 12:59:30 -04:00
Nathan Froyd
e74c4a2f69 Bug 1012748 - part 2 - remove unnecessary includes of nsIXPCSecurityManager.h; r=bholley 2014-05-19 12:43:00 -04:00
Nathan Froyd
c36743f297 Bug 1012748 - part 1 - remove unused mDefaultSecurityManager field; r=bholley 2014-05-19 12:42:33 -04:00
Peter Van der Beken
c9832d2f31 Bug 789261 - Enable WebIDL bindings for Window. r=bz.
--HG--
extra : rebase_source : ae0d50133962c86ecdb7bf60f5ec8d359f681ac0
2014-04-08 20:48:37 +02:00
Ryan VanderMeulen
6d6729637e Merge m-c to b2g-inbound. 2014-05-20 14:57:26 -04:00
Ting-Yuan Huang
72d06b1a38 Bug 1006695 - Mark workers in thread pool to be known by Nuwa. r=luke
They will be recreated in the spawned process.
2014-05-20 18:07:22 +08:00
Ting-Yuan Huang
b76ce542de Bug 1006695 - Mark JS worker threads to be known by Nuwa. r=luke
They will be recreated in the spawned process.
2014-05-20 18:06:14 +08:00
Peter Van der Beken
11c7284be9 Bug 1010955 - Fix tests so they'll work with Window on WebIDL bindings. r=bz.
--HG--
rename : content/media/webspeech/synth/ipc/test/test_ipc.html => content/media/webspeech/synth/ipc/test/file_ipc.html
2014-02-15 22:12:35 +01:00
Brian Hackett
15c7d0da1e Bug 1009899 - Don't unnecessarily freeze inlining done during definite properties analysis, r=jandem. 2014-05-19 11:33:11 -07:00
Carsten "Tomcat" Book
2fb1104640 Backed out changeset 46c16792274f (bug 1010955) for suspicion of causing memory leaks on a CLOSED TREE 2014-05-19 15:02:58 +02:00
Inanc Seylan
90dcf4712f Bug 1010339 - Add recover functionality for Ursh; r=bbouvier 2014-05-19 13:56:23 +02:00
Peter Van der Beken
a74f42c6f9 Bug 1010955 - Fix tests so they'll work with Window on WebIDL bindings. r=bz.
--HG--
rename : content/media/webspeech/synth/ipc/test/test_ipc.html => content/media/webspeech/synth/ipc/test/file_ipc.html
extra : rebase_source : c7dc7fc44717ad6bf5381ecb8a537bf698ee962e
2014-02-15 22:12:35 +01:00
Jon Coppeard
ff8c7a30f4 Bug 988486 - Move verifier functions into GCRuntime r=terrence 2014-05-19 11:09:55 +01:00
Jon Coppeard
19af16a986 Bug 988486 - Make some GCRuntime members private and add necessary accessors r=terrence 2014-05-19 11:09:55 +01:00
Vincent St-Amour
d8a735f1cf Bug 1012966 - Fix typoes in comments in IonBuilder.cpp. r=shu 2014-05-19 16:08:00 +02:00
Nick Fitzgerald
c658f3745e Bug 1012646 - Check for non-existant script filenames in SavedStacks::insertFrames. r=ejpbruel 2014-05-20 15:45:00 +02:00
Dan Gohman
777222d5aa Bug 1004363 - Follow-up patch to fix a few more places that should ignore trivial blocks on ARM. r=me 2014-05-20 22:58:45 -07:00
Bobby Holley
6dfb7cf31b Bug 997440 - Stop associating XPCWrappedNativeScopes with an XPCContext. r=bz 2014-05-20 22:52:20 -07:00
Bobby Holley
9cad68a527 Bug 997440 - Use the WrappedJS's global as an entry global. r=bz
This basically means that baseURI will be relative to global in which the code
is defined, which seems reasonable.
2014-05-20 22:52:20 -07:00
Bobby Holley
4e144db9b2 Bug 997440 - Introduce a special null principal to return when we're not in any compartment at all. r=bz 2014-05-20 22:52:20 -07:00
Bobby Holley
239818f4e1 Bug 997440 - Fix an XPConnect test bug. r=bz
This failure is currently being silently squelched on trunk.
2014-05-20 22:52:19 -07:00
Bobby Holley
0f933598b0 Bug 997440 - Push some more cxes in jsd. r=bz 2014-05-20 22:52:18 -07:00
Robert O'Callahan
2e946b1671 Bug 1001320. Part 5: Use #pragma GCC visibility on B2G. r=glandium
--HG--
rename : config/gcc_hidden.h => config/gcc_hidden_dso_handle.h
2014-05-11 23:37:14 -07:00
Dan Gohman
e1805ef6cd Bug 1004363 - IonMonkey: Eliminate the UnsplitEdges pass and just have Codegen know how to skip past trivial blocks. r=mjrosenb 2014-05-20 20:28:49 -07:00
Dan Gohman
4a31f96ccb Bug 1004363 - IonMonkey: Better basic block and graph dumping. r=mjrosenb 2014-05-20 20:28:49 -07:00
Luke Wagner
1bca15de31 Bug 1013658 - Handle null ScriptSource in AutoFilename::get (r=bholley)
--HG--
extra : rebase_source : d154d1c974c8ec69744773c14d57c278e75a77f5
2014-05-20 21:12:23 -05:00
Dan Gohman
fcc00b93f4 Bug 1010586 - IonMonkey: Make MUse enforce use-list invariants automatically. r=nbp 2014-05-20 18:43:16 -07:00
Dan Gohman
cadf002007 Bug 1007027 - IonMonkey: Don't do backedge type processing for resume points in deleted blocks. r=nbp 2014-05-20 18:43:16 -07:00
Dan Gohman
640a53f88f Bug 1010586 - IonMonkey: Eliminate the isObserved flag and compute observability on demand. r=nbp 2014-05-20 18:43:15 -07:00
Dan Gohman
5939d1f221 Bug 1010586 - IonMonkey: Shrink the MUse class by making the index field unnecessary. r=nbp 2014-05-20 18:43:15 -07:00
Brian Hackett
ab0bca3a73 Bug 1012642 - Trigger a read barrier earlier when copying RegExpShared from one object to another, r=billm. 2014-05-20 16:12:49 -07:00
Dan Gohman
9a5cfdeacc Bug 1012964 - IonMonkey: Follow-up patch to give a variable a better name. r=me DONTBUILD 2014-05-20 13:51:22 -07:00
Terrence Cole
550d6b3006 Bug 1010655 - Always use the faster version of IsInsideNursery when possible; r=jonco
--HG--
extra : rebase_source : 18c195a3a5897529275deb210bfa7f57f8e29bd8
2014-05-14 19:48:09 -07:00
Dan Gohman
ddd7d7f120 Bug 1012964 - IonMonkey: Optimize LiveInterval::addRange. r=bhackett 2014-05-20 13:36:40 -07:00
Brian Hackett
a3f22d95fb Bug 1011879 - Fixup code offsets correctly when pushing jump targets in irregexp, r=jandem. 2014-05-17 16:22:19 -07:00
Phil Ringnalda
04710cbb1c Back out d18b1b320eea (bug 1008753) for marionette-webapi and gaia-unit bustage 2014-05-17 08:32:45 -07:00
Douglas Crosher
04bf5d16a1 Bug 988789 - Ionmonkey: rework the instruction cache flushing, fix irregexp support, rs=bustage 2014-05-17 23:03:48 +10:00
Nick Fitzgerald
f7867161ca Bug 1006876 - Add a recursion check to SavedStacks::insertFrames. r=ejpbruel 2014-05-17 03:27:54 -07:00
Douglas Crosher
5a479adbd8 Bug 988789. r=luke 2014-05-15 13:43:04 +10:00
Brian Hackett
62e2cea370 Bug 1008753 - Don't require shape checks when calling getters/setters on common prototypes, r=efaust. 2014-05-16 18:00:44 -07:00
Bill McCloskey
366c658c5d Bug 996785 - Fix CPOW wrapping and compartment ownership (r=mrbkap) 2014-05-16 16:40:37 -07:00
Bill McCloskey
f080a0f66d Bug 996785 - Bidirectional CPOWs (r=mrbkap) 2014-05-16 16:40:37 -07:00
Bill McCloskey
ace030e0bb Bug 996785 - Distinguish local and remote CPOW objects in IPDL (r=mrbkap) 2014-05-16 16:40:36 -07:00
Bill McCloskey
ecb5b87e51 Bug 996785 - Use more descriptive IPDL types for CPOW value variants (r=mrbkap) 2014-05-16 16:40:36 -07:00
Bill McCloskey
ce0b3770fa Bug 996785 - Move CPOW wrapper answering code (r=mrbkap) 2014-05-16 16:40:36 -07:00