Commit Graph

50888 Commits

Author SHA1 Message Date
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