summaryrefslogtreecommitdiff
path: root/vm_exec.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_exec.h')
-rw-r--r--vm_exec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_exec.h b/vm_exec.h
index 12dd277330..e44ed1bbaf 100644
--- a/vm_exec.h
+++ b/vm_exec.h
@@ -157,11 +157,11 @@ default: \
#endif
-#define VM_SP_CNT(th, sp) ((sp) - (th)->ec.vm_stack)
+#define VM_SP_CNT(th, sp) ((sp) - (th)->ec->vm_stack)
#if OPT_CALL_THREADED_CODE
#define THROW_EXCEPTION(exc) do { \
- th->ec.errinfo = (VALUE)(exc); \
+ th->ec->errinfo = (VALUE)(exc); \
return 0; \
} while (0)
#else