From baa849443f6e1cd91ab48f17d5967e4a60bfc93f Mon Sep 17 00:00:00 2001
From: ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Fri, 27 Oct 2017 19:08:31 +0000
Subject: `th` -> `ec` for `rb_insn_func_t`.

* vm_core.h (rb_insn_func_t): accepts `ec` instead of `th`.

* vm_insnhelper.c (rb_vm_opt_struct_aref): ditto.

* vm_insnhelper.c (rb_vm_opt_struct_aset): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
---
 insns.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'insns.def')

diff --git a/insns.def b/insns.def
index 6a6ce4b357..065371fe1d 100644
--- a/insns.def
+++ b/insns.def
@@ -1675,7 +1675,7 @@ opt_call_c_function
 ()
 ()
 {
-    reg_cfp = (funcptr)(rb_ec_thread_ptr(ec), reg_cfp);
+    reg_cfp = (funcptr)(ec, reg_cfp);
 
     if (reg_cfp == 0) {
 	VALUE err = ec->errinfo;
-- 
cgit v1.2.3

