Commit Graph

32832 Commits

Author SHA1 Message Date
masaya iseki
b511251697 Bug 939115 - Add MIR node for ArraySplice to avoid creating the result array if it's unused. r=jandem 2014-04-24 12:08:17 +02:00
Ed Morley
665dcd1f38 Bug 997489 - Fix stray </tt> tag causing JS warning spam during jsreftests; r=Waldo 2014-04-24 10:33:10 +01:00
Carsten "Tomcat" Book
a518ef1da4 Backed out changeset 51dbd71f00a5 (bug 984696) for mochitest-2 test failures on a CLOSED TREE 2014-04-24 11:22:14 +02:00
Shu-yu Guo
05479d78d5 Bug 716647 - Part 6 1/2: Add shell function to deterministically request interrupt. (r=jimb) 2014-04-24 01:59:38 -07:00
Shu-yu Guo
8d1b8459fb Bug 716647 - Part 6: Tests. (r=jimb) 2014-04-24 01:59:38 -07:00
Shu-yu Guo
d0c4fd8664 Bug 716647 - Part 5 1/2: Support rematerialized frames in DebugScopes::updateLiveScope. (r=jimb) 2014-04-24 01:59:38 -07:00
Shu-yu Guo
9bb9d04ea0 Bug 716647 - Part 5: Relax the no on-stack scripts restriction for addDebuggee. (r=jimb) 2014-04-24 01:59:37 -07:00
Shu-yu Guo
2232bbdf1c Bug 986767 - Fix adjusting stepModeCount when removing a debuggee global from inside the onStep handler. (r=jimb) 2014-04-24 01:59:37 -07:00
Shu-yu Guo
168e132278 Bug 716647 - Part 4: Recompile on-stack baseline scripts when toggling debug mode. (r=jandem) 2014-04-24 01:59:37 -07:00
Shu-yu Guo
67e57a9ccf Bug 716647 - Part 3: Support rematerializing Ion frames on the stack. (r=jandem) 2014-04-24 01:59:37 -07:00
Shu-yu Guo
b93d1d827b Bug 716647 - Part 2: Bailout in place instead of directly to catch on Ion exception when Debugger is on. (r=jandem) 2014-04-24 01:59:37 -07:00
Shu-yu Guo
adfbe4f92d Bug 716647 - Part 1: Introduce JS_OPTIMIZED_OUT magic for optimized out slots and teach Debugger about them. (r=jandem) 2014-04-24 01:59:36 -07:00
Carsten "Tomcat" Book
ebd60ab6e9 Backed out changeset ac10d2fcb25d (bug 969375) for ggc testfailures 2014-04-24 10:48:17 +02:00
Benjamin Bouvier
00ad67b14a Bug 988950: Remove unused Nursery variable; r=jandem 2014-04-24 10:17:07 +02:00
Branislav Rankov
663163f7be Bug 969375 - MIPS port: Added Lowering code. r=jandem 2014-03-18 16:43:18 +01:00
Branislav Rankov
4d914b609c Bug 969375 - MIPS port: Added Trampoline-mips and Bailouts-mips. r=nbp 2014-03-17 15:33:28 +01:00
Nick Fitzgerald
bf47d258b8 Bug 984696 - Save more detailed source notes so that Debugger.Script.prototype.getAllColumnOffsets can offer more for source mapped and/or pretty printed JS debugging. r=ejpbruel 2014-04-22 09:11:00 +02:00
Wes Kocher
67c66ddeb2 Backed out changeset 208bcb7879c0 (bug 995982) for mochitest-1 assertions on a CLOSED TREE 2014-04-23 16:19:43 -07:00
Dan Gohman
302290bece Bug 967709 - SpiderMonkey: Revert the fast_sincos implementation for now. r=me 2014-04-23 14:44:01 -07:00
Shu-yu Guo
2f93a8fa8c Bug 996987 - Always allow exit code 0 when checking for exit codes in Windows, because Windows. (r=terrence) 2014-04-23 14:35:33 -07:00
Brian Hackett
07c4647e61 Bug 995982 - Set up forwarding pointers properly when allocating typed array objects in the nursery. r=sfink 2014-04-23 14:12:31 -07:00
Hannes Verschore
77e3dbd011 Bug 995934 - IonMonkey: Remove branch out of hot code in negative zero test, r=bbouvier 2014-04-23 17:17:29 +02:00
Jon Coppeard
66e938d933 Bug 988950 - Combine value type and nursery check for object r=jandem 2014-04-23 13:48:35 +01:00
Jon Coppeard
36fa6a273d Bug 988950 - Use scratch register instead of temp where possible r=jandem 2014-04-23 13:48:35 +01:00
Jon Coppeard
ba41294689 Bug 988950 - Split macro assembler implementation by architecture r=jandem 2014-04-23 13:48:35 +01:00
Jon Coppeard
0bc47f20dc Bug 988950 - Add a macro assembler instruction to check if a pointer is in the nursery r=jandem 2014-04-23 13:48:35 +01:00
Jon Coppeard
15c41fb04f Bug 988950 - Check whether value is an object after checking whether object is in nursery r=terrence 2014-04-23 13:48:34 +01:00
Jan de Mooij
c7ba7fe917 Bug 999559 part 2 - Rename FrameIter::Data::ionFrames_ to jitFrames_. r=luke 2014-04-23 11:56:23 +02:00
Jan de Mooij
c7e2fd1671 Bug 999559 part 1 - Rename IonFrameIterator to JitFrameIterator. r=shu
--HG--
rename : js/src/jit/IonFrameIterator-inl.h => js/src/jit/JitFrameIterator-inl.h
rename : js/src/jit/IonFrameIterator.h => js/src/jit/JitFrameIterator.h
2014-04-23 11:56:21 +02:00
Jan de Mooij
ce2ec33fdf Bug 999358 - Fix MLambdaArrow to initialize the unused extended slot too. r=terrence 2014-04-23 11:31:43 +02:00
Chris Peterson
524d94d09a Bug 999717 - Fix gcc -Wlogical-op warning in js. r=mrbkap 2014-04-22 14:42:27 -07:00
Shu-yu Guo
64d672856b Bug 996422 - Part 2: Split MIRType_Magic into one type for each magic constant. (r=jandem) 2014-04-22 18:23:27 -07:00
Shu-yu Guo
b51594ed95 Bug 996422 - Part 1: Make TypeSets work with MIRTypes directly. (r=bhackett) 2014-04-22 18:23:27 -07:00
Bobby Holley
66541eae24 Bug 990353 - Make discardSource a Sandbox option and use it (even in Desktop) for the precompilation scope. r=luke 2014-04-22 14:08:29 -07:00
Bobby Holley
c99fbf5e66 Bug 990353 - Flip off source discarding for XPCShell. r=fabrice 2014-04-22 14:08:29 -07:00
Bobby Holley
02602a42c9 Bug 990353 - Tests. r=bent 2014-04-22 14:08:28 -07:00
Bobby Holley
f763d379ad Bug 990353 - Give tests/chrome its own moz.build file, like tests/mochitest. r=mshal
We also add a mochitest.ini file, which will eventually be used for http-served
files that are associated with chrome mochitests.
2014-04-22 14:08:28 -07:00
Bobby Holley
8bd7ee4bf8 Bug 990353 - Flag for discarding where appropriate. r=bent 2014-04-22 14:08:28 -07:00
Bobby Holley
9371810cd3 Bug 990353 - Add a pref for system source discarding. r=bent 2014-04-22 14:08:28 -07:00
Bobby Holley
aaa815d86d Bug 990353 - Make the decision to discard source entirely per-global, rather than per-script. r=luke
This is effectively a policy decision based on the kind of code we expect to be
running somewhere. This is in contrast to lazy source, which is often a practical
per-script consideration of whether or not we can retrieve the source if requested.

More importantly, tracking this information on the global is much easier to
get right than tracking it on the script.
2014-04-22 14:08:27 -07:00
Shu-yu Guo
744e4f50c4 Bug 906525 - Re-enable PJS timeout tests. (r=nmatsakis) 2014-04-22 14:13:15 -07:00
Shu-yu Guo
c0186f5622 Bug 998997 - Use PROT_NONE on POSIX and PAGE_NOACCESS on Windows when protecting JIT code. (r=luke) 2014-04-22 14:13:14 -07:00
Marty Rosenberg
8ef31d383d Bug 995542: Add extra consumers of the congruence-head when we split it from the class. (r=sstangl) 2014-04-22 15:11:36 -04:00
Terrence Cole
e1e896bdf7 Bug 807168 - Move rarely used code in GCMarker out of the header; r=jonco
--HG--
extra : rebase_source : f8895a2a2a00f31a45900cdbc718a19aed6262d9
2014-04-16 16:36:44 -07:00
Terrence Cole
ebba5aaeaf Bug 807168 - Move GCMarker into gc/Tracer.h; r=jonco
--HG--
extra : rebase_source : 031495e6bb5510009eb871866e9f5e3beda24211
2014-04-16 16:26:33 -07:00
Luke Wagner
8e9b9c4fe6 Bug 998507 - add BinarySearch (r=sunfish)
--HG--
extra : rebase_source : 6ba04575a5dd8a886235e6799bc790c7a3afc64f
2014-04-15 21:30:26 -05:00
Hannes Verschore
bd1059d025 Bug 995673 - IonMonkey: Don't remove MToXXX instructions, when an object flows through, r=jandem 2014-04-22 16:46:18 +02:00
Dan Gohman
3e02568d87 Bug 998158 - SpiderMonkey: When available, use SSE feature macros instead of runtime tests. r=sstangl 2014-04-21 17:35:00 -07:00
Dan Gohman
5f2f26df66 Bug 998158 - SpiderMonkey: Simplify setSSECheckState(). r=sstangl 2014-04-21 17:35:00 -07:00
Dan Gohman
d393349dae Bug 998158 - SpiderMonkey: Outline setSSECheckState(). r=sstangl 2014-04-21 17:34:59 -07:00
Dan Gohman
08c3b840a0 Bug 998158 - SpiderMonkey: Use specific feature tests instead of calling getSSEState() r=sstangl 2014-04-21 17:34:57 -07:00
Mauricio Collares Neto
54586e7417 Bug 976110 - Part 2: Clean up signed integer division by constants. r=sunfish 2014-04-21 17:27:40 -07:00
Wes Kocher
c669a16e2d Backed out changeset 0c0a5a6b57d9 (bug 616491) for jsreftest failures 2014-04-21 16:11:20 -07:00
Jan de Mooij
b86f7298a0 Bug 998596 - Add ARM simulator status to getBuildConfiguration. r=terrence 2014-04-21 15:36:33 -07:00
Terrence Cole
126d0b750e Bug 994281. r=sfink 2014-04-21 15:20:08 -07:00
Sean Stangl
d6f3e0ec87 Bug 616491 - Follow-up: detect over-recursion on Windows. r=mjrosenb 2014-04-08 13:51:37 -07:00
Wes Kocher
7489efdd11 Backed out changeset 9e43ff213b64 (bug 616491) for bustage 2014-04-21 14:05:21 -07:00
Bill McCloskey
e65bfc07d8 Bug 798678 - WeakMaps with keys from another compartment are possible and incorrect (tests) (r=mccr8) 2014-04-21 13:41:44 -07:00
Sean Stangl
1001139b6c Bug 616491 - Follow-up: detect over-recursion on Windows. r=mjrosenb 2014-04-08 13:51:37 -07:00
Emanuel Hoogeveen
490c7c43ff Bug 997459 - Part 2: Coefficients for polevl_cos with fewer terms; potentially less precise, but more performant. r=sunfish
CLOSED TREE
2014-04-21 10:44:11 -04:00
Emanuel Hoogeveen
30aefbde41 Bug 997459 - Part 1: Coefficients for polevl_sin with lower mean error. r=sunfish 2014-04-21 10:16:18 -04:00
Bobby Holley
f56f915374 Bug 993772 - Introduce a singleton compilation scope. r=mrbkap 2014-04-20 11:48:13 -07:00
Bobby Holley
8cb91cd665 Bug 993772 - Stop serializing principals along with scripts. r=mrbkap
The principal of a script is determined by the compartment these days, so this
field is useless.
2014-04-20 11:48:13 -07:00
Phil Ringnalda
5693a040b0 Merge m-i to m-c 2014-04-19 18:25:46 -07:00
Bobby Holley
130685a225 Bug 998083 - Introduce Cu.getObjectPrincipal and kill nsIScriptSecurityManager::GetObjectPrincipal. r=gabor 2014-04-19 10:39:59 -07:00
Mauricio Collares Neto
6404daaccd Bug 976110 - Part 1: Optimize signed integer division by constants; r=sunfish 2014-04-19 10:37:51 -07:00
Mauricio Collares Neto
0528a958fb Bug 976110 - Part 0: Optimize division and modulus by negative powers of two; r=sunfish 2014-04-19 10:37:49 -07:00
Phil Ringnalda
a80cd06599 Back out 8 changesets (bug 990353) for gaia-integration bustage
CLOSED TREE

Backed out changeset f6b3c03454a4 (bug 990353)
Backed out changeset 6e1f9b821ae0 (bug 990353)
Backed out changeset 2926ad6c594f (bug 990353)
Backed out changeset 74b75c155205 (bug 990353)
Backed out changeset 394e09fe2da2 (bug 990353)
Backed out changeset 0fdd36b19a51 (bug 990353)
Backed out changeset 0792729890cc (bug 990353)
Backed out changeset 487e6f72fcf7 (bug 990353)
2014-04-19 08:37:32 -07:00
Jan de Mooij
4cc413921c Bug 976536 - Fix JSFunction::existingScript returning NULL in some cases. r=till 2014-04-19 13:45:59 +02:00
Bobby Holley
56960c728a Bug 990353 - Followup bustage fix. r=me 2014-04-19 00:40:18 -07:00
Bobby Holley
ccbf119906 Bug 990353 - Flip off source discarding for XPCShell. r=fabrice 2014-04-18 23:46:27 -07:00
Bobby Holley
b0f7fa3f9c Bug 990353 - Tests. r=bent 2014-04-18 23:46:27 -07:00
Bobby Holley
ba23922c2d Bug 990353 - Give tests/chrome its own moz.build file, like tests/mochitest. r=mshal
We also add a mochitest.ini file, which will eventually be used for http-served
files that are associated with chrome mochitests.
2014-04-18 23:46:27 -07:00
Bobby Holley
3502193900 Bug 990353 - Flag for discarding where appropriate. r=bent 2014-04-18 23:46:27 -07:00
Bobby Holley
90a7b5cf46 Bug 990353 - Add a pref for system source discarding. r=bent 2014-04-18 23:46:26 -07:00
Bobby Holley
51af5cebbd Bug 990353 - Make the decision to discard source entirely per-global, rather than per-script. r=luke
This is effectively a policy decision based on the kind of code we expect to be
running somewhere. This is in contrast to lazy source, which is often a practical
per-script consideration of whether or not we can retrieve the source if requested.

More importantly, tracking this information on the global is much easier to
get right than tracking it on the script.
2014-04-18 23:46:26 -07:00
Ryan VanderMeulen
915c699141 Merge m-c to inbound. 2014-04-18 22:08:16 -04:00
Ryan VanderMeulen
f394fe9b5b Merge inbound to m-c. 2014-04-18 22:00:13 -04:00
Dan Gohman
22b39e1512 Bug 998155 - IonMonkey: Constify congruentTo and mightAlias. r=h4writer 2014-04-18 17:55:21 -07:00
Douglas Crosher
12625ecec2 Land bug 996883. r=mjrosenb 2014-04-17 00:08:21 +10:00
Terrence Cole
dac70ce1e3 Bug 807168 - Followup to fix an issue building on ancient GCC on a CLOSED TREE; r=Waldo 2014-04-18 11:19:16 -07:00
Dan Gohman
6186164bb7 Bug 998170 - IonMonkey: Eliminate LPhi's numInputs_ member. r=nbp 2014-04-18 11:13:44 -07:00
Dan Gohman
d9e8ae23b7 Bug 998167 - IonMonkey: Fix signed integer undefined behavior r=nbp 2014-04-18 11:13:44 -07:00
Dan Gohman
3590965f20 Bug 998156 - IonMonkey: Misc RangeAnslysis code cleanups. r=nbp 2014-04-18 11:13:44 -07:00
Dan Gohman
9baaa60015 Bug 998173 - SpiderMonkey: Harmonize x86 and x64's MacroAssembler finish functions. r=bbouvier 2014-04-18 11:13:44 -07:00
Dan Gohman
c7c9dc01b8 Bug 998172 - SpiderMonkey: Eliminate unnecessary parentheses around return values. r=nbp 2014-04-18 11:13:44 -07:00
Terrence Cole
b435b83e5b Bug 807168 - Followup to fix build failure with clang; r=bustage-fix 2014-04-18 09:50:30 -07:00
Terrence Cole
de2fb98fa3 Bug 807168 - Make JSTracer into a real C++ class and kill the macro accessors; r=jonco,mccr8
--HG--
rename : js/public/Tracer.h => js/public/TracingAPI.h
2014-04-11 15:19:05 -07:00
Fabrice Desré
c4f785449c Bug 965970 - Add support to compile asm.js code at install/update time r=luke,bholley,marco 2014-04-17 22:03:03 -07:00
Hannes Verschore
0852996695 Bug 998251 - IonMonkey: print to the right stream during IONFLAGS=logs, r=nbp,nbp 2014-04-18 16:00:20 +02:00
Hannes Verschore
b9f1eaaf75 Bug 997656 - Tracelogging: Log when baseline is compiling, r=djvj 2014-04-18 16:00:17 +02:00
Marty Rosenberg
021b5a9222 Bug 990807 - Valgrind detects leak - 4 bytes and/or 32 bytes are definitely lost (direct), r=dougc 2014-04-17 12:00:05 -07:00
Tooru Fujisawa
f45c8b3b74 Bug 471713 - Part 6: Add documentation for object- and array-related opcodes. r=evilpies
--HG--
extra : rebase_source : 6c9a441404809c6fc55b1d052f2126e79da39877
2014-04-02 19:35:15 +09:00
Tooru Fujisawa
122a5d5fc4 Bug 471713 - Part 4: Add documentation for variables and constants. r=luke
--HG--
extra : rebase_source : 748cf711992289c12e5cb6da240cb2a8a906dddf
2014-04-02 19:29:21 +09:00
Tooru Fujisawa
ec27f74eea Bug 471713 - Part 3: Add documentation for function call-related opcodes. r=djvj
--HG--
extra : rebase_source : 1b019427b68d8be12cde998f60389d68c3224aad
2014-04-11 09:14:08 +09:00
Tooru Fujisawa
16c285e39e Bug 471713 - Remove duplicated parens around flags in SpiderMonkey. r=jwalden
--HG--
extra : rebase_source : 45e8cc7caa3b0796052bdb2bb9f949ad82aa3c7f
2014-04-12 14:44:35 +09:00
Terrence Cole
618749c6fa Bug 990336 - Backout non-lazy dedup-on-insertion: not actually a speedup; r=jonco
--HG--
extra : rebase_source : 7b505c2c46b8c65c19e5d10b622a76bd8976e9a5
2014-04-17 08:14:35 -07:00
Benjamin Bouvier
ff06e10aec Bug 996881: Inherit 'use strict' directive when calling toSource/toString for asm.js modules; r=luke
--HG--
extra : rebase_source : 63ed080e38be66583c205d930b147bb1e2c66d2c
2014-04-17 14:06:50 +02:00
Hannes Verschore
e58299ef89 Bug 995490 - Tracelogger: Don't assert for wrong textId on non-active items, r=till 2014-04-17 12:26:25 +02:00
Hannes Verschore
020a14172f Bug 995826 - IonMonkey: Fix bogus behaviour of the negative zero test on x86, r=bbouvier 2014-04-17 12:26:23 +02:00