diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-08-10 04:55:12 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-08-10 04:55:12 +0000 |
commit | 6881279149bb452ed1787cdf60c8e614178c0b6a (patch) | |
tree | 2f9f2f81a57cb986b724d87959260d27de12da54 /vm_insnhelper.h | |
parent | 25213719c21ed53ab4fc5c24193d83dfe93c1c4e (diff) |
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_insnhelper.h')
-rw-r--r-- | vm_insnhelper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.h b/vm_insnhelper.h index 8edeb28014..33720cfb21 100644 --- a/vm_insnhelper.h +++ b/vm_insnhelper.h @@ -95,7 +95,7 @@ enum vm_regan_acttype { #define SET_SV(x) (*GET_SP() = (x)) /* set current stack value as x */ -#define GET_SP_COUNT() (VM_REG_SP - th->ec.stack) +#define GET_SP_COUNT() (VM_REG_SP - th->ec.vm_stack) /* instruction sequence C struct */ #define GET_ISEQ() (GET_CFP()->iseq) |