Jan de Mooij
9c3142bc57
Bug 1233818 part 7 - Fix AutoPreventBackedgePatching to work without a JitRuntime. r=luke
2015-12-23 11:28:54 +01:00
Jan de Mooij
3c8687da7f
Bug 1233818 part 6 - Make InterruptRunningJitCode non-reentrant. r=luke
2015-12-23 11:28:54 +01:00
Jan de Mooij
9b76e5288c
Bug 1233818 part 5 - Rename handlingSignal to handlingSegFault. r=luke
2015-12-23 11:28:54 +01:00
Jan de Mooij
1f20d726b5
Bug 1233818 part 4 - Make implicit interrupts with work --non-writable-jitcode. r=bhackett
2015-12-23 11:28:54 +01:00
Jan de Mooij
dbc0dce92e
Bug 1233818 part 1 - Use explicit interrupt checks in Ion for loops that affect GC. r=bhackett
2015-12-23 11:28:54 +01:00
Lars T Hansen
a8df8d57e6
Bug 1211432 - provide PodCopy and PodMove safe-when-racy operations. r=waldo
...
--HG--
extra : rebase_source : 1d8059acaf0e383a4e1198f8e56d6e9a55585c94
extra : amend_source : 9e8797bbeaced043bedf0e7b63b58ebdeb81ebdd
2015-12-03 09:08:48 +01:00
Lars T Hansen
1fb6a0d3e4
Bug 1234397 - dispatch on the correct value. r=luke
...
--HG--
extra : rebase_source : fe5dc1b57caf1346f58fd3a4785eef656e646447
extra : amend_source : 192d12551a24f7bf5570d212b5ce58e4d3445176
2015-12-22 10:19:38 +01:00
Jakob Stoklund Olesen
7f13078252
Bug 1160971 - Part 5: ASM.js boolean vectors. r=bbouvier
...
Implement asm.js support for Bool32x4.
Also remove asm.js tests for the now removed bitwise operations on Float32x4.
2015-12-22 14:17:13 -08:00
Jakob Stoklund Olesen
9e32ee152d
Bug 1160971 - Part 4: Delete signMask and selectBits. r=bbouvier
...
These operations were removed from the SIMD.js spec.
Also remove TypedObjectProperties from SIMD objects, since there are no such
properties defined in the spec.
Remove the bitwise operations from the Float32x4 type. The current version of
the spec defines these operations on integer and boolean types only.
Reorganize the operation lists in SIMD.h to be friendlier to the boolean
vectors. Also reflect the lact of bitwise operators on floating point types.
2015-12-22 14:17:13 -08:00
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
Shu-yu Guo
93ebdae69b
Bug 1071646 - Introduce JSOP_BINDVAR to support Annex B.3.3.3. (r=jorendorff)
2015-12-18 13:18:19 -08:00
Shu-yu Guo
394e48b09b
Bug 1071646 - Support labelled function declarations in sloppy mode per Annex B.3.2. (r=jorendorff)
2015-12-18 13:18:19 -08:00
Shu-yu Guo
00a88f7e6e
Bug 1071646 - Make functions block-scoped in JS and implement Annex B semantics for compatibility. (r=jorendorff)
2015-12-18 13:18:19 -08:00
Shu-yu Guo
8456140b37
Bug 1071646 - Light refactoring of lexical binding helpers in Parser. (r=jorendorff)
2015-12-18 13:18:19 -08:00
Nick Fitzgerald
bc24ddcf02
Bug 1233101 - Use MOZ_LIKELY in js_new etc to help branch prediction; r=terrence
2015-12-18 12:05:14 -08:00
Tooru Fujisawa
33de61ee5d
Bug 1135377 - Part 11: Support back reference with unicode flag. r=till, f=anba
2015-12-19 04:51:21 +09:00
Tooru Fujisawa
130cf6fbac
Bug 1135377 - Part 10: Decrement index when it points trail surrogate that has corresponding lead surrogate. r=till, f=anba
2015-12-19 04:51:20 +09:00
Tooru Fujisawa
6685278427
Bug 1135377 - Part 9: Use RegExp unicode flag in String.prototype.{match,replace,split}. r=till, f=anba
2015-08-07 08:13:37 +09:00
Tooru Fujisawa
84bd03637b
Bug 1135377 - Part 8: Disallow extended pattern in RegExp with unicode flag. r=till, f=anba
2015-08-07 08:12:51 +09:00
Tooru Fujisawa
b850ab9053
Bug 1135377 - Part 7: Support ignoreCase for non-BMP in RegExp with unicode flag. r=till, f=anba
2015-08-07 08:12:05 +09:00
Tooru Fujisawa
a5028a3693
Bug 1135377 - Part 6: Support ignoreCase for BMP in RegExp with unicode flag. r=till, f=anba
2015-08-07 08:12:01 +09:00
Tooru Fujisawa
3a8b5be74b
Bug 1135377 - Part 5: Support CharacterClassEscape in RegExp with unicode flag. r=till, f=anba
2015-08-07 08:11:56 +09:00
Tooru Fujisawa
304f09acae
Bug 1135377 - Part 4: Support everything Atom in RegExp with unicode flag. r=till, f=anba
2015-08-07 08:11:52 +09:00
Tooru Fujisawa
fec1e26e0b
Bug 1135377 - Part 3: Parse RegExp unicode character in CharacterClass. r=till, f=anba
2015-08-07 08:11:46 +09:00
Tooru Fujisawa
e2993e2972
Bug 1135377 - Part 2: Parse RegExp unicode character in non-CharacterClass. r=till, f=anba
2015-08-07 08:11:07 +09:00
Tooru Fujisawa
6dac2af6b1
Bug 1135377 - Part 1: Implement RegExp unicode flag. r=till, f=anba
2015-08-07 08:10:05 +09:00
Jon Coppeard
e0a0fc4ef4
Bug 1225203 - Make backtracking register allocator spew / dump output threadsafe r=bhackett
2015-12-18 12:12:02 +00:00
Jon Coppeard
f0cf897a7b
Bug 1233124 - Remove mis-named duplicate typedefs for rooted import and export entries r=terrence
2015-12-18 12:11:20 +00:00
Jon Coppeard
41c582e943
Bug 1233121 - Refactor ObjectBox tracing r=terrence
2015-12-18 12:10:42 +00:00
Ms2ger
8e3a0e4dcd
Bug 1233401 - Do Statistics static initialization from JS_Init; r=jandem
2015-12-18 11:12:49 +01:00
Ms2ger
194f97d366
Bug 1221923 - Remove pointless "initialized" static in VMFunction::addToFunctions; r=Waldo
2015-12-18 11:09:45 +01:00
Lars T Hansen
2d373bc654
Bug 1233011 - SharedArrayBuffer subclassing + tests. r=efaust
...
--HG--
extra : rebase_source : d4764a8be911c263edad6ddfb56bd7b1f789fa14
extra : amend_source : 5c5efcdd1dcf013f299eb93e49b2f2d8c247424f
2015-12-16 16:22:50 +01:00
Lars T Hansen
3c35bb857f
Bug 1233175 - refine an assertion. r=terrence
...
--HG--
extra : rebase_source : 518f694b368b3f36079797148986c3b20fa65313
extra : amend_source : 02fe6352087a26d0958244e9fa7ce1594d9ec39e
2015-12-17 12:42:17 +01:00
Jim Blandy
01fcfb2321
Bug 1233302: Don't seed the SavedStacks PRNG unless we're actually going to use it. r=fitzgen
...
--HG--
extra : rebase_source : c53838917982addab245701d8f5e7dd16ebc40bf
2015-12-17 16:11:51 -08:00
Terrence Cole
5736e43d34
Bug 1227144 - Remove unused AutoRegExpStaticsBuffer; r=jonco
...
--HG--
extra : rebase_source : c6a792b7f53d61a22a179fd2bd486d8920245d92
2015-12-16 08:40:13 -08:00
Tooru Fujisawa
8ee23ffd62
Bug 1220457 - Show deprecation warning for non-standard RegExp.multiline. r=till
...
--HG--
extra : rebase_source : 3a13f3373f5a5babf32b09a992dc2f2eee6d2f08
2015-11-01 20:55:15 +09:00
Tooru Fujisawa
bce64ea853
Bug 1229057
- Part 19: Move MacroAssembler::negateDouble into generic macro assembler. r=bbouvier
...
--HG--
extra : rebase_source : 80373877c472b41810ef5d01565fc947b94fa8b3
2015-12-01 17:04:39 +09:00
Tooru Fujisawa
e30c67bbde
Bug 1229057
- Part 18: Move MacroAssembler::negateFloat into generic macro assembler. r=bbouvier
...
--HG--
extra : rebase_source : 2843fd59b35b8c2dacfb73c03e9bf6e78ecd8efa
2015-12-01 17:04:30 +09:00
Tooru Fujisawa
112088dfd3
Bug 1229057
- Part 17: Move MacroAssembler::neg32 into generic macro assembler. r=bhackett
...
--HG--
extra : rebase_source : dd91eec870d7197c3238fe7ae5caac443385394f
2015-12-01 17:04:22 +09:00
Tooru Fujisawa
2610c3416c
Bug 1229057
- Part 16: Move MacroAssembler::inc64 into generic macro assembler. r=bhackett
...
--HG--
extra : rebase_source : 7a42f9371196a5c89baeb048565795fdff4341ee
2015-12-01 17:04:14 +09:00
Tooru Fujisawa
58e28820de
Bug 1229057
- Part 15: Move MacroAssembler::divDouble into generic macro assembler. r=djvj
...
--HG--
extra : rebase_source : de9fdc30c8d22fa89a51acfdf3b3608d50e6d096
2015-12-01 17:04:05 +09:00
Tooru Fujisawa
b9e06d6cc8
Bug 1229057
- Part 14: Move MacroAssembler::mulDouble into generic macro assembler. r=djvj
...
--HG--
extra : rebase_source : 19af54b46245cf94a4010cfc08ed532965b56e3a
2015-12-01 17:03:57 +09:00
Tooru Fujisawa
d58395b6bd
Bug 1229057
- Part 13: Move MacroAssembler::mulDoublePtr into generic macro assembler. r=djvj
...
--HG--
extra : rebase_source : 309611e6bcfe3b2d3408e72285f70af4010b1c1c
2015-12-01 17:03:49 +09:00
Tooru Fujisawa
0d717c30e5
Bug 1229057
- Part 12: Move MacroAssembler::mulBy3 into generic macro assembler. r=sstangl
...
--HG--
extra : rebase_source : ec480129a2cafedbca2dd777cad53d67bd4d29fd
2015-12-01 17:03:40 +09:00
Tooru Fujisawa
b91e6d55e4
Bug 1229057
- Part 11: Move MacroAssembler::mul64 into generic macro assembler. r=sstangl
...
--HG--
extra : rebase_source : 54c38c572711f46f433eccd1ef6327bf1ff45acd
2015-12-01 17:03:32 +09:00
Tooru Fujisawa
486d8c3228
Bug 1229057
- Part 10: Move MacroAssembler::mul32 into generic macro assembler. r=sstangl
...
--HG--
extra : rebase_source : 12a6771d89bb0d212164ab6ba25833e412121753
2015-12-01 17:03:23 +09:00
Tooru Fujisawa
7c3d6d6c52
Bug 1229057
- Part 9: Move MacroAssembler::subDouble into generic macro assembler. r=lth
...
--HG--
extra : rebase_source : f2009ac9265ffc56dad9dee5cc89b895443ff1a1
2015-12-01 17:03:15 +09:00
Tooru Fujisawa
53d753e8f1
Bug 1229057
- Part 8: Move MacroAssembler::subPtr into generic macro assembler. r=lth
...
--HG--
extra : rebase_source : 0116bcf03087f7c210812af15a63b7d407c813f5
2015-12-01 17:03:07 +09:00
Tooru Fujisawa
eb5bd433fb
Bug 1229057
- Part 7: Move MacroAssembler::addConstantDouble into generic macro assembler. r=jandem
...
--HG--
extra : rebase_source : c15b6f9a6256e08367faf6809cf2d8e01299828e
2015-12-01 17:02:59 +09:00
Tooru Fujisawa
d3eeca5f43
Bug 1229057
- Part 6: Move MacroAssembler::addDouble into generic macro assembler. r=jandem
...
--HG--
extra : rebase_source : b2ba8eb7e1b98be1fc979fc815e7724309a90cd8
2015-12-01 17:02:52 +09:00
Tooru Fujisawa
28b6ffeed1
Bug 1229057
- Part 5: Remove unused MacroAssemblerX86::addConstantFloat32. r=h4writer
...
--HG--
extra : rebase_source : a707c3916e94131315e6782b35334bed7c0fb10c
2015-12-01 17:02:44 +09:00
Tooru Fujisawa
8a00414335
Bug 1229057
- Part 4: Move MacroAssembler::addFloat32 into generic macro assembler. r=h4writer
...
--HG--
extra : rebase_source : c5dcc3de127084f6964ec37f40ff741152e68837
2015-12-01 17:02:36 +09:00
Tooru Fujisawa
d6e2f44a54
Bug 1229057
- Part 3: Move MacroAssembler::add64 into generic macro assembler. r=nbp
...
--HG--
extra : rebase_source : d410daad40366767d5bdab36cc5696806f6e7c52
2015-12-01 17:02:24 +09:00
Tooru Fujisawa
14d68e5bc7
Bug 1229057
- Part 2: Move MacroAssembler::add32 into generic macro assembler. r=nbp
...
--HG--
extra : rebase_source : a543ea5547d2a40b834bf5cf8bd3aaee5e1177fe
2015-12-01 17:02:17 +09:00
Tooru Fujisawa
c49ef4f3bb
Bug 1229057
- Part 1 followup: Move addToStackPtr and dependent things to -inl.h. r=nbp
...
--HG--
extra : rebase_source : 65c850df986c0ab856102f19a239f75273a2a124
2015-12-17 01:01:16 +09:00
Tooru Fujisawa
49d77e4067
Bug 1229057
- Part 1: Move MacroAssembler::addPtr into generic macro assembler. r=nbp
...
--HG--
extra : rebase_source : 0297438cdb0454e831b91dcbe4318e835e38e89d
2015-12-01 17:02:09 +09:00
Chris Peterson
3f33e136b8
Bug 1232907 - Enable ExecutableAllocator randomization on Windows XP. r=jandem
...
--HG--
extra : rebase_source : d93444de433c1dd94f13eb7af50dd20d00cfbfb1
2015-12-07 22:56:52 -05:00
Nick Fitzgerald
92dea2cfcd
Bug 1233096 - Give JS::ubi::RootList its full type name as its concreteTypeName; r=jimb
2015-12-16 08:59:00 +01:00
Wei Wu
cac3ddd679
Bug 1232100 - "Check charsWritten in non-debug builds.". r=jcoppeard
2015-12-16 06:54:00 +01:00
Nick Fitzgerald
ffd963dd3f
Bug 1231763 - Extract breakdown parsing from JS::ubi::Census. r=jimb
2015-12-16 09:19:00 +01:00
Eric Faust
046ce15ef6
Bug 1232022, 1232449 - Address forgotten review nits and fix bogus error message. (rs=Waldo)
2015-12-16 19:57:42 -08:00
Eric Faust
d29ddfcc63
Bug 1232449 - call{,Content}Function is not a constructor. (r=till)
2015-12-16 19:31:08 -08:00
Eric Faust
1944339c10
Bug 1233100 - Ensure that derived constructor bad return value errors are thrown before leaving the containing block. (r=shu)
2015-12-16 19:17:57 -08:00
Shu-yu Guo
f0b829c1ca
Bug 1231925 - Correctly recover if allocating tracked optimizations go OOM. (r=jonco)
2015-12-16 17:07:23 -08:00
Terrence Cole
b95ff06630
Bug 1232814 - Part 2: Move LazyScript finalization to the background finalization thread; r=jonco
...
--HG--
extra : rebase_source : f4583c863fbd18d650bf9a7ff096cec3dcbafe25
2015-12-11 12:15:19 -05:00
Terrence Cole
dd137cccab
Bug 1232814 - Part 1: Fix a missing early return in NoteWeakEdge; r=sfink
...
--HG--
extra : rebase_source : f17e0369e980370895e24e8c604241777df46753
2015-12-16 12:50:12 -08:00
Eric Faust
04af4a022d
Bug 1232446 - Re-enable method calls in SelfHosted code using new anti-content checks. (r=till)
2015-12-16 08:14:43 -08:00
Eric Faust
618dd16e90
Bug 1232022 - Part 2: Implement JSOP_DEBUGCHECKSELFHOSTED, and use it to check self-hosted callFunction()s. (r=till, r=h4writer)
2015-12-16 08:14:41 -08:00
Eric Faust
c26c287169
Bug 1232022 - Part 1: Mark self-hosted intrinsics for later checking. (r=till)
2015-12-16 08:14:39 -08:00
Nicolas B. Pierron
64c257e2ac
Bug 1228579 - BacktrackingAllocator: Pack the LUse::Policy next to the LUse pointer of UsePosition. r=bhackett
2015-12-16 16:07:34 +00:00
Nicolas B. Pierron
aafdb794cc
Bug 1215921 - Range Analysis: Recover observable operands if they are recoverable. r=jandem,sunfish
2015-12-16 13:42:19 +00:00
Nicolas B. Pierron
bcf059516f
Bug 1215921 - Range Analysis: Do not eagerly optimize with truncate-after-bailout if we bailed out with an overflow. r=jandem,sunfish
2015-12-16 13:42:19 +00:00
Jon Coppeard
c739216623
Bug 1228404 - Add OOM test for module parsing and fix a couple of bugs r=shu
2015-12-16 11:48:54 +00:00
Jon Coppeard
f6370e99b1
Bug 1231647 - Check for duplicate exported let and const in modules r=shu
2015-12-16 11:48:54 +00:00
Wei Wu
74e045413f
Bug 1231575 - "JitSpew: RegAlloc: dump buffer is too small for a kraken spew". r=bhackett
2015-12-12 01:56:00 +01:00
Wei Wu
004d7e4a63
Bug 1231581 - fix C4018 warning in WinXP. r=bhackett1024
2015-12-14 21:33:18 +08:00
Wei Wu
0258ab1a22
Bug 1231581 - "IonMonkey: MOZ_CRASH() in BacktrackingAllocator.cpp:LiveRange::toString() might be unreachable." r=bhackett1024
2015-12-14 08:14:00 +01:00
Wes Kocher
796006aa04
Backed out 19 changesets (bug 1229057
) for android build bustage in MacroAssembler.h CLOSED TREE
...
Backed out changeset 8e1ce09c4c1c (bug 1229057
)
Backed out changeset bf62c71e020f (bug 1229057
)
Backed out changeset ac4aeb2be1a1 (bug 1229057
)
Backed out changeset e96fe4110212 (bug 1229057
)
Backed out changeset 6a276896d967 (bug 1229057
)
Backed out changeset a697223488a3 (bug 1229057
)
Backed out changeset 72728bf62ff4 (bug 1229057
)
Backed out changeset eb58402c22b2 (bug 1229057
)
Backed out changeset 417cbfd6c1b6 (bug 1229057
)
Backed out changeset f4d4c7b21f8f (bug 1229057
)
Backed out changeset 0427077032e0 (bug 1229057
)
Backed out changeset ae0723cd69e7 (bug 1229057
)
Backed out changeset 184f8cbcef7e (bug 1229057
)
Backed out changeset f33d197c6c80 (bug 1229057
)
Backed out changeset 19114c7f1ddb (bug 1229057
)
Backed out changeset d8b26d40c14b (bug 1229057
)
Backed out changeset 424abf32becb (bug 1229057
)
Backed out changeset 400fc382c57b (bug 1229057
)
Backed out changeset 6cf6dd40d704 (bug 1229057
)
--HG--
extra : commitid : E1R0XfcgbVz
2015-12-15 15:11:07 -08:00
Shu-yu Guo
1bb73d77f3
Bug 1182866 - Fix Baseline GETNAME stubs to check for uninitialized lexicals. (r=jandem)
2015-12-15 14:31:34 -08:00
Tooru Fujisawa
9cdf91f09c
Bug 1229057
- Part 19: Move MacroAssembler::negateDouble into generic macro assembler. r=bbouvier
...
--HG--
extra : rebase_source : 94e857a8aafd259072959df109e9b1d72159f36e
2015-12-01 17:04:39 +09:00
Tooru Fujisawa
5315dec838
Bug 1229057
- Part 18: Move MacroAssembler::negateFloat into generic macro assembler. r=bbouvier
...
--HG--
extra : rebase_source : 8c0766346be1c78742d724123377ad77dfdc7605
2015-12-01 17:04:30 +09:00
Tooru Fujisawa
87cc9015cc
Bug 1229057
- Part 17: Move MacroAssembler::neg32 into generic macro assembler. r=bhackett
...
--HG--
extra : rebase_source : c8cca656641caea0d24adedda493e23d7572304d
2015-12-01 17:04:22 +09:00
Tooru Fujisawa
ddbb1a6682
Bug 1229057
- Part 16: Move MacroAssembler::inc64 into generic macro assembler. r=bhackett
...
--HG--
extra : rebase_source : 296684e540190dacceff567507330ea99d5013f1
2015-12-01 17:04:14 +09:00
Tooru Fujisawa
4ad68c7371
Bug 1229057
- Part 15: Move MacroAssembler::divDouble into generic macro assembler. r=djvj
...
--HG--
extra : rebase_source : a209b419f8ccca02b3cc4fe1f9a7fa8e033e7f16
2015-12-01 17:04:05 +09:00
Tooru Fujisawa
c2dee6abd7
Bug 1229057
- Part 14: Move MacroAssembler::mulDouble into generic macro assembler. r=djvj
...
--HG--
extra : rebase_source : adc93a6fd9079b111178932e692cca988c14248d
2015-12-01 17:03:57 +09:00
Tooru Fujisawa
8527e95489
Bug 1229057
- Part 13: Move MacroAssembler::mulDoublePtr into generic macro assembler. r=djvj
...
--HG--
extra : rebase_source : 655f7090f2bd824a1f7bb793b81f88fc264322a1
2015-12-01 17:03:49 +09:00
Tooru Fujisawa
e5e7751a83
Bug 1229057
- Part 12: Move MacroAssembler::mulBy3 into generic macro assembler. r=sstangl
...
--HG--
extra : rebase_source : 8abcb1e1727ff92b96e3808b7624eefce8d37b48
2015-12-01 17:03:40 +09:00
Tooru Fujisawa
58740497fb
Bug 1229057
- Part 11: Move MacroAssembler::mul64 into generic macro assembler. r=sstangl
...
--HG--
extra : rebase_source : 69f0820213d0d18f4d11e12d8b0af6ce9162d957
2015-12-01 17:03:32 +09:00
Tooru Fujisawa
f63d0c1936
Bug 1229057
- Part 10: Move MacroAssembler::mul32 into generic macro assembler. r=sstangl
...
--HG--
extra : rebase_source : 4d583ef58cde95c86d8521c6c3bb67576c199a4d
2015-12-01 17:03:23 +09:00
Tooru Fujisawa
6e19f99452
Bug 1229057
- Part 9: Move MacroAssembler::subDouble into generic macro assembler. r=lth
...
--HG--
extra : rebase_source : 2a946adb563de396f4e3d9076f0d0cfdd39d2ba9
2015-12-01 17:03:15 +09:00
Tooru Fujisawa
eeda3354ff
Bug 1229057
- Part 8: Move MacroAssembler::subPtr into generic macro assembler. r=lth
...
--HG--
extra : rebase_source : 20ea5c3475680ba18e534788115f001db1232ea1
2015-12-01 17:03:07 +09:00
Tooru Fujisawa
ae9a93c1e9
Bug 1229057
- Part 7: Move MacroAssembler::addConstantDouble into generic macro assembler. r=jandem
...
--HG--
extra : rebase_source : 15963e30cef5d886ec4ea11ec74a38b5a5a6bf81
2015-12-01 17:02:59 +09:00
Tooru Fujisawa
54b5fa77da
Bug 1229057
- Part 6: Move MacroAssembler::addDouble into generic macro assembler. r=jandem
...
--HG--
extra : rebase_source : 1da6a2a7f21c7bdf6fdd4ed94bb0df1fc583cb32
2015-12-01 17:02:52 +09:00
Tooru Fujisawa
c0f3fbb3d0
Bug 1229057
- Part 5: Remove unused MacroAssemblerX86::addConstantFloat32. r=h4writer
...
--HG--
extra : rebase_source : df9a013982a0e914c1044ec7868158f2ac52dc0a
2015-12-01 17:02:44 +09:00
Tooru Fujisawa
c2589bf7a5
Bug 1229057
- Part 4: Move MacroAssembler::addFloat32 into generic macro assembler. r=h4writer
...
--HG--
extra : rebase_source : 95abacc641a6a54858c443e6ac9f428f1d53a6ef
2015-12-01 17:02:36 +09:00
Tooru Fujisawa
76f8f00db7
Bug 1229057
- Part 3: Move MacroAssembler::add64 into generic macro assembler. r=nbp
...
--HG--
extra : rebase_source : 144bf6f6875fbc6788e3244a06bb4cfa5cb4e142
2015-12-01 17:02:24 +09:00
Tooru Fujisawa
d76ebbed6b
Bug 1229057
- Part 2: Move MacroAssembler::add32 into generic macro assembler. r=nbp
...
--HG--
extra : rebase_source : 0cf5deb1b3292dd86eb61704f9e0c703fea258b8
2015-12-01 17:02:17 +09:00
Tooru Fujisawa
86a64683a6
Bug 1229057
- Part 1: Move MacroAssembler::addPtr into generic macro assembler. r=nbp
...
--HG--
extra : rebase_source : 86431533671a51b43a74d43de3b9264ec6a25210
2015-12-01 17:02:09 +09:00
Lars T Hansen
7968ced746
Bug 1232264 - SharedArrayBuffer is only a constructor. r=arai
...
--HG--
extra : rebase_source : bf85d1ccd1cc33b01101f8250edf12a4907afbc2
2015-12-15 14:21:39 +01:00
Jon Coppeard
9bbe672eb1
Bug 1198833 - Variable redeclaration should be a syntax error r=shu
2015-12-15 13:36:14 +00:00
Jon Coppeard
1fa0b478ca
Bug 1231386 - Change debugger to use RuntimeAllocPolicy for all its hash tables r=terrence
2015-12-15 13:36:14 +00:00
Nicholas Nethercote
b23e4b2d7b
Bug 1231256 (part 12) - Remove TraceableVectorOperations::canAppendWithoutRealloc. r=terrence.
...
It's unused.
--HG--
extra : rebase_source : ed5bda7e86e8f39ce3ac220f7cfe5d02cf4897a9
2015-12-09 15:51:31 -08:00
Mike Hommey
347d2ccc90
Bug 1231314 - Turn mozilla-config.h and js-confdefs.h into CONFIGURE_DEFINE_FILES. r=gps
...
Both these files, are, after all, define files, like other CONFIGURE_DEFINE_FILES.
They only happen to have a special requirement for an expansion for all defines,
which doesn't need to happen through traditional preprocessing.
This change adds consistency in how configure-related headers are being handled.
2015-12-15 08:06:11 +09:00
Shu-yu Guo
4436ea9ce0
No bug - Bump XDR version after backout of bug 1231758. (r=me)
2015-12-14 14:48:17 -08:00
Shu-yu Guo
07d8830040
Backout bug 1071646, bug 1231758 for breaking the web. (r=woe)
2015-12-14 13:28:14 -08:00
Eric Faust
135fbc4865
Bug 1232159 - Stop using pseudo-Uint32Array in SelfHosted code. (r=till)
2015-12-14 08:52:45 -08:00
Benjamin Bouvier
d3e0575e2e
Bug 1229855: Fix miscompilation of uint8_t enum class with gcc4.8.2; r=luke
2015-12-14 15:46:45 +00:00
Alessio Placitelli
af49ee7fbe
Bug 1231965 - Change references to ./mach build-docs to ./mach doc. r=gps
...
--HG--
extra : rebase_source : 53012ecda93a4c823a8de4b43afab5f1fa97a241
2015-12-11 17:33:11 +01:00
Wei Wu
95dcca7c06
Bug 1231900 - "API Document for JS_snprintf() is non-consistent with the Implementation". r=jcoppeard
2015-12-11 07:15:00 +01:00
Phil Ringnalda
7d13de22f6
Bug 1176214 followup followup, fix my screwup
2015-12-13 18:36:57 -08:00
Phil Ringnalda
7e33c35191
Bug 1226888 followup, make test not fail when TypedObject doesn't exist
...
--HG--
extra : rebase_source : 9d9cad680efa13137fae9fb009bc8c5bebf5f5fb
2015-12-13 10:49:25 -08:00
Phil Ringnalda
e8c0558df3
Bug 1176214 followup, make the guard for SharedArrayBuffer not being defined not cause the test to fail
...
--HG--
extra : rebase_source : 2d2f58ba10f945b673364e7a101768d0d640acee
2015-12-13 10:52:53 -08:00
Jeff Walden
6b625ccca7
Bug 1232211 - Don't perform various SharedArrayBuffer-centric typed array tests in builds with SharedArrayBuffer disabled (i.e. Aurora at next uplift). rs=lth over IRC, responding to cassandra!philor's concerns
...
--HG--
extra : rebase_source : a030971d00303b559b84c66b94cae2617bd3484e
2015-12-13 20:19:17 -05:00
Victor Carlquist
fc86b97861
Bug 1231163 - Don't assume the RNG's been initialized by a prior call to Math.random, when a call to Math.random is being inlined. (A method can be inlined once its identity has been guarded against, but mere identity can be established without the method having been called.) r=jwalden
2015-12-09 22:14:53 -02:00
Eric Faust
b70baff013
Bug 1197932 - Remove Nightly-only restriction from ES6 Classes. (r=jorendorff)
2015-12-11 07:20:35 -08:00
Bogdan Postelnicu
bf563b30b4
Bug 1231309 - guard sz with assert. r=bobbyholley
2015-12-10 08:10:00 +01:00
Mauricio Collares Neto
96ebfa0f8f
Bug 12228397 - Bail out when dividing large unsigned integer by one. r=sunfish
2015-12-01 11:46:00 +01:00
Eric Faust
a5120db200
Bug 1230710 - Reenable direct eval and arrow functions in derived class constructors. (r=jorendorff, r=shu)
2015-12-10 12:50:35 -08:00
Shu-yu Guo
ea087bfc50
Bug 1231758 - Fix bogus assertion in BCE for Annex B function assignment. (r=jorendorff)
2015-12-10 12:48:46 -08:00
Eric Faust
1f82208764
Bug 1144630 - Follup: Fix review nit. (rs=evilpie)
2015-12-10 12:26:04 -08:00
Lars T Hansen
9912b88fe7
Bug 1231624 - properly gate SAB+atomics in asm.js. r=luke
...
--HG--
extra : rebase_source : 0c30826d1a529804b417c21418fd67e013cf7bd4
2015-12-10 10:46:53 -05:00
Jan de Mooij
405ef22973
Bug 1231224 part 8 - Fix some more append() calls in IonBuilder to handle OOM. r=nbp
2015-12-10 13:22:15 -05:00
Jan de Mooij
de82348a4b
Bug 1231224 part 7 - Fix some more places to handle OOM. r=jonco
2015-12-10 13:22:15 -05:00
Jan de Mooij
4c2586c470
Bug 1231224 part 6 - Handle Vector OOM in some copy constructors. r=bhackett
2015-12-10 13:22:15 -05:00
Jan de Mooij
d0e597a0b9
Bug 1231224 part 5 - Use infallibleAppend in Debugger::setupTraceLogger. r=h4writer
2015-12-10 13:22:14 -05:00
Jan de Mooij
2eae9f8a3f
Bug 1231224 part 4 - Fix TokenStream::getDirective to check append() return value. r=jwalden
2015-12-10 13:22:14 -05:00
Jan de Mooij
b214d21a76
Bug 1231224 part 3 - Fix some append() calls in Odin to handle OOM. r=bbouvier
2015-12-10 13:22:14 -05:00
Jan de Mooij
86e6d30178
Bug 1231224 part 2 - Fix MTableSwitch methods to handle OOM. r=h4writer
2015-12-10 13:22:14 -05:00
Jan de Mooij
45be0649a9
Bug 1231224 part 1 - Fix ExecutableAllocator to not leak a pool when append() OOMs. r=nbp
2015-12-10 13:22:14 -05:00
Jan de Mooij
16d0101ce1
Bug 1228571 - Fix GenerateSeed to not leave seed uninitialized if reading from /dev/urandom fails. r=cpeterson
2015-12-10 13:22:14 -05:00
Eric Faust
0b4d1f0b39
Bug 1202784 -Part 2: Seperate RequireCoercible check from JSOP_TOID. (r=jandem)
2015-12-10 09:04:47 -08:00
Eric Faust
64239255ad
Bug 1202784 - Part 1: Refactor SuperElemOperations for use with emitElemOperands. (r=jandem)
2015-12-10 09:04:45 -08:00
Jan de Mooij
718316dc71
Bug 1225396 part 3 - Make %GeneratorPrototype% inherit from %IteratorPrototype%. r=jorendorff
2015-12-09 22:55:50 -05:00
Jan de Mooij
1c94156bf7
Bug 1225396 part 2 - Fix ES6 iterator prototype chains. r=jorendorff
2015-12-09 22:54:44 -05:00
Jan de Mooij
544e48f726
Bug 1225396 part 1 - Rename *Iterator stuff to *LegacyIterator. r=jorendorff
2015-12-09 22:54:10 -05:00
Andrea Marchesini
32580a380e
Bug 1231100 - Get rid of nsIDOMFileReader - patch 2, r=sicking
2015-12-09 15:52:38 -05:00
Andrea Marchesini
c2230f21f8
Bug 1231100 - Get rid of nsIDOMFileReader - patch 1, r=sicking
2015-12-09 15:52:15 -05:00
Shu-yu Guo
8579f4894a
Bug 1071646 - Support JSOP_BINDVAR in Ion. (r=jandem)
2015-12-09 07:52:59 -08:00
Shu-yu Guo
0a03078fc1
Bug 1071646 - Support JSOP_BINDVAR in Baseline. (r=jandem)
2015-12-09 07:52:58 -08:00
Shu-yu Guo
3fa7e43385
Bug 1071646 - Cast ParseNode to Definition using as<T>. (r=jorendorff)
2015-12-09 07:52:58 -08:00
Shu-yu Guo
85cc9c0f9c
Bug 1071646 - Introduce JSOP_BINDVAR to support Annex B.3.3.3. (r=jorendorff)
2015-12-09 07:52:58 -08:00
Shu-yu Guo
0166aa107c
Bug 1071646 - Support labelled function declarations in sloppy mode per Annex B.3.2. (r=jorendorff)
2015-12-09 07:52:58 -08:00
Shu-yu Guo
e5f6c90449
Bug 1071646 - Make functions block-scoped in JS and implement Annex B semantics for compatibility. (r=jorendorff)
2015-12-09 07:52:58 -08:00
Shu-yu Guo
53c0e2cad8
Bug 1071646 - Light refactoring of lexical binding helpers in Parser. (r=jorendorff)
2015-12-09 07:52:58 -08:00
Benjamin Bouvier
3752ed4a06
Bug 1230409: Implement dummy HeapOffset members for non-ion builds; r=luke
...
--HG--
extra : rebase_source : a993d11633deaf8bc20a796bde4008178df326f9
2015-12-04 12:42:33 +01:00
Jan de Mooij
a21a8ed722
Bug 1216379 - Throw less cryptic error message when using a non-iterable in a for...of loop. r=jorendorff
2015-12-08 15:28:23 -05:00
Sebastian Hengst
134244b2ae
Backed out 2 changesets (bug 1229604) for Spidermonkey bustage on Windows and static failures. r=backout
...
Backed out changeset 0cb584405271 (bug 1229604)
Backed out changeset d4053d8be57b (bug 1229604)
2015-12-05 22:33:18 +01:00
Ryan VanderMeulen
ae574256a3
Bug 1229604 - Revert the original patch that's not needed anymore.
2015-12-05 15:38:34 -05:00
Yuan Pengfei
4e94d65992
Bug 1229604 - Fix VS2015u1 Assembler-x86.h & Assembler-x64.h C2078 bustage. r=nbp
2015-12-03 17:39:00 -05:00
Morgan Phillips
42c428ea21
Bug 1197094 - ForOfIterator calls ToObject on iterable; r=evilpie
...
Remove a needless cast from ValueHandle to Object to ValueHandle, where type information was lost.
--HG--
extra : rebase_source : 7c94bb545cc4d7293745ae486f1eb43a819b2060
2015-12-04 15:07:03 -08:00
Jeff Walden
f0143b1186
Bug 1227677 - Simplify emitting of comprehension variables. r=shu
2015-11-24 11:00:44 -08:00