diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-01-09 13:58:49 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-01-09 13:58:49 +0000 |
commit | 78d6e3370238c47d5933703fb55d5ab9e8bc4692 (patch) | |
tree | 2f9b875ccab85df48503ae0d95727c5c2108765c /compile.c | |
parent | df0faba1ff958590a02fd668afbf2b525e845b54 (diff) |
Fix styles [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -3895,11 +3895,7 @@ static_literal_node_p(const NODE *node, const rb_iseq_t *iseq) case NODE_FALSE: return TRUE; case NODE_STR: - if (ISEQ_COMPILE_DATA(iseq)->option->frozen_string_literal) { - return TRUE; - } else { - return FALSE; - } + return ISEQ_COMPILE_DATA(iseq)->option->frozen_string_literal; default: return FALSE; } |