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

52342 Коммитов

Автор SHA1 Сообщение Дата
Sajjad Taheri 2ada54cf8d Bug 1160971 - Part 3: SIMD boolean vector support for JIT. r=bbouvier
Based on a patch by Sajjad Taheri!
2015-12-22 14:17:13 -08:00
Sajjad Taheri 22a7a7f807 Bug 1160971 - Part 2: JSAPI/JIT tests for SIMD bool vector implementation. r=bbouvier
Patch by Sajjad Taheri!
2015-12-22 14:17:12 -08:00
Sajjad Taheri 16aecfb21a Bug 1160971 - Part 1: SIMD bool vector implementation for the interpreter. r=bbouvier
Also add an ENABLE_SIMD compilation flag that enables SIMD support in the
nightly build only. Previously, SIMD and BINARYDATA used the same flag.

Include a Bool64x2 type to go with the existing Float64x2 type. Neither are in
the current spec.
2015-12-22 14:17:12 -08:00
Eric Faust 9e000d9f55 Bug 1233722 - Followup: Differentiate between non-debug and opt builds. (rs=arai) DONTBUILD comment-only 2015-12-22 14:01:45 -08:00
Eric Faust ace68b649e Bug 1234191 - Ensure JSOP_CHECKRETURN consults the correct scope object. (r=shu, r=jandem) 2015-12-22 13:52:53 -08:00
Jon Coppeard ca7c3a9a54 Bug 1232672 - Use MOZ_WARN_UNUSED_RESULT to make ordered hash table clients check for failure r=sfink 2015-12-22 13:29:44 +00:00
Jon Coppeard 498b421261 Bug 1232672 - Use MOZ_WARN_UNUSED_RESULT to make hash table clients check for failure r=luke r=billm r=njn 2015-12-22 13:29:43 +00:00
Nicolas B. Pierron 476c4e235b Bug 1233786 - JSScript::initScriptCounts should report OOMs. r=bhackett 2015-12-22 13:22:22 +00:00
Nicolas B. Pierron 9aef99a4e0 Bug 1233176 - Scalar Replacement: Initialize properties with the default value of the template object. r=shu 2015-12-22 13:22:22 +00:00
Brian Hackett a6469c405e Bug 1232269 - Use the correct receiver when calling an own getter or setter on an unboxed object, r=jandem. 2015-12-22 05:16:44 -07:00
Jan de Mooij 1d92294b39 Bug 1234246 - Don't reprotect JIT code more than once when linking. r=nbp 2015-12-22 10:56:36 +01:00
Jan de Mooij b8b2dfebfc Bug 1233818 part 3 - Move a lot of ExecutableAllocator methods out of line. r=nbp 2015-12-22 10:55:24 +01:00
Jan de Mooij 0c0f578dd2 Bug 1233818 part 2 - Remove unused ExecutableAllocator destroyCallback. r=nbp 2015-12-22 10:49:18 +01:00
Tooru Fujisawa 85569141ff Bug 1230747 - Fix element id generation rule for bytecode documentation. r=jwalden 2015-12-05 22:57:17 +09:00
Tooru Fujisawa d0b665a995 Bug 1233120 - Check token after static in class declaration. r=jwalden
--HG--
extra : amend_source : 00131ffe51ac955eb2f2b3fcdbf6bf5cb41c1d83
2015-12-17 08:15:06 +09:00
Tooru Fujisawa 19926801a4 Bug 1229802 - Simplify MacroAssemblerARMCompat::decBranchPtr. r=nbp 2015-12-22 08:32:59 +09:00
Terrence Cole 1242151b5d Bug 1233187 - Use normal Rooted for AutoLocationValueRooter; r=fitzgen
--HG--
extra : rebase_source : bf48041be76fd71227eb85d1ef211699210787d3
2015-12-16 12:18:46 -08:00
Sean Stangl bdbea769ec Bug 1233884 - Remove unused CompactBufferWriters from MozBaseAssembler. r=jolesen 2015-12-18 15:51:38 -08:00
Mike Hommey 725ee3aec1 Bug 1234106 - Avoid symbolic links in various directories used by the build system. r=gps
This doesn't change calls to pwd on Windows or for subdirectories of the
directories already using pwd -P.
2015-12-22 07:55:47 +09:00
Tom Schuster 0adeb23681 Bug 603201 - Tests: Enable primitive receivers in [[Get]]. r=jorendorff 2015-12-21 23:43:06 +01:00
Tom Schuster 1cd64b091d Bug 603201 - Enable primitive receivers in [[Get]]. r=jorendorff 2015-12-21 23:43:06 +01:00
Jakob Stoklund Olesen 953c3efe23 Bug 1233863 - ARM64: Enable jit-test and jstest suites for SM(arm64). r=sstangl
Skip some tests that time out with the fairly slow arm64 simulator. The listed
tests run on more than 100 seconds on my iMac.

Also reduce the number of JIT flag combinations tried in order to finish this
job in a reasonable time.
2015-12-21 14:34:31 -08:00
Benjamin Bouvier 45013c238f Bug 1229338: Rename OptimizationInfos to OptimizationLevelInfo; r=Waldo
--HG--
extra : rebase_source : c19020e10ed72b9d5ef54aae3613f669dc221344
extra : histedit_source : c4c3c79670f8fc85bc18328bd8c1f22b3e766624
2015-12-01 12:42:04 +01:00
Benjamin Bouvier d6727ad6fb Bug 1229338: Make OptimizationLevel an enum class; r=Waldo
--HG--
extra : rebase_source : 2c4d48233965cbf0d65fccffd2d8497acc5f44cf
extra : histedit_source : 323d28acc01c987b6495232fb8bc1d276f1233fe
2015-12-03 21:03:14 +01:00
Jakob Stoklund Olesen 9dce194b45 Bug 1233863 - ARM64: Record the correct branch offset. r=sstangl
Don't depend on nextOffset() to get the address of the next inserted
instruction. Adding a single instruction could cause a constant pool to be
emitted first.

The b() method assembles a branch and returns its offset. Use this return value
when recording the location of a pending jump.

This fixes the MOZ_CRASH(Unrecognized jump instruction.) crashes.
2015-12-21 10:11:07 -08:00
Jakob Stoklund Olesen d9a7e9b459 Bug 1233863 - ARM64: Avoid BumpSystemStackPointer(). r=sstangl
This function can only handle small immediate adjustments to the stack pointer
because it is not allowed to use scratch registers.

Don't call it from MacroAssembler::Claim() which may allocate large stack
frames. Simply synchronize the system stack pointer to the pseudo stack pointer
instead.
2015-12-21 10:11:07 -08:00
Jakob Stoklund Olesen 48cf77ddac Bug 1233863 - ARM64: Set up pseudo stack pointer in proglogues. r=sstangl
Use the existing masm.initStackPtr() function to set up the x28 register
correctly on entry to jitted code.

This is already done correctly in JitRuntime::generateEnterJIT().
2015-12-21 10:11:07 -08:00
Jakob Stoklund Olesen 4e73b0e322 Bug 1233863 - ARM64: Disable tests that require ion.enable = 1. r=jimb
Since ARM64 doesn't have an Ion code generator yet, these tests will fail when
they check for ion-generated code.

This disables tests that look for frame.implementation == "ion" etc.
2015-12-21 10:11:07 -08:00
Jakob Stoklund Olesen d0e28569ed Bug 1233863 - ARM64: Don't advertise asm.js availability. r=luke
OdinMonkey does not yet support ARM64, so disable it just like we do in
IsIonEnabled().
2015-12-21 10:11:07 -08:00
Jakob Stoklund Olesen 3d9dd910cb Bug 1233863 - ARM64: Allow test to pass with --no-asmjs, and when no JIT exists. r=luke
When running with --no-asmjs, and when we don't have a JIT capable of asm.js,
the returned warning is different. This test should handle those cases too.
2015-12-21 10:11:07 -08:00
Wei Wu 1dbc329d7f Bug 1232113 - "Make the format specifiers in JS_snprintf() invocations more portable". r=shu 2015-12-16 22:29:00 +01:00
Wei Wu a910822deb Bug 1232113 - "Make the format specifiers in JS_snprintf() invocations more portable". r=evilpies 2015-12-12 20:00:00 +01:00
Wei Wu caad6242d5 Bug 1232113 - "Make the format specifiers in JS_snprintf() invocations more portable". r=n.nethercote 2015-12-14 01:46:00 +01:00
Wei Wu 35ff45f65f Bug 1232113 - "Make the format specifiers in JS_snprintf() invocations more portable". r=nicolas.b.pierron 2015-12-12 19:59:00 +01:00
Wei Wu 09f75592c2 Bug 1232113 - "Make the format specifiers in JS_snprintf() invocations more portable". r=jwalden+bmo 2015-12-12 19:59:00 +01:00
Wei Wu 903f7678b0 Bug 1232113 - "Make the format specifiers in JS_snprintf() invocations more portable". r=sphink 2015-12-12 19:59:00 +01:00
Wei Wu d74c0b4596 Bug 1232113 - "Make the format specifiers in JS_snprintf() invocations more portable". r=n.nethercote 2015-12-12 19:29:00 +01:00
Wei Wu f4960ee416 Bug 1232113 - "Make the format specifiers in JS_snprintf() invocations more portable". r=jandem 2015-12-16 22:28:00 +01:00
Wei Wu b4bc48a873 Bug 1232113 - "Make the format specifiers in JS_snprintf() invocations more portable". r=jcoppeard 2015-12-12 19:08:00 +01:00
Wei Wu 31c75c0f5a Bug 1232113 - "Make the format specifiers in JS_snprintf() invocations more portable". r=hv1989 2015-12-12 18:55:00 +01:00
Wei Wu 88be5e2fca Bug 1232113 - "Make the format specifiers in JS_snprintf() invocations more portable". r=nbp 2015-12-16 22:25:00 +01:00
Wei Wu c53c6f5126 Bug 1232113 - "Make the format specifiers in JS_snprintf() invocations more portable". r=jdemooij 2015-12-12 18:41:00 +01:00
Lars T Hansen aa5160f5d5 Bug 1229829 - make sameBuffer more discriminating. r=waldo
--HG--
extra : rebase_source : 2a7035335a3ca25624d13fbf3d3c55c0b893a58c
extra : amend_source : 37df45da3481048c157fa8ab483097613bcec623
2015-12-16 12:01:57 +01:00
Hannes Verschore d3ff3353be Bug 1231170: TraceLogger - Use size in debugger instead of the current id to track last logged item, r=bbouvier 2015-12-18 18:32:24 -05:00
Jim Blandy cbf0bdd39b Bug 1233302: Don't crash if we can't open /dev/urandom; just fall back to PRMJ_Now.
--HG--
extra : rebase_source : 1b6096ade66f81e3a3e7517881b6c122df59e6ec
2015-12-17 13:55:35 -08:00
Tooru Fujisawa aa909291c4 Bug 1233722 - Add a documentation comment for JSOP_DEBUGCHECKSELFHOSTED. DONTBUILD. r=efaust 2015-12-19 06:50:21 +09:00
Shu-yu Guo fba71f3b1c Bug 1231758 - Fix bogus assertion in BCE for Annex B function assignment. (r=jorendorff) 2015-12-18 13:18:20 -08:00
Shu-yu Guo 78c3851957 Bug 1071646 - Support JSOP_BINDVAR in Ion. (r=jandem) 2015-12-18 13:18:20 -08:00
Shu-yu Guo 8d32f46a31 Bug 1071646 - Support JSOP_BINDVAR in Baseline. (r=jandem) 2015-12-18 13:18:20 -08:00
Shu-yu Guo 75e7eccf98 Bug 1071646 - Cast ParseNode to Definition using as<T>. (r=jorendorff) 2015-12-18 13:18:19 -08:00