aboutsummaryrefslogtreecommitdiffstats
path: root/vm.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-27 05:29:49 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-27 05:29:49 +0000
commitd226ce8decef356c7447efb6b6b325bc8fc53dba (patch)
treefc6ee90568444f58aeea654c4f2326cb5b1f73ae /vm.c
parentf8fe5349802f2d73a70b0b7a190a3c7071efa0f4 (diff)
downloadruby-d226ce8decef356c7447efb6b6b325bc8fc53dba.tar.gz
internal.h: ONLY_FOR_INTERNAL_USE
* error.c (ruby_only_for_internal_use): raise fatal error when deprecated function only for internal use is called, not just a warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/vm.c b/vm.c
index 77f57d9839..94fbfdda48 100644
--- a/vm.c
+++ b/vm.c
@@ -459,8 +459,7 @@ rb_vm_rewind_cfp(rb_thread_t *th, rb_control_frame_t *cfp)
void
rb_frame_pop(void)
{
- rb_thread_t *th = GET_THREAD();
- vm_pop_frame(th);
+ ONLY_FOR_INTERNAL_USE("rb_frame_pop()");
}
/* at exit */