summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-05 00:49:41 (GMT)
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-05 00:49:41 (GMT)
commite1428e5c929826fedaf6cb3cbf70f16e4518c4f6 (patch)
tree35936ff3de73218ccf924cfbf865c69af819e33a /vm_core.h
parentecc29dc209fe79197968b0c8b3016efa11c4b9a4 (diff)
Refactor ISEQ_TYPE_DEFINED_GUARD out
This commit removes ISEQ_TYPE_DEFINED_GUARD because it is no longer needed. And this introduces ISEQ_TYPE_PLAIN which means that the iseq does nothing special but just wrap an expression. Currently, this is used for once execution: `/foo#{ bar }baz/o`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_core.h b/vm_core.h
index 593665c..59d627a 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -299,7 +299,7 @@ struct rb_iseq_constant_body {
ISEQ_TYPE_ENSURE,
ISEQ_TYPE_EVAL,
ISEQ_TYPE_MAIN,
- ISEQ_TYPE_DEFINED_GUARD
+ ISEQ_TYPE_PLAIN
} type; /* instruction sequence type */
unsigned int iseq_size;