Commit Graph

32810 Commits

Author SHA1 Message Date
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
Hannes Verschore
563be40432 Bug 995675 - IonMonkey: Remove incorrect optimization of ToDouble, r=jandem 2014-04-17 12:26:20 +02:00
Hannes Verschore
4418611f60 Bug 944701 - Tracelogging: Add shell functions to enable/disable tracelogging, r=till 2014-04-17 12:26:18 +02:00
Hannes Verschore
6fffa6d59b Bug 995570 - Tracelogging: Initially implementation of logging VM calls, r=luke 2014-04-17 12:26:16 +02:00
Hannes Verschore
a9ee687d32 Bug 996518 - Add an extra assert in TypePolicy of MTypeBarrier, r=jandem 2014-04-17 12:26:13 +02:00
Jon Coppeard
ccef81e8d9 Bug 996052 - Remove JSVAL_TRACE_KIND, JSVAL_IS_GCTHING and JSVAL_TO_GCTHING r=terrence 2014-04-17 09:36:32 +01:00
Bobby Holley
a3079083ae Bug 997527 - Remove debugging code from bug 960828. r=me a=me DONTBUILD 2014-04-16 18:33:10 -07:00
Douglas Crosher
9977d8ee22 Bug 898963 - Odinmonkey (ARM): Refactor GenerateFFIInterpreterExit. r=luke 2014-03-26 00:29:10 +11:00
Douglas Crosher
ef3f3c1624 Bug 898963 - Odinmonkey (ARM): Optimize asm.js FFI calls to Ion functions, trim regs saved, inline activation and deactivation. r=luke 2014-04-17 00:11:28 +10:00
Gabor Krizsanits
d6aefec690 Bug 996069 - Part3: Stop inheriting nsEP when window.open is called. r=bz 2014-04-16 22:29:57 +02:00
Terrence Cole
21e586caba Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
--HG--
extra : rebase_source : 87991ed47ed071550af4e4125eea54a66fdb0071
2014-01-21 18:11:17 -08:00
Nicolas B. Pierron
93baf38b69 Bug 995817 - Range Analysis: Truncate MDiv indirectly. r=sunfish 2014-04-16 08:31:43 -07:00
Jan de Mooij
23c31f2114 Bug 997081 - Optimize StoreElementHole OOL VM call. r=bhackett
--HG--
extra : rebase_source : 110a92109994439c48300ddc88627c34fca27254
2014-04-16 17:24:23 +02:00
Benjamin Bouvier
c353b01174 Bug 993034: SIMD - Factor out typed access to TypedObject memory; r=nmatsakis 2014-04-16 16:21:31 +02:00
Benjamin Bouvier
099e7bd409 Bug 993034: SIMD - Factor out tests for object and vector in a single function; r=nmatsakis 2014-04-16 16:21:29 +02:00
Benjamin Bouvier
70f406abc2 Bug 993034: SIMD - Define shallow wrappers macro that call templated functions instead of macro functions; r=nmatsakis 2014-04-16 16:21:26 +02:00
Benjamin Bouvier
c156072d56 Bug 993034: SIMD - Replace and simplify bogus pointer in Int32x4Select; r=nmatsakis 2014-04-16 16:21:24 +02:00
Benjamin Bouvier
3d249fd380 Bug 993034: SIMD - Clean up coding style and reorganize functions by number of arguments; r=nmatsakis 2014-04-16 16:21:12 +02:00
Benjamin Bouvier
ddb2cd07d6 Bug 993034: SIMD - Rename toType2 into toType and make it fallible; r=nmatsakis 2014-04-16 16:21:09 +02:00
Nicolas B. Pierron
9c16d1e48c Bug 992968 - . r=efaust a=abillings 2014-04-16 06:18:26 -07:00
Shian-Yow Wu
a10ec8bc68 Bug 945152 - Part 2: Report mapped array buffer statistics for about:memory. r=njn 2014-04-16 19:26:41 +08:00
Shian-Yow Wu
9a8da42623 Bug 945152 - Part 1: Support mapped array buffer type. r=sfink 2014-04-16 19:26:39 +08:00
Jon Coppeard
57a7df7372 Bug 995657 - Check new capacity is large enough when growing the mark stack r=terrence 2014-04-16 09:48:24 +01:00