aboutsummaryrefslogtreecommitdiffstats
path: root/vm_exec.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-08-10 04:55:12 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-08-10 04:55:12 +0000
commitb4933f2a66baecf8abe4ecd4020ee7d042c1eea4 (patch)
tree2f9f2f81a57cb986b724d87959260d27de12da54 /vm_exec.h
parent6432c915543db226c276533e21a5c7ef591cbb9a (diff)
downloadruby-b4933f2a66baecf8abe4ecd4020ee7d042c1eea4.tar.gz
rename rb_execution_context_t::stack(_size) to vm_stack(_size).
* vm_core.h: Ruby processes run with two stacks, a machine stack and a VM stack. To make it clear, this fix renames rb_execution_context_t::stack(_size) to vm_stack(_size). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_exec.h')
-rw-r--r--vm_exec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_exec.h b/vm_exec.h
index 2b5f7a9473..12dd277330 100644
--- a/vm_exec.h
+++ b/vm_exec.h
@@ -157,7 +157,7 @@ default: \
#endif
-#define VM_SP_CNT(th, sp) ((sp) - (th)->ec.stack)
+#define VM_SP_CNT(th, sp) ((sp) - (th)->ec.vm_stack)
#if OPT_CALL_THREADED_CODE
#define THROW_EXCEPTION(exc) do { \