aboutsummaryrefslogtreecommitdiffstats
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-17 03:08:20 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-17 03:08:20 +0000
commitfd639a4c3bb7f5a9f0f33c2230ab58fd4bd3d70b (patch)
treebe43f82eb5106ed6d212a0736c7d7cc5c4fd2c97 /vm_insnhelper.c
parent25d670429c8ecf3e2d2cf4310982a331e8dc2133 (diff)
downloadruby-fd639a4c3bb7f5a9f0f33c2230ab58fd4bd3d70b.tar.gz
vm.c: constify
* vm.c (rb_vm_get_binding_creatable_next_cfp): constify arguments. (rb_vm_get_ruby_level_next_cfp): ditto. (vm_get_ruby_level_caller_cfp): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index d5314c7b67..b875e2c627 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -22,7 +22,8 @@
#define INLINE inline
#endif
-static rb_control_frame_t *vm_get_ruby_level_caller_cfp(rb_thread_t *th, rb_control_frame_t *cfp);
+static rb_control_frame_t *
+vm_get_ruby_level_caller_cfp(const rb_thread_t *th, const rb_control_frame_t *cfp);
VALUE
ruby_vm_sysstack_error_copy(void)