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

51167 Коммитов

Автор SHA1 Сообщение Дата
Jan de Mooij 3def9c33a7 Bug 1207210 - Fix MTypeBarrier::alwaysBails to handle ObjectOrNull inputs correctly. r=h4writer 2015-09-22 20:11:31 +02:00
Jan de Mooij c985f025b2 Bug 1199952 - Mark formal arguments when we have a LazyLink frame. r=nbp 2015-09-22 19:08:21 +02:00
Benjamin Bouvier 86e7530420 Bug 1205708: Check if validation failed before reporting helper thread failure in Odin; r=luke
--HG--
extra : commitid : wOOPXy1fXN
extra : rebase_source : f03aa9184a4cb390c50ffa49fe34852824e7c6ae
2015-09-21 14:13:18 +02:00
Brian Hackett 338e221561 Bug 1199898 - Tolerate constants appearing before interrupt checks during instruction reordering, r=sunfish. 2015-09-22 09:20:26 -06:00
Brian Hackett 3426511eb3 Bug 1203790 - Trigger a pre barrier when shrinking the initialized length of unboxed arrays, r=jandem. 2015-09-22 09:15:46 -06:00
Brian Hackett 65b10d348f Bug 1204165 - Fix typo when concatenating arrays with different unboxed layouts, r=jandem. 2015-09-22 09:11:50 -06:00
Brian Hackett e49a6e8fcc Bug 1204722 - Make sure that unboxed arrays created from literals are compatible with the type of the literal's elements, r=jandem. 2015-09-22 09:07:35 -06:00
Ted Mielczarek c9723e04e7 bug 1205273 - Define XP_IOS in js/src. r=glandium
--HG--
extra : commitid : C8piP4s4lHb
extra : rebase_source : 0b85f1b20b898ffb061e928941ef34236753d502
2015-09-22 10:51:53 -04:00
Brian Hackett 529898fbf5 Bug 1205870 - Make sure all possible unboxed array inline capacities are accounted for, r=jandem. 2015-09-22 08:59:07 -06:00
Brian Hackett b684bd7d54 Bug 1168091 - Initialize startLine and startColumn members in FunctionBox constructor, r=jorendorff. 2015-09-22 08:54:11 -06:00
Jon Coppeard 0325857e5a Bug 1204857 - Report an error if there's trailing garbage after parsing a module r=efaust 2015-09-22 14:03:20 +01:00
Jon Coppeard 528dc79f84 Bug 1191576 - Fix JIT invalidation spew to work when called while compacting r=terrence 2015-09-22 14:03:19 +01:00
Jon Coppeard 1fb4684bf5 Bug 1206677 - Fix the NoGC version of NewStringCopyNDontDeflate() to not report error on failure r=jandem 2015-09-22 14:03:19 +01:00
Andrea Marchesini c36e94b0c9 Bug 1203561 - Use StructuredCloneHelper in StackScopedCloneData, r=smaug 2015-09-22 12:54:34 +01:00
Carsten "Tomcat" Book 6d064687ac Merge mozilla-central to mozilla-inbound 2015-09-22 12:49:44 +02:00
Carsten "Tomcat" Book 651a168616 merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : toolkit/devtools/server/actors/styleeditor.js => devtools/server/actors/styleeditor.js
rename : toolkit/devtools/server/actors/stylesheets.js => devtools/server/actors/stylesheets.js
rename : toolkit/devtools/gcli/commands/screenshot.js => devtools/shared/gcli/commands/screenshot.js
2015-09-22 12:35:13 +02:00
sajitk b0607a7ed7 Bug 1205744 - Removed redundant method IsContextRunningJS. r=h4writer 2015-09-18 20:18:00 +02:00
Nicolas B. Pierron 5f62613026 Bug 1204726 - Make sure that the MacroAssembler is no longer rooted when onIonCompilation is called. r=h4writer 2015-09-16 10:37:00 +02:00
Tooru Fujisawa 5d406f0ff6 Bug 773687 - Fix assertion pattern in RegExp with sticky flag. r=till
--HG--
extra : rebase_source : 42307a81dcee87426ace32a276f34281b550bc7f
2015-09-20 00:00:36 +09:00
J. Ryan Stinnett 4f1af0e003 Bug 912121 - Update misc. DevTools paths and comments. rs=devtools
--HG--
extra : commitid : BSf4D59s9HF
extra : rebase_source : 4d14e1aa3ad93bbb426861336e8b703bc1e0b3af
2015-09-21 12:07:31 -05:00
J. Ryan Stinnett efe328f1b2 Bug 912121 - Rewrite require / import to match source tree. rs=devtools
In a following patch, all DevTools moz.build files will use DevToolsModules to
install JS modules at a path that corresponds directly to their source tree
location.  Here we rewrite all require and import calls to match the new
location that these files are installed to.

--HG--
extra : commitid : F2ItGm8ptRz
extra : rebase_source : b082fe4bf77e22e297e303fc601165ceff1c4cbc
2015-09-21 12:04:18 -05:00
Tooru Fujisawa bf61d82b0c Bug 1203964 - Part 5: Move MacroAssembler::lshift64 into generic macro assembler. r=sstangl
--HG--
extra : rebase_source : 50578325a8227ea4101b5535cb8a609632f79a51
2015-09-13 07:33:35 +09:00
Tooru Fujisawa bb6e2b2e1a Bug 1203964 - Part 4: Move MacroAssembler::lshiftPtr into generic macro assembler. r=nbp
--HG--
extra : rebase_source : 5f74ff1b2ea0cc5f6869119b8beb19f07c5cfd59
2015-09-13 07:33:35 +09:00
Tooru Fujisawa 8250d9dc2c Bug 1203964 - Part 3: Move MacroAssembler::rshift64 into generic macro assembler. r=hev
--HG--
extra : rebase_source : 4eba3c9ed0c8141c267cd4e2985074ef2c80a2a1
2015-09-12 11:16:25 +09:00
Tooru Fujisawa 72dc86fadd Bug 1203964 - Part 2: Move MacroAssembler::rshiftPtrArithmetic into generic macro assembler. r=jandem
--HG--
extra : rebase_source : 3cdaaee1984f5e0aece4dfe937bce1ed856204da
2015-09-12 11:11:39 +09:00
Tooru Fujisawa bac0aaf828 Bug 1203964 - Part 1: Move MacroAssembler::rshiftPtr into generic macro assembler. r=h4writer
--HG--
extra : rebase_source : 8c4f7494b43202c867f7215acac7a2e53bb24bc9
2015-09-12 11:01:17 +09:00
Bobby Holley a15b59d7f8 Bug 1206817 - Take ownership of error reporting in the component loader. r=bz 2015-09-21 17:05:59 -07:00
Kannan Vijayan cc5cb89e2b Bug 1084009 - Part 1/3 - Parse sync scripts off the main thread. r=smaug 2015-09-21 19:07:01 -04:00
Eric Faust 9f997cc687 Bug 1192412 - Followup: Unbreak js1_8_5/reflect-parse/classes.js, erroneously neutered. (rs=jorendorff) 2015-09-21 15:40:25 -07:00
Jeff Walden 65b65a4999 Bug 1187234 - Throw a TypeError when Array.isArray is passed a revoked proxy. r=efaust 2015-08-23 01:10:24 -07:00
Jeff Walden 9f027cf405 Bug 1206300 - Allow immutable prototypes to be disabled at compile time with a single-line change, but don't actually disable them. r=jorendorff 2015-09-18 17:16:08 -07:00
Jeff Walden bdefda6d0b Bug 1205586 - new Date().toLocale{,Date,Time}String() should return appropriately differing strings as the local time zone/default locale change. r=till 2015-09-18 17:16:08 -07:00
Terrence Cole 3301b277a1 Bug 1188290 - Remove an incomplete assertion about store buffer state; r=jandem 2015-09-21 09:41:29 -07:00
Jan de Mooij fa74c41137 Bug 683218 - Disable __noSuchMethod__ support. r=jorendorff 2015-09-21 19:53:36 +02:00
Jim Blandy 8d74976282 Bug 1206590: Move gcWeakMapList from JSCompartment to JS::Zone. r=terrence
--HG--
extra : rebase_source : 287d3e570e5bdd149ad4cea31c7c8cf49be773dd
extra : amend_source : 1bf0a04c6adfb1ed20437fccb02b6d446c7d88eb
2015-09-18 23:07:34 -07:00
Tooru Fujisawa fa41a95f62 Bug 774364 - Part 4: Add setRNGState testing function. r=sstangl
--HG--
extra : rebase_source : 94f14759ccc270b0cf3de5550e81a0c9faa24a0d
2015-08-07 07:42:17 +09:00
Tooru Fujisawa f85e8206c9 Bug 774364 - Part 3: Move Math.random() to macro assembler. r=sstangl,hev,nbp, f=rankov
--HG--
extra : rebase_source : 1d77ed28dcb1999130294b9b6bf8cad1b2779382
2015-08-07 07:41:16 +09:00
Tooru Fujisawa 382e758bf4 Bug 774364 - Part 2: Move architecture specific function from BaseAssembler-x86-shared.h to BaseAssembler-x86.h and BaseAssembler-x64.h. r=sstangl
--HG--
extra : rebase_source : fa23208393ce9df8ca4c3b16685dba412df6fa71
2015-08-07 07:39:12 +09:00
Christoph Kerschbaumer 668ebc2ff2 Bug 1206149 - Use channel->AsyncOpen2() js/xpconnect/loader/mozJSSubScriptLoader.cpp (r=sicking) 2015-09-19 20:26:09 -07:00
Mike Hommey 538706caba Bug 1203840 - Trigger dirty pages purge after CC. r=njn,r=smaug,r=mccr8
Jemalloc 4 purges dirty pages regularly during free() when the ratio of dirty
pages compared to active pages is higher than 1 << lg_dirty_mult.  We set
lg_dirty_mult in jemalloc_config to limit RSS usage, but it also has an impact
on performance.

So instead of enforcing a high ratio to force more pages being purged, we keep
jemalloc's default ratio of 8, and force a regular purge of all dirty pages,
after cycle collection.

Keeping jemalloc's default ratio avoids cycle-collection-triggered purge to
have to go through really all dirty pages when there are a lot, in which case
the normal jemalloc purge during free() will already have kicked in. It also
takes care of everything that doesn't run the cycle collector still having
a level of purge, like plugins in the plugin-container.

At the same time, since jemalloc_purge_freed_pages does nothing with jemalloc 4,
repurpose the MEMORY_FREE_PURGED_PAGES_MS telemetry probe to track the time
spent in this cycle-collector-triggered purge.
2015-09-20 17:43:43 +09:00
Brian Hackett e76fb387ee Backout d29fef133d8a for octane regressions. 2015-09-19 14:46:48 -06:00
Jan de Mooij 54366d34b4 Bug 1204073 - Optimize GETELEM with constant string-or-symbol index better in Ion. r=bhackett 2015-09-19 21:00:03 +02:00
Brian Hackett 1e0c0f6319 Bug 1206265 - Add missing increment operations, r=jandem. 2015-09-19 12:44:39 -06:00
Jan de Mooij eee51a81be Bug 1203791 - Fix LazyLink issue with Debugger::onIonCompilation. r=h4writer 2015-09-19 20:00:40 +02:00
Jan de Mooij e51d81ee75 Bug 1201850 - Don't elide stack check when getelem/setelem caches are used. r=bhackett 2015-09-19 20:00:16 +02:00
Jan de Mooij cee00a968a Bug 1199175 - Fix Debugger::slowPathOnLeaveFrame to remove the frame on OOM too. r=shu 2015-09-19 20:00:14 +02:00
Brian Hackett 42b1701245 Bug 1198861 - Improve type barrier logic to avoid unnecessary tests on primitive types, and fix redundant baseline stubs for SETELEM property adds, r=jandem. 2015-09-19 10:40:22 -06:00
Jon Coppeard 416bd71ac3 Bug 1201057 - Update shell args for OOM tests now we don't have to worry about unhandlable OOMs r=terrence 2015-09-21 14:31:51 +01:00
Jon Coppeard 957e1c5086 Bug 1201057 - Use AutoEnterOOMUnsafeRegion in places where we can't handle OOM r=terrence 2015-09-21 14:31:51 +01:00
Jon Coppeard b815d04f9b Bug 1201057 - Move AutoEnterOOMUnsafeRegion to Utility.h with the other OOM simulation infrastructure r=terrence 2015-09-21 14:31:51 +01:00
Benjamin Bouvier f1cb998d7b Bug 1206640: Fix an implicit constructor in PosixNSPR.cpp; r=nbp
--HG--
extra : commitid : 9f3rNLn1aR6
extra : rebase_source : 92d5346a52c2f7125b6f434f19e2d73ccb63bbce
2015-09-16 17:10:13 +02:00
Benjamin Bouvier 358a47b0ba Bug 1205842: Don't add range asserts to recovered on bailouts instructions; r=nbp
--HG--
extra : commitid : CiHyGriq9B3
extra : rebase_source : e99244d4f1ed79ee00391d02626ef22f182a3fd2
2015-09-18 09:02:03 +02:00
Benjamin Bouvier 7eeac1fde4 Bug 1204604: Check for int32 value, not int32 type, in SIMD.T.{replaceLane,shuffle,swizzle}; r=lth
--HG--
extra : commitid : 7MmgnJUuUwi
extra : rebase_source : d69d9d84fe3904972d5f3ddbbaf7d684bfd0b321
2015-09-21 12:52:53 +02:00
Heiher e8d3447c57 Bug 1206591 - IonMonkey: MIPS32: Move LIRGeneratorMIPS::visitRandom to architecture-specific. r=arai
---
 js/src/jit/mips-shared/Lowering-mips-shared.cpp | 11 -----------
 js/src/jit/mips-shared/Lowering-mips-shared.h   |  1 -
 js/src/jit/mips32/Lowering-mips32.h             |  1 +
 3 files changed, 1 insertion(+), 12 deletions(-)
2015-09-22 00:32:17 +08:00
Heiher 71bccbbdcb Bug 1205921 - IonMonkey: MIPS32: Fix scratch register in MacroAssembler::memIntToValue. r=evilpie
---
 js/src/jit/mips32/MacroAssembler-mips32.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2015-09-22 00:32:09 +08:00
Carsten "Tomcat" Book 0bd5f800f7 Backed out 1 changesets (bug 984018) for bustage
Backed out changeset 7cbb158c2c9b (bug 984018)
2015-09-21 08:54:53 +02:00
Victor Carlquist b6bc8043cf Bug 984018 - Fixed build on Arm64; r=nbp 2015-09-17 09:24:36 -03:00
Jim Blandy cba6cef20c Bug 1200482: Make Debugger respect 'enabled' flag when setting allocation tracking hook on debuggee compartments, and check that it does. r=fitzgen
--HG--
extra : rebase_source : cc98909c59452b5934e93f72dd930d4557386b2f
extra : amend_source : aaa340168608d79713e68e77613b53bab3337e6f
2015-08-31 17:34:49 -07:00
Heiher f2da366525 Bug 1205917 - IonMonkey: MIPS32: Use rshiftPtrArithmetic in clampIntToUint8. r=arai
---
 js/src/jit/mips32/MacroAssembler-mips32.cpp | 25 +++++++++++++++++++++++++
 js/src/jit/mips32/MacroAssembler-mips32.h   | 23 +----------------------
 2 files changed, 26 insertions(+), 22 deletions(-)
2015-09-21 21:48:53 +08:00
Nick Fitzgerald 8098307c50 Bug 1204584 - Ensure that entries created by AutoSPSEntry propogate their category information; r=djvj
This commit renames ProfileEntry::set{Js,Cpp}Frame methods to
ProfileEntry::init{Js,Cpp}Frame to highlight the fact that they are intended to
initialize the entry, and that setting other flags should happen after one of
these calls.
2015-09-19 11:19:07 +02:00
Kan-Ru Chen 2f53a68cb8 Bug 1205255 - Force inline and use relaxed atomic. r=terrence 2015-09-19 13:29:34 +08:00
Terrence Cole 5da7dbdb73 Bug 1205054 - Remove isNullLike and other imprecise null checks; r=sfink 2015-09-16 11:19:44 -07:00
Nick Fitzgerald 13e4da0954 Bug 1074935 - Add SPS pseudo frames for JSRope flattening; r=jandem 2015-09-18 12:49:10 -07:00
Nick Fitzgerald c0d3a62244 Bug 1204169 - Push SPS pseudo frame entries when GCing; r=terrence 2015-09-18 12:49:09 -07:00
Eric Faust 53266494e0 Bug 1203733 - Fix emitting super.prop1.prop2. (r=jorendorff) 2015-09-18 09:23:21 -07:00
Hannes Verschore 793a8a2c48 Bug 1204675: IonMonkey - Don't specialize using baseline stubs for strict equality, r=jandem 2015-09-18 17:27:07 +02:00
Hannes Verschore 174e4b5a99 Bug 1204675: IonMonkey - Replace input with constant in a tableswitch, r=jandem 2015-09-18 17:27:05 +02:00
Jan de Mooij 3d0e19298e Bug 1204025 - Change Symbol.length to be 0 instead of 1. r=jorendorff
--HG--
extra : rebase_source : 9097f96c245a71284457b07497f1be065eb628cc
2015-09-18 11:23:01 +02:00
Tom Schuster e3fbb8bc43 Bug 603201 - Change GetProperty receiver argument to Value in the browser. r=smaug 2015-09-18 00:14:41 +02:00
Tom Schuster 98ae187a52 Bug 603201 - Change GetProperty receiver argument to Value in JS. r=efaust 2015-09-18 00:14:33 +02:00
Wes Kocher 5f70fae987 Backed out 2 changesets (bug 1204169, bug 1074935) for Werror bustage CLOSED TREE
Backed out changeset b4621131ea01 (bug 1074935)
Backed out changeset 14dbd30e63af (bug 1204169)
2015-09-17 13:58:15 -07:00
Nick Fitzgerald 3e52d7cc21 Bug 1074935 - Add SPS pseudo frames for JSRope flattening; r=jandem 2015-09-17 12:51:00 -07:00
Nick Fitzgerald 83ed1d9024 Bug 1204169 - Push SPS pseudo frame entries when GCing; r=terrence 2015-09-17 12:51:00 -07:00
Benjamin Bouvier 32752ace7c Bug 1181612: Split AsmJSValidate into AsmJS{Validate,Compile} and different headers; r=luke
--HG--
extra : commitid : 6phV7Jjrd6w
extra : rebase_source : 34a0664ef5e0d62785adabd6a3291f31ef6056ca
2015-09-16 19:30:23 +02:00
Benjamin Bouvier 04bd01241d Bug 1205328: undef min/max at the top of irregexp/RegExpAST.h if they're already defined; r=ehsan
--HG--
extra : commitid : IUMVPkcozaG
extra : rebase_source : ab9efea6f8651ac254085d3bf033323bdbfc9e98
2015-09-16 18:00:34 +02:00
Jakob Olesen 8da6573d15 Bug 1204692 - Add arm64-sim variant to the autospider.sh script. r=sstangl
Build with --enable-sim=arm64. Don't run any tests beyond "make check".
The ARM64 JIT is not yet up to it.
2015-09-15 14:31:00 +02:00
Hannes Verschore 75548be5e0 Bug 1204725 - IonMonkey: Check result when copying frame iter data, r=nbp 2015-09-17 09:21:42 +02:00
Hannes Verschore 2653d7d935 Bug 1204866 - IonMonkey: Crash when failing to apand to parse finished list, r=bhackett 2015-09-17 09:21:40 +02:00
Nicholas Nethercote 647b520991 Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8.
--HG--
rename : xpcom/glue/pldhash.cpp => xpcom/glue/PLDHashTable.cpp
rename : xpcom/glue/pldhash.h => xpcom/glue/PLDHashTable.h
extra : rebase_source : 06b9d30db96ed78500fd44d9c0b51609103508a3
2015-09-15 20:49:53 -07:00
Eric Faust cb66cd4258 Bug 1204402 - Fix export-entries.js and module-environment.js to not fail when classes are disabled, r=jorendorff
--HG--
extra : rebase_source : ae906d851b6ff4a66b22978d4c0111d2eb5fb0e7
2015-09-16 13:03:00 -07:00
Tooru Fujisawa fc911293ee Bug 1165011 - Remove Symbol_isRegExp. r=jorendorff
--HG--
extra : rebase_source : ce22dcc8417877c2f9ea0fe5b7cb9121fe603d98
2015-05-31 04:37:43 +09:00
Tooru Fujisawa 07402e6111 Bug 1022369 - Correctly execute |Function("var x\n/regex/g")| without throwing a SyntaxError. r=Waldo
--HG--
extra : rebase_source : 6de4e284875cfc91bd3af9adf1e3cc4ace87683c
2015-09-12 09:12:50 +09:00
Tooru Fujisawa c74c476208 Bug 1204368 - Fix modifier used for ASI after do-while. r=Waldo
--HG--
extra : rebase_source : 1d9a548e2731ac15ca70c2159a0722378adb1c36
2015-09-12 09:26:01 +09:00
Tooru Fujisawa 32ed91fff3 Bug 1203963 - Part 1: Call test_syntax in syntax-error-illegal-character.js. r=Waldo
--HG--
rename : js/src/jit-test/tests/basic/syntax-error-illegal-character.js => js/src/jit-test/tests/parser/syntax-error-illegal-character.js
extra : rebase_source : f9f3f2a07e2a60c4a5cc792489d6afb0d31afc71
2015-09-11 23:33:12 +09:00
Tooru Fujisawa 887023599b Bug 1203963 - Part 0: Support Reflect.parse with module in parser test. r=Waldo
--HG--
extra : rebase_source : da57a034012f17e23fbda45afa2e4a9c075e5389
2015-09-12 00:05:38 +09:00
Jeff Walden 3753500541 Bug 1204027 - Followup to fix a hazard, and (conveniently enough) to also make a minor cleanup enabled by the fix. r=bustage
--HG--
extra : rebase_source : 8d5ac788d28bcc91d1425601e663cb3a325c6b51
2015-09-16 17:31:14 -07:00
Jeff Walden 3865615d09 Bug 920479 - Properly convert all arguments to the Function constructor to strings before parsing out an arguments list for the function to be created. r=arai
--HG--
extra : rebase_source : 0e17f04d327ebc007dcc92aef8bf356d93f13e8b
2015-09-16 13:39:37 -07:00
Jeff Walden 4ef4061b96 Bug 1204027 - Forbid escapes within keywords when parsing/tokenizing. r=arai
--HG--
extra : rebase_source : 3def5ff0e7e6a2e2e6490c8d9b700dc7fa98a630
2015-09-14 14:11:26 -07:00
Jeff Walden 4695fc0edc Bug 1204027 - Rejigger export-parsing code to make a subsequent change simpler. r=arai
--HG--
extra : rebase_source : f8ce66934709b5b3984bbbdf09654987f1d64a24
2015-09-16 13:36:10 -07:00
Nicolas B. Pierron 0b107f9b8a Bug 1203695 - GenerateLcovInfo: Check if JSScripts have associated bytecode before spewing their content. r=bhackett 2015-09-16 21:11:36 +02:00
Nicolas B. Pierron 64c0db4ea9 Bug 1176880 part 3 - Debugger.Script.getOffsetsCoverage: Add documentation. r=shu 2015-09-16 21:11:35 +02:00
Nicolas B. Pierron e9e0015186 Bug 1176880 part 2 - Add Debugger.Script.getOffsetsCoverage. r=shu
--HG--
rename : js/src/jit-test/tests/coverage/simple.js => js/src/jit-test/tests/debug/Script-getOffsetsCoverage-01.js
2015-09-16 21:11:35 +02:00
Nicolas B. Pierron b2aebab5f5 Bug 1176880 part 1 - Add a flag on the Debugger & Compartment to record code-coverage information. r=shu 2015-09-16 21:11:34 +02:00
Christoph Kerschbaumer cd033a0e00 Bug 1205154 - Use channel->Open2() in js/xpconnect/src/XPCJSRuntime.cpp (r=sicking) 2015-09-15 19:52:07 -07:00
Nicolas B. Pierron 5f6a01f344 Bug 1199171 part 1 - Assembler::GetCF32Target: Decode instructions as needed. r=h4writer 2015-09-16 20:10:57 +02:00
Nicolas B. Pierron a61fb2159f Bug 1199171 part 0 - Add spewInst function for debugging Jit code. r=lth 2015-09-16 20:10:57 +02:00
Benjamin Bouvier 539e639d7a Bug 1204847: Reinterpret the asmFunc pointer as an AsmFunction in case of offthread compile error; r=luke
--HG--
extra : commitid : I14ORiegKKz
extra : rebase_source : 9d0406506d630262e4d806b15519955b914e227e
2015-09-15 19:21:06 +02:00
Luke Wagner 64685d1397 Bug 1204864 - Odin: reject UINT32_MAX heap resize mask. r=bbouvier
--HG--
extra : rebase_source : 5dcf80f286b5a0f243c8fd3812c05015bc960c14
2015-09-15 08:33:00 +02:00
Kan-Ru Chen 16cae3c6c6 Bug 1123237 - Part 12. Fix GC hazards. r=terrence 2015-09-16 10:31:14 +08:00
Kan-Ru Chen 22e4adba22 Bug 1123237 - Part 5. Don't emit inline allocation when memory profiler enabled. r=terrence
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-09-16 10:31:11 +08:00
Kan-Ru Chen 75ad5add64 Bug 1123237 - Part 4. Monitoring allocations and frees for ArrayBuffer. r=terrence,sfink
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-09-16 10:31:10 +08:00
Kan-Ru Chen bdd0fc968b Bug 1123237 - Part 3. Monitoring allocation and gc events in nursery and tenured heaps. r=terrence
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-09-16 10:31:10 +08:00
Kan-Ru Chen 00a45d37f4 Bug 1123237 - Part 2. MemoryProfiler hooks in js engine. r=terrence
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-09-16 10:31:09 +08:00
Heiher 7f784dca23 Bug 1204913 - IonMonkey: MIPS32: Fix build erros in defineSinCos. r=sunfish
---
 js/src/jit/shared/Lowering-shared-inl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2015-09-16 17:01:29 +08:00
Heiher bd386cddb4 Bug 1204214 - IonMonkey: MIPS: Split shareable code to mips-shared in BaselineCompiler-mips32. r=nbp
---
 .../BaselineCompiler-mips-shared.cpp}                        |  6 +++---
 .../BaselineCompiler-mips-shared.h}                          | 12 +++++-------
 js/src/jit/mips32/BaselineCompiler-mips32.cpp                |  2 +-
 js/src/jit/mips32/BaselineCompiler-mips32.h                  |  4 ++--
 js/src/moz.build                                             |  1 +
 5 files changed, 12 insertions(+), 13 deletions(-)
 copy js/src/jit/{mips32/BaselineCompiler-mips32.cpp => mips-shared/BaselineCompiler-mips-shared.cpp} (65%)
 copy js/src/jit/{mips32/BaselineCompiler-mips32.h => mips-shared/BaselineCompiler-mips-shared.h} (57%)

--HG--
rename : js/src/jit/mips32/BaselineCompiler-mips32.cpp => js/src/jit/mips-shared/BaselineCompiler-mips-shared.cpp
rename : js/src/jit/mips32/BaselineCompiler-mips32.h => js/src/jit/mips-shared/BaselineCompiler-mips-shared.h
2015-09-16 17:01:27 +08:00
Heiher 4d95da1500 Bug 1204194 - IonMonkey: MIPS: Split shareable code to mips-shared in MoveEmitter-mips32. r=nbp
---
 .../MoveEmitter-mips-shared.cpp}                   | 182 ++------------------
 .../MoveEmitter-mips-shared.h}                     |  35 ++--
 js/src/jit/mips32/MoveEmitter-mips32.cpp           | 190 ---------------------
 js/src/jit/mips32/MoveEmitter-mips32.h             |  42 +----
 js/src/moz.build                                   |   1 +
 5 files changed, 39 insertions(+), 411 deletions(-)
 copy js/src/jit/{mips32/MoveEmitter-mips32.cpp => mips-shared/MoveEmitter-mips-shared.cpp} (45%)
 copy js/src/jit/{mips32/MoveEmitter-mips32.h => mips-shared/MoveEmitter-mips-shared.h} (65%)

--HG--
rename : js/src/jit/mips32/MoveEmitter-mips32.cpp => js/src/jit/mips-shared/MoveEmitter-mips-shared.cpp
rename : js/src/jit/mips32/MoveEmitter-mips32.h => js/src/jit/mips-shared/MoveEmitter-mips-shared.h
2015-09-16 17:01:24 +08:00
Heiher 65e669153f Bug 1204193 - IonMonkey: MIPS: Split shareable code to mips-shared in Bailouts-mips32. r=nbp
---
 .../Bailouts-mips-shared.cpp}                      | 37 +---------------------
 .../Bailouts-mips-shared.h}                        |  6 ++--
 js/src/jit/mips32/Bailouts-mips32.cpp              | 18 ++---------
 js/src/jit/mips32/Trampoline-mips32.cpp            |  2 +-
 js/src/moz.build                                   |  1 +
 5 files changed, 8 insertions(+), 56 deletions(-)
 copy js/src/jit/{mips32/Bailouts-mips32.cpp => mips-shared/Bailouts-mips-shared.cpp} (40%)
 rename js/src/jit/{mips32/Bailouts-mips32.h => mips-shared/Bailouts-mips-shared.h} (93%)

--HG--
rename : js/src/jit/mips32/Bailouts-mips32.cpp => js/src/jit/mips-shared/Bailouts-mips-shared.cpp
rename : js/src/jit/mips32/Bailouts-mips32.h => js/src/jit/mips-shared/Bailouts-mips-shared.h
2015-09-16 17:01:22 +08:00
Heiher fc9c2355dc Bug 1204192 - IonMonkey: MIPS: Split shareable code to mips-shared in BaselineIC-mips32. r=nbp
---
 .../BaselineIC-mips-shared.cpp}                    | 32 ----------------------
 js/src/jit/mips32/BaselineIC-mips32.cpp            | 26 ------------------
 js/src/moz.build                                   |  1 +
 3 files changed, 1 insertion(+), 58 deletions(-)
 copy js/src/jit/{mips32/BaselineIC-mips32.cpp => mips-shared/BaselineIC-mips-shared.cpp} (55%)

--HG--
rename : js/src/jit/mips32/BaselineIC-mips32.cpp => js/src/jit/mips-shared/BaselineIC-mips-shared.cpp
2015-09-16 17:01:20 +08:00
Nicholas Nethercote 2ee4fd783b Bug 1121760 (part 6) - Move all remaining PL_DHash*() functions into PLDHashTable. r=poiru.
--HG--
extra : rebase_source : 3cdc975507170d783b02d70f7c7d95c6bf2e1bcd
2015-09-14 14:23:47 -07:00
Nicholas Nethercote 59683492e5 Bug 1121760 (part 3) - Remove PL_DHashTableRemove(). r=poiru.
--HG--
extra : rebase_source : c34d693de4aca45f2ea05c2767c8b1007c89df29
2015-09-14 14:23:24 -07:00
Nicholas Nethercote 479244f7c9 Bug 1121760 (part 2) - Remove PL_DHashTableAdd(). r=poiru.
--HG--
extra : rebase_source : 41eb939bfb5c925cba58b1af57abce9a4e5fdb30
2015-09-14 14:23:12 -07:00
Nicholas Nethercote fcfdd8f54b Bug 1121760 (part 1) - Remove PL_DHashTableSearch(). r=poiru.
--HG--
extra : rebase_source : 770e1f49a451ecbadd778e071b204611e27cf701
2015-05-21 00:34:25 -07:00
Terrence Cole c5685d0363 Bug 1204594 - Use MOZ_RAII to replace GUARD_OBJECT where possible in the GC; r=sfink
--HG--
extra : rebase_source : 50eb4339b8fe16376c39a07978d61f6ea1f47eae
2015-09-15 12:12:26 -07:00
Benjamin Bouvier a61f160aa5 Bug 1203297: Fix makeFrameDescriptor warnings on x86 and x64, in non-unified builds; r=terrence
--HG--
extra : commitid : 5DdCivAHE8H
extra : rebase_source : a5b4deee9fb4038458602cdb2c29e077100f1a8d
extra : amend_source : c8f18dc87a26d06c9d192eee2d3def9a2cbd6da6
2015-09-15 21:13:12 +02:00
Terrence Cole b311e04c8f Bug 1203297 - Fix one last bit of unified bustage; r=bbouvier
--HG--
extra : rebase_source : 944d85f96c01ecf425e8f2f1c6e643bfd7341855
2015-09-15 12:10:47 -07:00
Terrence Cole b5eb379da9 Bug 1203297 - Fix even more unified bustage; r=efaust
--HG--
extra : rebase_source : 483c7b420958fd38e8e3fbbb7f7be034b0792125
2015-09-09 14:26:07 -07:00
Terrence Cole c664099840 Bug 1202048 - Root JSONParser explicitly; r=sfink
--HG--
extra : rebase_source : 6ed56523f0d4999762b89d8feb7ebb3738fb5be4
2015-08-20 12:26:45 -07:00
Heiher fdd9cec249 Bug 1204191 - IonMonkey: MIPS: Split shareable code to mips-shared in Lowering-mips32. r=nbp
---
 .../Lowering-mips-shared.cpp}                      | 264 +++----------
 .../Lowering-mips-shared.h}                        |  28 +-
 js/src/jit/mips32/Lowering-mips32.cpp              | 409 +--------------------
 js/src/jit/mips32/Lowering-mips32.h                |  73 +---
 js/src/moz.build                                   |   1 +
 5 files changed, 63 insertions(+), 712 deletions(-)
 copy js/src/jit/{mips32/Lowering-mips32.cpp => mips-shared/Lowering-mips-shared.cpp} (50%)
 copy js/src/jit/{mips32/Lowering-mips32.h => mips-shared/Lowering-mips-shared.h} (79%)

--HG--
rename : js/src/jit/mips32/Lowering-mips32.cpp => js/src/jit/mips-shared/Lowering-mips-shared.cpp
rename : js/src/jit/mips32/Lowering-mips32.h => js/src/jit/mips-shared/Lowering-mips-shared.h
2015-09-16 06:53:27 +08:00
Benjamin Bouvier 9aca84c96f Bug 1107011: reduce number of iterations in jit-tests/ion/bug1107011-2.js; r=lth
--HG--
extra : commitid : GzVlf1FDekx
extra : rebase_source : 2c19b54617c0a8c32157e2d7175dd0c9996c147a
2015-09-15 13:36:39 +02:00
Lars T Hansen 561e77b8d2 Bug 1202643 - bailout from udiv on nonzero remainder. r=nbp 2015-09-15 11:01:20 +02:00
Nick Fitzgerald 89e4d96d13 Bug 1204613 - Add a static_assert that ProfileEntry::{Flags,Category} do not overlap; r=djvj
--HG--
extra : rebase_source : d5c6e873e2f10479b92da829d93af0a36bba6f82
2015-09-14 11:57:00 +02:00
Luke Wagner 8d1f1a1c5d Bug 1204404 - Odin: move assert to avoid assertion failure. r=lth
--HG--
extra : rebase_source : d2f682855fdf2a3bf3fd63dce18976c4d28fec59
2015-09-14 07:04:00 +02:00
Jakob Olesen e9ff98b451 Bug 1204102 - Add missing includes and namespaces to UbiNodeCensus files. r=sfink
--HG--
extra : rebase_source : 3a6d3748a0d49c4070cf5b0d7b44df8ce5d748ac
2015-09-14 13:59:00 +02:00
Victor Carlquist 4d5d75f626 Bug 984018 - sincos optimization. r=nbp 2015-09-13 10:58:23 -03:00
Victor Carlquist e19e1ac0e0 Bug 984018 - Added signatures in simulators (arm, arm64 and mips). r=nbp 2015-09-12 21:06:37 -03:00
Heiher 53ba39c53b Bug 1204422 - IonMonkey: MIPS32: Make more MacroAssembler functions can be shared. r=arai
---
 js/src/jit/mips32/MacroAssembler-mips32.cpp | 129 ++++++++++++++++------------
 js/src/jit/mips32/MacroAssembler-mips32.h   | 111 +++++++++++++-----------
 2 files changed, 133 insertions(+), 107 deletions(-)
2015-09-15 20:31:38 +08:00
Heiher ae2c2c1ca3 Bug 1204189 - IonMonkey: MIPS: Split shareable code to mips-shared in LIR-mips32. r=nbp
---
 js/src/jit/LIR.h                                   |   5 +-
 .../LIR-mips32.h => mips-shared/LIR-mips-shared.h} |  72 +----
 js/src/jit/mips32/LIR-mips32.h                     | 291 ---------------------
 3 files changed, 7 insertions(+), 361 deletions(-)
 copy js/src/jit/{mips32/LIR-mips32.h => mips-shared/LIR-mips-shared.h} (82%)

--HG--
rename : js/src/jit/mips32/LIR-mips32.h => js/src/jit/mips-shared/LIR-mips-shared.h
2015-09-15 17:48:36 +08:00
Mike Hommey 55fe15cdb5 Bug 1203857 - Allow to build standalone js against jemalloc4. r=gps 2015-09-15 10:21:38 +09:00
Nick Fitzgerald c713c6521e Bug 1204167 - Create the js::AutoSPSEntry RAII class for defining psuedo frame entries; r=djvj 2015-09-14 12:15:12 -07:00
Nick Fitzgerald 31d58123f4 Bug 1204168 - Add the js::ProfileEntry::setCategory method; r=djvj 2015-09-14 12:15:12 -07:00
Terrence Cole 92f475b51a Bug 1202051 - Use a PersistentRooted to automate tracing of unwrappedException_; r=sfink 2015-09-04 13:40:59 -07:00
Nigel Babu 962c78b6e0 Backed out changeset 3fac2976a472 (bug 1204168) for build bustage
CLOSED TREE
2015-09-14 22:11:51 +05:30
Nick Fitzgerald c65c4a0250 Bug 1204168 - Add the js::ProfileEntry::setCategory method; r=djvj 2015-09-14 09:19:59 -07:00
Heiher aa484d5f6a Bug 1204187 - IonMonkey: MIPS32: Inline RelocationIterator. r=nbp
---
 js/src/jit/mips-shared/Assembler-mips-shared.cpp | 23 -----------------------
 js/src/jit/mips32/Assembler-mips32.cpp           |  9 ++++++---
 2 files changed, 6 insertions(+), 26 deletions(-)
2015-09-15 03:24:40 +08:00
Jon Coppeard 2ed5a4697c Bug 1203814 - "Adding a testing function causes intermittent orange in oomInFormatStackDump.js on Win32 debug SM(p)." r=jcoppeard 2015-09-11 03:53:00 +02:00
Lars T Hansen e1779518ef Bug 1202757 - disassemble more instructions. r=sstangl 2015-09-14 11:37:42 +02:00
Lars T Hansen 196f2415fd Bug 1202650 - add a flagTemp on ARM. r=nbp. 2015-09-14 11:37:39 +02:00
Lars T Hansen 712c5d1581 Bug 1202650 - split common code into platform variants. r=nbp 2015-09-14 11:37:33 +02:00
Benjamin Bouvier 3d9e25d145 Bug 1107011: Propagate recovered on bailout flags when converting float32 to doubles; r=nbp
--HG--
extra : commitid : 4Qpl3YoMxb4
extra : rebase_source : 19aa3b1ce200b0f93182de017aff27ea28ddffaf
extra : amend_source : 50989fdc15258cf7c763d2df3a727ae4853ba543
2015-09-10 11:58:44 +02:00
Eric Faust 2fd667967b No Bug - Ensure that ion/bug1185957.js won't permafail on uplift. (r=me) 2015-09-13 20:16:56 -07:00
Brian Hackett 1833de80c4 Bug 1198861 - Backout faaafe8c3d1e for massive regressions. 2015-09-13 16:55:58 -06:00
Brian Hackett c8a62d0aec Bug 1199384 - Add shell function for writing a typed array to a file, r=sfink. 2015-09-13 15:19:33 -06:00
Brian Hackett be0ddae533 Bug 1198861 - Improve type barrier logic to avoid unnecessary tests on primitive types, and fix redundant baseline stubs for SETELEM property adds, r=jandem. 2015-09-13 13:37:14 -06:00
Heiher 19f698ff50 Bug 1204306 - IonMonkey: MIPS32: Clean up MacroAssembler functions that aliased to Assembler. r=arai
---
 js/src/jit/mips32/CodeGenerator-mips32.cpp    | 10 +++----
 js/src/jit/mips32/MacroAssembler-mips32-inl.h |  2 +-
 js/src/jit/mips32/MacroAssembler-mips32.cpp   | 38 +++------------------------
 js/src/jit/mips32/MacroAssembler-mips32.h     |  5 ----
 js/src/jit/mips32/SharedIC-mips32.cpp         |  6 ++---
 js/src/jit/mips32/Trampoline-mips32.cpp       | 16 +++++------
 6 files changed, 21 insertions(+), 56 deletions(-)
2015-09-14 03:31:43 +08:00
Michael Layzell 0097c41e01 Bug 1201190 - Part 3: Mark every consumer of GUARD_OBJECT as MOZ_RAII, r=ehsan 2015-09-12 16:53:33 -04:00
Michael Layzell 1eaae658aa Bug 1156802 - Part 2: Remove all explicit move constructors, r=ehsan 2015-09-12 12:34:45 -04:00
Jakob Olesen 3cf7590ac5 Bug 1203287 - Fix build errors in ARM64 JIT. r=hv1989
- A new argument was added to a jumpWithPatch(), but arm64 wasn't
  updated.

- Add missing 'using namespace js'. This seems to be random fallout from
  the way source files get unified when building arm64.

- Fix a 'return = foo' typo. It seems this code was never compiled.
2015-09-13 03:29:25 +08:00
Heiher 839f8d927d Bug 1194139 - IonMonkey: MIPS: Split shareable code to mips-shared in Assembler-mips32. r=nbp
---
 .../Assembler-mips-shared.cpp}                     |  753 +++---------
 .../Assembler-mips-shared.h}                       |  145 +--
 js/src/jit/mips32/Assembler-mips32.cpp             | 1230 +------------------
 js/src/jit/mips32/Assembler-mips32.h               | 1246 +-------------------
 js/src/moz.build                                   |    1 +
 5 files changed, 195 insertions(+), 3180 deletions(-)
 copy js/src/jit/{mips32/Assembler-mips32.cpp => mips-shared/Assembler-mips-shared.cpp} (50%)
 copy js/src/jit/{mips32/Assembler-mips32.h => mips-shared/Assembler-mips-shared.h} (86%)

--HG--
rename : js/src/jit/mips32/Assembler-mips32.cpp => js/src/jit/mips-shared/Assembler-mips-shared.cpp
rename : js/src/jit/mips32/Assembler-mips32.h => js/src/jit/mips-shared/Assembler-mips-shared.h
2015-09-12 19:15:51 +08:00
Jan de Mooij 0491a186c1 Bug 1200809 part 8 - Don't call shouldAbortOnPreliminaryGroups if we have an uninlinable native. r=bhackett 2015-09-11 18:53:19 -07:00
Jan de Mooij 34f74c8efb Bug 1200809 part 7 - Convert SIMD natives to new InlinableNatives system. r=nbp 2015-09-11 18:52:32 -07:00
Jan de Mooij 3a3a37d452 Bug 1200809 part 6 - Convert various natives to new InlinableNatives system. r=nbp 2015-09-11 18:52:16 -07:00
Terrence Cole 54d08c8ea7 Backout 148cab7775e5 (Bug 1202051) for cgc bustage on a CLOSED TREE. 2015-09-11 11:37:37 -07:00
Terrence Cole dd94c3ca06 Backout 13654c18b57f (Bug 1202048) for cgc bustage on a CLOSED TREE. 2015-09-11 11:37:05 -07:00
Terrence Cole 0444ddb08d Bug 1202051 - Use a PersistentRooted to automate tracing of unwrappedException_; r=sfink
--HG--
extra : rebase_source : 4dfee1e96619eeaa0b5b5d3558f4ca50ba6dc493
2015-09-04 13:40:59 -07:00
Terrence Cole 3c4d6d3a3b Bug 1202048 - Root JSONParser explicitly; r=sfink
--HG--
extra : rebase_source : 432ac026a3bfb4498b1a88e645e0e7468d6ec64a
2015-08-20 12:26:45 -07:00
Tooru Fujisawa edd37ff699 Bug 1195578 - Part 2: Get a token next to an arrow function with block body with Operand modifier. r=Waldo
--HG--
extra : rebase_source : a11972d77462ff2cc5071c0f94a20f45a2b8fd0d
2015-08-18 10:43:48 +09:00
Tooru Fujisawa 565273c02b Bug 1196041 - Disallow getter/setter with expression closure in class declaration. r=efaust
--HG--
extra : rebase_source : 0aa2c3b94ce864a27750c94c8ade5dea8df828c0
2015-09-03 00:16:32 +09:00
Christian Holler 3f7b44f628 Bug 1199203 - Add support for per-thread OOM testing. r=jonco 2015-09-11 16:11:56 +02:00
Hannes Verschore e8cfbc9711 Bug 1176240: IonMonkey: Try to fold phis containing MFilterTypeSet, r=nbp 2015-09-11 15:59:48 +02:00
Hannes Verschore 35f1f1cf1d Bug 1201459: IonMonkey - Fix typepolicy of MFilterTypeSet with MIRType_Float32, r=bbouvier,nbp 2015-09-11 14:27:22 +02:00
Nicolas B. Pierron 2ed00693e3 Bug 1199719 part 8 - Move MacroAssembler::not32 into the generic macro assembler. r=h4writer 2015-09-11 13:47:55 +02:00
Nicolas B. Pierron fa1f700dfd Bug 1199719 part 7 - Move MacroAssembler::xorPtr into the generic macro assembler. r=bbouvier 2015-09-11 13:47:55 +02:00
Nicolas B. Pierron 80439faed1 Bug 1199719 part 6 - Move MacroAssembler::xor32 into the generic macro assembler. r=jandem 2015-09-11 13:47:54 +02:00
Nicolas B. Pierron 2802723df0 Bug 1199719 part 5 - Move MacroAssembler::orPtr into the generic macro assembler. r=lth 2015-09-11 13:47:54 +02:00
Nicolas B. Pierron ecf6576784 Bug 1199719 part 4 - Move MacroAssembler::or32 into the generic macro assembler. r=hev 2015-09-11 13:47:54 +02:00
Nicolas B. Pierron fa05442ddf Bug 1199719 part 3 - Move MacroAssembler::andPtr into the generic macro assembler. r=djvj 2015-09-11 13:47:53 +02:00
Nicolas B. Pierron cf5f53a6d8 Bug 1199719 part 2 - Move calleeToken functions to the Jit Frame section of the MacroAssembler. r=sstangl 2015-09-11 13:47:53 +02:00
Nicolas B. Pierron 0637b8dce5 Bug 1199719 part 1 - Move MacroAssembler::and32 into the generic macro assembler. r=h4writer 2015-09-11 13:47:52 +02:00
Nicolas B. Pierron 57a0322b56 Bug 1199719 part 0 - Add jit/<arch>/MacroAssembler-<arch>-inl.h files. r=jandem 2015-09-11 13:47:52 +02:00
Nicolas B. Pierron 17e7e8a931 Bug 1199719 werr.2 - Remove some of the uninitialized variable noise. r=bbouvier 2015-09-11 13:47:51 +02:00
Nicolas B. Pierron c7480c1b1c Bug 1199719 werr - Remove some of the uninitialized variable noise. r=jorendorff 2015-09-11 13:47:51 +02:00
Nicolas B. Pierron 5ba59fca68 Bug 1199719 mips - Add missing return in Assembler::haltingAlign. r=hev 2015-09-11 13:47:50 +02:00
Hannes Verschore f1b7fd9686 Bug 1176288 - Part 4: Fix octane regression, r=bbouvier 2015-09-11 13:43:29 +02:00
Heiher 918201465a Bug 1202222 - IonMonkey: MIPS32: Move compat functions to MacroAssemblerMIPSCompat. r=nbp
--HG--
extra : rebase_source : 1f28c4c80af738146ef3aedaaf404285d6d7fba5
2015-09-10 19:41:00 +02:00
Carsten "Tomcat" Book 86c623c584 Backed out 1 changesets (bug 1194139) for SpiderMonkey regressions on a CLOSED TREE
Backed out changeset 2c20e26ca644 (bug 1194139)
2015-09-11 09:00:12 +02:00
Nick Fitzgerald 640c3f9609 Bug 1202028 - Implement range based for loops for SavedFrame stacks. r=terrence 2015-09-10 16:24:00 +02:00
Dragana Damjanovic 4504f5f395 Bug 1197791 - hide password for uri in error and web console. r=michal r=mrbkap 2015-09-11 08:44:00 +02:00
Heiher 67b54962cf Bug 1194139 - IonMonkey: MIPS: Split shareable code to mips-shared in Assembler-mips32. r=nbp
--HG--
rename : js/src/jit/mips32/Assembler-mips32.cpp => js/src/jit/mips-shared/Assembler-mips-shared.cpp
rename : js/src/jit/mips32/Assembler-mips32.h => js/src/jit/mips-shared/Assembler-mips-shared.h
2015-09-10 19:27:00 +02:00
Phil Ringnalda 8047bfc58a Back out changeset d9a4c7d198f0 (bug 1084009) for b2g emulator chrome and debug mochitest bustage
CLOSED TREE
2015-09-10 15:17:23 -07:00
Terrence Cole 0209eab6d2 Bug 1202865 - Split out Zone selection from stats collection and malloc bytes reset; r=jonco
--HG--
extra : rebase_source : e5ae858f97dd4f7b0351849760f61f2b244b8703
2015-09-10 14:11:56 -07:00
Terrence Cole 7f812a042c Bug 1193428 - Rename the incremental parameter to be more meaningful; r=jonco
--HG--
extra : rebase_source : c7aa0cc29243fd0b9b52f1df847d38136e450611
2015-08-11 08:42:24 -07:00
Phil Ringnalda d796396b01 Back out 5 changesets (bug 774364, bug 1195578) for SM(p) OOMs
Backed out changeset 1739b4d8202c (bug 774364)
Backed out changeset 4ed0c752ce47 (bug 774364)
Backed out changeset 174b80f07d0c (bug 774364)
Backed out changeset 2a20dd746582 (bug 774364)
Backed out changeset a36d8aa117c4 (bug 1195578)
2015-09-10 13:48:35 -07:00
Phil Ringnalda 9face22de9 Back out 12 changesets (bug 1199719) for rebasing on top of something that's being backed out
Backed out changeset 54ddccf4ddc0 (bug 1199719)
Backed out changeset 2521189eba90 (bug 1199719)
Backed out changeset 26ea83669c9a (bug 1199719)
Backed out changeset da69d8d082af (bug 1199719)
Backed out changeset e5ec584b2b69 (bug 1199719)
Backed out changeset 399f2af808f3 (bug 1199719)
Backed out changeset a49cedf75457 (bug 1199719)
Backed out changeset 67639ac86e67 (bug 1199719)
Backed out changeset 03b7e2925296 (bug 1199719)
Backed out changeset 9323fe8bdd28 (bug 1199719)
Backed out changeset 05774944054d (bug 1199719)
Backed out changeset c7b1feca53f9 (bug 1199719)
2015-09-10 13:47:12 -07:00
Nicolas B. Pierron 414c622118 Bug 1199719 part 8 - Move MacroAssembler::not32 into the generic macro assembler. r=h4writer 2015-09-10 22:36:16 +02:00
Nicolas B. Pierron b0656caa18 Bug 1199719 part 7 - Move MacroAssembler::xorPtr into the generic macro assembler. r=bbouvier 2015-09-10 22:36:16 +02:00
Nicolas B. Pierron f366942633 Bug 1199719 part 6 - Move MacroAssembler::xor32 into the generic macro assembler. r=jandem 2015-09-10 22:36:15 +02:00
Nicolas B. Pierron 4dae9512ff Bug 1199719 part 5 - Move MacroAssembler::orPtr into the generic macro assembler. r=lth 2015-09-10 22:36:14 +02:00
Nicolas B. Pierron 0bf7c94f6a Bug 1199719 part 4 - Move MacroAssembler::or32 into the generic macro assembler. r=hev 2015-09-10 22:36:13 +02:00
Nicolas B. Pierron acafc84faa Bug 1199719 part 3 - Move MacroAssembler::andPtr into the generic macro assembler. r=djvj 2015-09-10 22:36:12 +02:00
Nicolas B. Pierron b98ff3258e Bug 1199719 part 2 - Move calleeToken functions to the Jit Frame section of the MacroAssembler. r=sstangl 2015-09-10 22:36:11 +02:00
Nicolas B. Pierron fa9155e1e0 Bug 1199719 part 1 - Move MacroAssembler::and32 into the generic macro assembler. r=h4writer 2015-09-10 22:36:10 +02:00
Nicolas B. Pierron c0d60824ea Bug 1199719 part 0 - Add jit/<arch>/MacroAssembler-<arch>-inl.h files. r=jandem 2015-09-10 22:36:10 +02:00
Nicolas B. Pierron 399f0c0337 Bug 1199719 werr.2 - Remove some of the uninitialized variable noise. r=bbouvier 2015-09-10 22:36:09 +02:00
Nicolas B. Pierron 6c59344341 Bug 1199719 werr - Remove some of the uninitialized variable noise. r=jorendorff 2015-09-10 22:36:08 +02:00
Nicolas B. Pierron f5f2f76221 Bug 1199719 mips - Add missing return in Assembler::haltingAlign. r=hev 2015-09-10 22:36:06 +02:00
Kannan Vijayan aadd92c385 Bug 1084009 - Parse sync scripts off the main thread. r=smaug 2015-09-10 16:28:11 -04:00
Kannan Vijayan 35b96417b6 Bug 1145442 - More jit coach optimization outcome docs. r=shu 2015-09-10 14:40:08 -04:00
Terrence Cole d1461225e6 Bug 1190628 - Replace AutoScriptVector with normal Rooted usage; r=jimb
--HG--
extra : rebase_source : 0a377b3910df6bfd111aba87c4fd8dc9d9642040
2015-08-03 17:38:59 -07:00
Chris Manchester c70f23f5e7 Bug 1201693 - Remove Files pattern in js/src/moz.build corresponding to a deleted file. r=bbouvier
--HG--
extra : commitid : GEefw30xVPf
2015-09-08 17:40:04 -07:00
Hannes Verschore ff1dba82cc Bug 1176288 - Part 3: Rename CompareV to CompareBitwise, r=jandem 2015-09-10 14:50:20 +02:00
Hannes Verschore b2276425b6 Bug 1176288 - SharedStubs: Part 2: Fix compare shared stub to work in ionmonkey, r=jandem 2015-09-10 14:47:20 +02:00
Hannes Verschore b2d96ea0f9 Bug 1176288 - SharedStubs: Part 1: Move compare baseline stub to shared stub, r=jandem 2015-09-10 14:47:18 +02:00
Sean Stangl cf294a7307 Bug 1169214 - Add the ARM64 shared stub helpers. r=h4writer 2015-08-21 14:24:19 -07:00
Hannes Verschore ab7a7aed51 Bug 1201469: IonMonkey: Don't specialize to float32 when binary arith instruction is a vm call, r=bbouvier 2015-09-10 14:02:23 +02:00
Hannes Verschore fc1aafade7 Bug 1200560, IonMonkey: Part 2: Get VM calls working in shared stubs embedded in ion on arm, r=sstangl 2015-09-10 14:02:23 +02:00
Hannes Verschore a90e23833c Bug 1200560, IonMonkey: Part 1: Get tailCallVM working in shared stubs embedded in ion on arm, r=sstangl 2015-09-10 14:02:22 +02:00
Hannes Verschore 836ec6a643 Bug 1201810, IonMonkey - Part 1: Move the platform specific shared ic stubs, r=jandem 2015-09-10 14:02:22 +02:00
Hannes Verschore dc63c8e3a7 Bug 1201810, IonMonkey - Part 0: Improve code of EmitIonTailCallVM, r=jandem 2015-09-10 14:02:22 +02:00
Ms2ger f24fe7dcba Bug 1200523 - Remove leftover debugging code from js/src/Makefile.in; r=ted 2015-09-10 13:49:19 +02:00
Tooru Fujisawa 461ac55c6c Bug 774364 - Part 5: Add missing explicit keyword. r=me
--HG--
extra : amend_source : 811e27ffdee197c0e26249eff4433c9455631cdd
2015-09-10 13:30:35 +09:00
Tooru Fujisawa f3972a8f88 Bug 774364 - Part 4: Add setRNGState testing function. r=sstangl
--HG--
extra : rebase_source : 6c907f34c29df55c0a828f24b710d4d57b4715d2
2015-08-07 07:42:17 +09:00
Tooru Fujisawa 95b4f82022 Bug 774364 - Part 3: Move Math.random() to macro assembler. r=sstangl,hev, f=rankov
--HG--
extra : rebase_source : f71a0f67a533866a29f22d21b7229ebf621e5179
2015-08-07 07:41:16 +09:00
Tooru Fujisawa 1aca1daf09 Bug 774364 - Part 2: Move architecture specific function from BaseAssembler-x86-shared.h to BaseAssembler-x86.h and BaseAssembler-x64.h. r=sstangl
--HG--
extra : rebase_source : d1f7d60c270ddc7fae54f8c57ce114068895a0ab
2015-08-07 07:39:12 +09:00
Tooru Fujisawa cc66032742 Bug 1195578 - Part 2: Get a token next to an arrow function with block body with Operand modifier. r=Waldo
--HG--
extra : rebase_source : f0bfa2088149cebcc4421093b1bb55b02bb92b7c
2015-08-18 10:43:48 +09:00
Nigel Babu 33d16f7c15 Backed out changeset ad5849c18324 (bug 1199203) for build bustage ON A CLOSED TREE 2015-09-10 08:26:52 +05:30
Christian Holler f4d10e47aa Bug 1199203 - Add support for per-thread OOM testing. r=jonco 2015-09-10 03:46:45 +02:00
Lars T Hansen 9fc2c44fd9 Bug 1201793 - correct scratch register scope r=nbp CLOSED TREE
--HG--
extra : amend_source : 14c4e9a96bbce764812b6ed8ceae5d55d5b3ed3f
2015-09-08 12:58:49 +02:00
Ted Mielczarek 6be16c3688 bug 1198226 - Move HOST_{C,CXX}FLAGS to moz.build HOST_{CFLAGS,CXXFLAGS,DEFINES}. r=mshal
As part of this move, HOST_NSPR_MDCPUCFG needed to be changed to get the quoting right.

--HG--
extra : commitid : J26MhSiPq9g
extra : rebase_source : 81c5b98371042803741ddace8d01b0097757dff3
2015-09-08 11:35:43 -04:00
Nicholas Nethercote 24cd9d5226 Bug 1203005 - Remove all traces of -Wdeclaration-after-statement. r=glandium.
Even though we compile C code as C99, we used to need
-Wdeclaration-after-statement because MSVC didn't allow declarations after
statements.

However, Visual Studio 2013 added support, so we can now merrily mix
declarations and statements everywhere. Hooray.

--HG--
extra : rebase_source : 00a89fed733008785429827408a0c6c466971080
2015-09-09 04:57:44 -07:00
Heiher ca41adb6af Bug 1203044 - IonMonkey: MIPS32: Atomics operations should throw on oob access. r=lth 2015-09-09 02:00:00 +02:00
Lars T Hansen f65d02c2af Bug 1202367 - reinitialize expected value in CAS loop. patch=hev, r=sstangl, push=lth 2015-09-09 08:50:50 +02:00
Lars T Hansen a9eb7b4da5 Bug 1202367 - reinitialize expected value inside CAS loop. r=sstangl 2015-09-09 08:29:35 +02:00
Nigel Babu 1281b52a09 Backed out changeset 314e201aa2d7 (bug 1201693) for bustage on CLOSED TREE
--HG--
extra : amend_source : a3b801adb4ccd79e5746293a46ea7f6377442524
2015-09-09 07:20:52 +05:30
Chris Manchester 7c977b67a1 Bug 1201693 - Remove Files pattern in js/src/moz.build corresponding to a deleted file. r=bbouvier
--HG--
extra : commitid : EYqHx6jizMi
2015-09-08 17:40:04 -07:00
Ehsan Akhgari 8fecf3299e Bug 1126813 - Turn on the -Wrange-loop-analysis warning if available; r=gps 2015-09-08 20:08:34 -04:00
Heiher [:hev] 39b2543e9a Bug 1202138 - IonMonkey: MIPS32: Fix callAndPushReturnAddress with Label. r=nbp
--HG--
extra : amend_source : 25e5866d4ccee213912ebb201b6ad801465b5f9d
2015-09-07 06:29:00 +02:00
Jon Coppeard 5d9f7bbf48 Bug 1200642 - Fix OOM handling issues r=terrence 2015-09-08 08:45:11 +01:00
Heiher 9c08f9674b Bug 1199535 - IonMonkey: MIPS: Implement AtomicOperations shared. r=lth
Author: Heiher <r@hev.cc>
    IonMonkey: MIPS: Implement AtomicOperations-mips-shared.
2015-08-31 19:44:28 +08:00
Heiher 7b5b34178c Bug 1198628 - IonMonkey: ARM: Redefine FloatRegisters::Code and use it in the right way. r=nbp 2015-09-06 23:36:00 +02:00
Heiher 871dbe884d Bug 1194139 - IonMonkey: MIPS: Split shareable code to mips-shared in AtomicOperations-mips. r=nbp 2015-08-27 19:28:00 +02:00
Lars T Hansen 96f6818e30 Bug 1199578 - test case. r=waldo 2015-09-07 16:06:10 +02:00
Jon Coppeard 0bffdd743b Bug 1155618 - Fix more out of memory handling issues r=terrence 2015-09-07 11:36:55 +01:00
Phil Ringnalda 90583f7067 Backed out 10 changesets (bug 1123237) for hazard build failures and Windows test failures
CLOSED TREE

Backed out changeset 9c26b3b787f8 (bug 1123237)
Backed out changeset 1fcec0dc93d5 (bug 1123237)
Backed out changeset 390033ceebb6 (bug 1123237)
Backed out changeset e8a1845876d6 (bug 1123237)
Backed out changeset 714ec40715fa (bug 1123237)
Backed out changeset 5ed952e011c3 (bug 1123237)
Backed out changeset c785df6c0cdf (bug 1123237)
Backed out changeset d69e2d195a24 (bug 1123237)
Backed out changeset 1f328807da1d (bug 1123237)
Backed out changeset a1546857dce9 (bug 1123237)
2015-09-05 13:49:39 -07:00
Kan-Ru Chen 5c73000eba Bug 1123237 - Part 5. Don't emit inline allocation when memory profiler enabled. r=terrence
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-09-06 00:13:17 +08:00
Kan-Ru Chen 4d5b56d15f Bug 1123237 - Part 4. Monitoring allocations and frees for ArrayBuffer. r=terrence,sfink
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-09-06 00:13:16 +08:00
Kan-Ru Chen b5dc966473 Bug 1123237 - Part 3. Monitoring allocation and gc events in nursery and tenured heaps. r=terrence
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-09-06 00:13:15 +08:00
Kan-Ru Chen d66f013a48 Bug 1123237 - Part 2. MemoryProfiler hooks in js engine. r=terrence
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-09-06 00:13:14 +08:00
Ehsan Akhgari 126e98eb6f Bug 1117259 - Disable the no-unused-local-typedef warning if clang supports it; r=gps
This warning is typically triggered by code which implements
some kind of assertion macro, and it's probably not a good
indicator of bugs anyway, so there is no good reason to keep
it on.
2015-09-04 21:28:19 -04:00
Jeff Walden e4cb588c20 Bug 1195578 - Consolidate NoneIsOperand and NoneIsOperandYieldEOL modifier exceptions into simply NoneIsOperand. r=arai
--HG--
extra : rebase_source : c3389a6400aea7f5d557b6a6e7445e7824341dfa
2015-09-04 16:44:29 -07:00
Jeff Walden 4032cf9ee9 Bug 1199887 - Make str_replace_string_raw return a JSString*, rather than return its always-string result via outparam. r=evilpie
--HG--
extra : rebase_source : 1c6eda0d1aa19102897977cada1013791c8ceda8
2015-08-26 12:10:00 -07:00
Jeff Walden 7f7ffb4610 Bug 1199887 - Make str_replace_regexp_raw return a JSString*, rather than return its always-string result via outparam. r=evilpie
--HG--
extra : rebase_source : f94d19ed514d64e55d736b7eef11adcd0b1a65f9
2015-08-26 11:58:41 -07:00
Jeff Walden d9e141372f Bug 1199887 - Rename StringRegExpGuard::init(JSContext*, JSObject*) to initRegExp for clarity. r=evilpie
--HG--
extra : rebase_source : c52dbb168bc88b90e7cfe8301d4a74a1f90087ce
2015-08-26 11:43:49 -07:00
Jeff Walden 0b4b338015 Bug 1199546 - Properly perform ToPropertyKey operations involved in computed property names in both object literals and destructuring patterns. r=abargull
--HG--
extra : rebase_source : c63999c3dd9546ed5a3c8973cdec2822bfa33854
2015-08-28 03:49:25 -07:00
Terrence Cole 0716d4888f Bug 1199843 - Part 3: Strongly type JS::TraceChildren; r=jonco r=mccr8
--HG--
extra : rebase_source : c779897338dc4b73dca98517acb8d0eef7e0d7a5
2015-09-02 11:34:36 -07:00
Terrence Cole eb27be9309 Bug 1199843 - Part 2: Use js::TraceChildren everywhere we don't need external linkage; r=jonco
--HG--
extra : rebase_source : 59ab475354a7d82dae761f55224da3402be59769
2015-09-02 09:01:02 -07:00
Terrence Cole ca01314d42 Bug 1199843 - Part 1: Prefer T::traceChildren over tag dispatched TraceChildren; r=jonco
--HG--
extra : rebase_source : a99d677c91f86033f0bbe76c26ba22673522f14c
2015-08-28 16:21:16 -07:00
Kannan Vijayan 869b58536d Bug 1145442 - Update JIT Optimization docs patch. r=shu 2015-09-04 11:28:22 -04:00
Jan de Mooij 7105716d80 Bug 1200809 part 5 - Convert self-hosting intrinsics to new InlinableNatives system. r=till
--HG--
extra : rebase_source : 7314fbfd1be18b6d971473815548b8ddaa417c65
2015-09-04 15:55:32 +02:00
Jan de Mooij 5d6255b372 Bug 1200809 part 4 - Convert Atomics natives to new InlinableNatives system. r=lth
--HG--
extra : rebase_source : c5703aecac9116b31bd92cc53cf4743eef73f691
2015-09-04 15:55:09 +02:00
Jan de Mooij 26487276c6 Bug 1200809 part 3 - Convert String/RegExp natives to new InlinableNatives system. r=nbp
--HG--
extra : rebase_source : ed5181c732ad8cc63f6abd3c84594c1233d0758f
2015-09-04 15:54:25 +02:00