diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-03-18 13:31:19 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-03-18 13:31:19 +0100 |
commit | 54f44bb628df675f9359b588a0ef628b7c783f6a (patch) | |
tree | 1fd8f69e27a02f0b8f71828bcab551b7103ad1a0 /js/src/jit/Ion.cpp | |
parent | 22fc2203541d3136b164a0ca138a851167ada760 (diff) | |
download | UXP-54f44bb628df675f9359b588a0ef628b7c783f6a.tar UXP-54f44bb628df675f9359b588a0ef628b7c783f6a.tar.gz UXP-54f44bb628df675f9359b588a0ef628b7c783f6a.tar.lz UXP-54f44bb628df675f9359b588a0ef628b7c783f6a.tar.xz UXP-54f44bb628df675f9359b588a0ef628b7c783f6a.zip |
[js] Remove pointless MakeMRegExpHoistable optimization.
It's a lot of code with no measurable effect.
Diffstat (limited to 'js/src/jit/Ion.cpp')
-rw-r--r-- | js/src/jit/Ion.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/js/src/jit/Ion.cpp b/js/src/jit/Ion.cpp index 9337f6150..aa0ba8e3d 100644 --- a/js/src/jit/Ion.cpp +++ b/js/src/jit/Ion.cpp @@ -1497,14 +1497,6 @@ OptimizeMIR(MIRGenerator* mir) if (mir->shouldCancel("Start")) return false; - if (!mir->compilingWasm()) { - if (!MakeMRegExpHoistable(mir, graph)) - return false; - - if (mir->shouldCancel("Make MRegExp Hoistable")) - return false; - } - gs.spewPass("BuildSSA"); AssertBasicGraphCoherency(graph); |