summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-08 05:57:42 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-08 05:57:42 +0000
commita00b29a67f669c53f7940fa7814a209f7ea47f7e (patch)
tree308e5fea40865aa15597a2f30a409b4cf51aa471
parent69b716111f04a5a692578638a16fc55a75a9dd1d (diff)
insns.def: adjust indent
* insns.def (getlocal, defined): adjust indent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--insns.def7
1 files changed, 3 insertions, 4 deletions
diff --git a/insns.def b/insns.def
index c339180..338f299 100644
--- a/insns.def
+++ b/insns.def
@@ -61,7 +61,7 @@ getlocal
VALUE *ep = GET_EP();
for (i = 0; i < lev; i++) {
- ep = GET_PREV_EP(ep);
+ ep = GET_PREV_EP(ep);
}
val = *(ep - idx);
}
@@ -714,15 +714,14 @@ defined
expr_type = DEFINED_GVAR;
}
break;
- case DEFINED_CVAR:
- {
+ case DEFINED_CVAR: {
NODE *cref = rb_vm_get_cref(GET_ISEQ(), GET_EP());
klass = vm_get_cvar_base(cref, GET_CFP());
if (rb_cvar_defined(klass, SYM2ID(obj))) {
expr_type = DEFINED_CVAR;
}
break;
- }
+ }
case DEFINED_CONST:
klass = v;
if (vm_get_ev_const(th, GET_ISEQ(), klass, SYM2ID(obj), 1)) {