Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Nov 12, 2015

9443203
applied a patch that optimizes k_if and modifier_if for trivial conditions. This patch applies the same optimizations to k_unless and modifier_unless.

@nobu nobu closed this in aa4ab18 Nov 13, 2015
sonots pushed a commit to sonots/ruby that referenced this pull request Nov 17, 2015
* parse.y (new_unless): optimize constant condition for `unless`
  as well as `if`.  [Fix rubyGH-1092]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants