aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2018-05-22 16:53:40 -0400
committerGitHub <noreply@github.com>2018-05-22 16:53:40 -0400
commite6519f95da63260a282eb18607ad4bc49e31bf41 (patch)
tree025fc1c42fedcbe762d3ac9bfbac42dc7cdbfdf5
parent976ef40aefc92a30ca44a1b0322e5b46e32c0d91 (diff)
parent0428ed8067b0c33602b14c5a02d2e64ffd4801d4 (diff)
downloadrails-e6519f95da63260a282eb18607ad4bc49e31bf41.tar.gz
rails-e6519f95da63260a282eb18607ad4bc49e31bf41.tar.bz2
rails-e6519f95da63260a282eb18607ad4bc49e31bf41.zip
Merge pull request #32825 from utilum/fewer_tt.eclosure_calls
FIX: tt.eclosure is not needed for the GTG
-rw-r--r--actionpack/lib/action_dispatch/journey/nfa/simulator.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/journey/nfa/simulator.rb b/actionpack/lib/action_dispatch/journey/nfa/simulator.rb
index 8efe48d91c..002f6feb97 100644
--- a/actionpack/lib/action_dispatch/journey/nfa/simulator.rb
+++ b/actionpack/lib/action_dispatch/journey/nfa/simulator.rb
@@ -25,8 +25,6 @@ module ActionDispatch
state = tt.eclosure(0)
until input.eos?
sym = input.scan(%r([/.?]|[^/.?]+))
-
- # FIXME: tt.eclosure is not needed for the GTG
state = tt.eclosure(tt.move(state, sym))
end