From e1428e5c929826fedaf6cb3cbf70f16e4518c4f6 Mon Sep 17 00:00:00 2001 From: mame Date: Fri, 5 Jan 2018 00:49:41 +0000 Subject: 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 --- vm_core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm_core.h') diff --git a/vm_core.h b/vm_core.h index 593665c656..59d627a935 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; -- cgit v1.2.3