aboutsummaryrefslogtreecommitdiffstats
path: root/iseq.h
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-19 05:18:18 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-19 05:18:18 +0000
commitf60e5e714c1f0c1948d053cc4984d7ffff39db54 (patch)
treef61902c6d6c40a577eb76a376466dbdc566553da /iseq.h
parentd40488b72d71bf277756c2f3e46a90b3371ae7f9 (diff)
downloadruby-f60e5e714c1f0c1948d053cc4984d7ffff39db54.tar.gz
there is no such thing like 0 in enum defined_type
introduce new enum for it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.h')
-rw-r--r--iseq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/iseq.h b/iseq.h
index 283f5dcdf4..0c316e2cb2 100644
--- a/iseq.h
+++ b/iseq.h
@@ -276,6 +276,7 @@ struct iseq_compile_data_storage {
/* defined? */
enum defined_type {
+ DEFINED_NOT_DEFINED,
DEFINED_NIL = 1,
DEFINED_IVAR,
DEFINED_LVAR,