Commit Graph

48240 Commits

Author SHA1 Message Date
Shu-yu Guo
132d074b5c Bug 1143194 - Handle JSTRY_FOR_OF in TI. (r=bhackett) 2015-03-21 14:11:14 -07:00
Shu-yu Guo
3153dbad9d Bug 1143194 - Make trynote checking in BytecodeParse clearer. (r=jorendorff) 2015-03-21 14:11:14 -07:00
Shu-yu Guo
0c2245089a Bug 1143194 - Rename JSTRY_ITER to JSTRY_FOR_IN. (r=jorendorff) 2015-03-21 14:11:14 -07:00
Shu-yu Guo
3bca61f7a5 Bug 1143194 - Handle JSTRY_FOR_OF when bailing out in-place from Ion for debug mode. (r=jandem) 2015-03-21 14:11:14 -07:00
Shu-yu Guo
ad0d736971 Bug 1143194 - Emit JSTRY_FOR_OF notes for for-of loops. (r=jorendorff) 2015-03-21 14:11:14 -07:00
Tom Schuster
936b3f4a37 Bug 1138157 - Change ScriptedDirectProxyHandler to inherit from BaseProxyHandler. r=efaust
This avoids the fallback behavior from DirectProxyHandler, which can't handle revoked proxies correctly.

Test created by André Bargull and me.
2015-03-21 20:30:57 +01:00
Jim Blandy
664a32d9e7 Bug 1134039: Make SpiderMonkey standalone (JS_STANDALONE) builds use jemalloc and mozglue by default. r=glandium
JS_STANDALONE builds don't need everything in mozglue; have mozglue omit the
unneeded code for such builds.

Since the SpiderMonkey binaries are now more like the other Gecko binaries, we
can remove some special cases for JS_STANDALONE in GeckoSharedLibrary,
GeckoProgram, etc. All Gecko binaries now use mozglue, which contains mfbt, so
we no longer need mention mfbt explicitly.

Add a property to the getBuildConfiguration testing function's result that
indicates whether we're using jemalloc or not.

Include the newly necessary source directories in the SpiderMonkey source
package.
2015-03-19 02:12:53 -07:00
Ehsan Akhgari
883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Jan de Mooij
10bf1e34ef Bug 1143704 part 11 - Move more functions into BytecodeEmitter. r=jorendorff 2015-03-21 12:55:54 +01:00
Jan de Mooij
9b3f5153d2 Bug 1143704 part 10 - Move more functions into BytecodeEmitter. r=efaust 2015-03-21 12:55:52 +01:00
Jan de Mooij
8123dc0764 Bug 1143704 part 9 - Move more functions into BytecodeEmitter. r=shu 2015-03-21 12:55:46 +01:00
Jan de Mooij
9579f08ed8 Bug 1143704 part 8 - Move more functions into BytecodeEmitter. r=luke 2015-03-21 12:55:42 +01:00
Jan de Mooij
cf9bd1071f Bug 1143704 part 7 - Move more functions into BytecodeEmitter. r=bhackett 2015-03-21 12:54:18 +01:00
Jan de Mooij
71389afa0d Bug 1143704 part 6 - Move more functions into BytecodeEmitter. r=efaust 2015-03-21 12:54:18 +01:00
Jan de Mooij
9d8d957e80 Bug 1143704 part 5 - Add a cx member to BytecodeEmitter. r=Waldo 2015-03-21 12:54:17 +01:00
Jan de Mooij
3c7c172cd1 Bug 1143704 part 4 - Turn Emit1 into a BytecodeEmitter method. r=bhackett 2015-03-21 12:54:09 +01:00
Jan de Mooij
03311b21b2 Bug 1143704 part 3 - Make EmitLoopHead return bool instead of ptrdiff_t. r=shu 2015-03-21 12:53:46 +01:00
Jan de Mooij
ff00302f97 Bug 1143704 part 2 - Make Emit3/EmitCall/EmitBackPatchOp return bool instead of ptrdiff_t. r=jorendorff 2015-03-21 12:53:46 +01:00
Jan de Mooij
4adefdc46b Bug 1143704 part 1 - Make Emit1/Emit2 return bool instead of ptrdiff_t. r=luke 2015-03-21 12:53:43 +01:00
Tom Schuster
448b35420a Bug 1145326 - String#normalize form parameter might not be an atom. r=Waldo 2015-03-21 13:12:25 +01:00
Jan de Mooij
cf52d0c317 Bug 1142669 part 5 - Lower inliningMaxCallerBytecodeLength from 10000 to 1500. r=h4writer 2015-03-21 12:33:41 +01:00
Wes Kocher
35ee79b993 Backed out changeset 17eec5f30889 (bug 1145488) for ggc orange 2015-03-20 22:40:05 -07:00
Wes Kocher
687d354d5b Backed out 7 changesets (bug 1145491) for ggc orange
Backed out changeset 8d14c6661f00 (bug 1145491)
Backed out changeset 7be39afdf528 (bug 1145491)
Backed out changeset 8066b21e74a0 (bug 1145491)
Backed out changeset 151e4cdb34cf (bug 1145491)
Backed out changeset 97b16da6169b (bug 1145491)
Backed out changeset cddba378a563 (bug 1145491)
Backed out changeset 80344fd40d6b (bug 1145491)
2015-03-20 22:39:44 -07:00
Shu-yu Guo
edfb53a32f Bug 1145440 - Ship constant names for tracked strategy and outcomes in the profile JSON instead of slightly longer form strings. (r=djvj) 2015-03-20 20:48:32 -07:00
Shu-yu Guo
7fa429d624 Bug 1143860 - Deduplicate tracked optimizations when streaming the profile. (r=djvj) 2015-03-20 20:48:31 -07:00
Shu-yu Guo
255786d723 Bug 1143860 - Add column number to PCToLineNumber. (r=djvj) 2015-03-20 20:48:30 -07:00
Boris Zbarsky
0d2e2370d6 Bug 1145491 part 7. Stop checking compileAndGo before emitting GNAME ops. r=luke 2015-03-20 21:34:19 -04:00
Boris Zbarsky
c3e2519d34 Bug 1145491 part 6. Fix script cloning to propagate the polluted-global-scope state to the lambda templates in the script. r=luke 2015-03-20 21:34:18 -04:00
Boris Zbarsky
8fd50b3afc Bug 1145491 part 5. Fix up various other places that check for JSOP_GET/SETNAME without checking for the GNAME versions too. r=luke 2015-03-20 21:34:18 -04:00
Boris Zbarsky
05d0d8b68a Bug 1145491 part 4. Emit JSOP_IMPLICITTHIS for JSOP_GETGNAME as well, because otherwise bareword calls in polluted-global scripts won't work right. r=luke 2015-03-20 21:34:18 -04:00
Boris Zbarsky
9581a58fe2 Bug 1145491 part 3. Only do the fast path for JSOP_SETGNAME and JSOP_STRICTSETGNAME when the script doesn't have a polluted global. r=luke,jandem 2015-03-20 21:34:18 -04:00
Boris Zbarsky
fcb4bec8e2 Bug 1145491 part 2. Only do the fast path for JSOP_GETGNAME when the script doesn't have a polluted global. r=luke,jandem 2015-03-20 21:34:18 -04:00
Boris Zbarsky
29fe53049b Bug 1145491 part 1. Only do the fast path for JSOP_BINDGNAME when the script doesn't have a polluted global. r=luke,jandem 2015-03-20 21:34:18 -04:00
Boris Zbarsky
bda6c70e4a Bug 1145488. Stop using compileAndGo in the JITs. r=jandem 2015-03-20 21:34:18 -04:00
Ryan VanderMeulen
6fa51cb894 Backed out changeset d3c9b899f7d2 (bug 1143256) for frequent browser_perf-refresh.js leaks.
--HG--
extra : rebase_source : d8872879f2e6bec248ac3a5fc8b254be437abea0
2015-03-20 16:07:42 -04:00
Benjamin Bouvier
49ceac7a99 Bug 1143758: Invalidate script when a lexical check has failed; r=shu
--HG--
extra : rebase_source : 22eb2091c3b463bc7ec9625c9a82b9a40d11baaf
2015-03-17 19:23:44 +01:00
Benjamin Bouvier
62b073d29a Bug 1143758: Make LexicalCheck movable and bailout when a lexical isn't initialized; r=shu
--HG--
extra : rebase_source : 8961129cee5ee1aba41df41c7ca17dda14ad189d
2015-03-20 16:28:58 +01:00
Benjamin Bouvier
7319a01bdc Bug 1135042: Optimize SIMD.storeX/storeXY/storeXYZ in Ion; r=bhackett
--HG--
extra : rebase_source : 50d909f342f6ed912aeb48a12590836bb9506af1
2015-03-19 13:50:56 +01:00
Benjamin Bouvier
b554a521b3 Bug 1135042: Optimize SIMD.loadX/loadXY/loadXYZ in Ion; r=bhackett
--HG--
extra : rebase_source : b4c4b6c155477b14830880da44ba8ffbe161db4c
2015-03-20 19:36:16 +01:00
Nicolas B. Pierron
b3f567f106 Bug 1138693 - Check if Loads can be optimized by Scalar Replcement. r=jandem 2015-03-20 19:16:47 +01:00
Kannan Vijayan
8299080b57 Bug 1143802 - Forward jit level information to profiler frontend. r=shu 2015-03-20 13:50:23 -04:00
Benjamin Bouvier
85d4ae78b7 Bug 1135428: Fix test to run with --no-asmjs as well on a CLOSED TREE; r=bustage
--HG--
extra : rebase_source : a836af726f8186db15429cd654737909e2817615
extra : amend_source : a030391bd18db4efe6ef283205e298d4ff57d282
2015-03-20 16:55:06 +01:00
Benjamin Bouvier
962b231116 Bug 1135039: Generalize SimdGeneralShuffle codegen; r=sunfish
--HG--
extra : rebase_source : f5debe17cc43e21c374405d94dded6bf6a3ad533
2015-03-12 14:58:59 +01:00
Benjamin Bouvier
db1caa8757 Bug 1135039: Factor out LInstructionHelper/LVariadicInstruction code; r=sunfish
--HG--
extra : rebase_source : e1b6ff7dd63e18cfa9010b294dce14a4016fbf8b
2015-03-12 14:25:29 +01:00
Benjamin Bouvier
75db09e971 Bug 1135039: Generalize swizzle MIR node to SimdGeneralShuffle; r=sunfish
--HG--
extra : rebase_source : 0d6c1703c0285325929265820ddae2c08e0abaee
2015-03-18 20:07:45 +01:00
Benjamin Bouvier
f41e9c3221 Bug 1135039: Implement LVariadicInstruction; r=sunfish
--HG--
extra : rebase_source : 5735970f6323083e66b3ba4780f6627f850dd26a
2015-03-12 14:01:29 +01:00
Nick Fitzgerald
3dc26340ad Bug 1144973 - Ensure that StringifySavedFrameStack puts its stack string in the cx's compartment. r=bz 2015-03-19 10:29:00 -04:00
Emanuel Hoogeveen
7738c1c171 Bug 1143966 - Remove type specifier from AllocKind to avoid miscompilations on GCC. r=terrence
--HG--
extra : rebase_source : a5478fcb4b834ff6ba798032f6dd4f8e1d28107d
2015-03-19 13:59:00 -04:00
Luke Wagner
ec8e32a7cb Bug 1135428 - OdinMonkey: return nullptr, not false (r=warnings-as-errors CLOSED TREE) 2015-03-20 09:15:03 -05:00
Luke Wagner
8635de289b Bug 1135428 - OdinMonkey: remove compileAndGo restriction (r=bbouvier) 2015-03-20 08:52:14 -05:00