diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-07-28 19:27:52 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-07-28 19:27:52 +0000 |
commit | 14afb64c99ec39aa8fedbd63c96d0a7742e9a531 (patch) | |
tree | 652824c04417506a4acf29674b9d9e6950fd3c37 /vm_core.h | |
parent | 0cf58ebf5f32619e4c2fae8ae1a159ae5abcd6ac (diff) | |
download | ruby-14afb64c99ec39aa8fedbd63c96d0a7742e9a531.tar.gz |
* vm_core.h (VM_ENV_LOCAL_P): return truthy (0 or not) value.
* vm.c (rb_vm_make_proc_lambda): use VM_ENV_ESCAPED_P() macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1039,7 +1039,7 @@ VM_FRAME_TYPE(const rb_control_frame_t *cfp) static inline int VM_ENV_LOCAL_P(const VALUE *ep) { - return VM_ENV_FLAGS(ep, VM_ENV_FLAG_LOCAL) ? 1 : 0; + return VM_ENV_FLAGS(ep, VM_ENV_FLAG_LOCAL); } static inline const VALUE * |