@@ -926,7 +926,7 @@ opt_new
926926 // The bookkeeping slot should be empty.
927927 RUBY_ASSERT (TOPN (argc + 1 ) == Qnil );
928928
929- if (vm_method_cfunc_is (GET_ISEQ (), cd , val , rb_class_new_instance_pass_kw )) {
929+ if (vm_method_cfunc_is (GET_CFP (), cd , val , rb_class_new_instance_pass_kw )) {
930930 RB_DEBUG_COUNTER_INC (opt_new_hit );
931931 val = rb_obj_alloc (val );
932932 TOPN (argc ) = val ;
@@ -947,7 +947,7 @@ objtostring
947947// attr bool leaf = false;
948948// attr bool zjit_profile = true;
949949{
950- val = vm_objtostring (GET_ISEQ (), recv , cd );
950+ val = vm_objtostring (GET_CFP (), recv , cd );
951951
952952 if (UNDEF_P (val )) {
953953 CALL_SIMPLE_METHOD ();
@@ -1006,7 +1006,7 @@ opt_nil_p
10061006(VALUE val )
10071007// attr bool zjit_profile = true;
10081008{
1009- val = vm_opt_nil_p (GET_ISEQ (), cd , recv );
1009+ val = vm_opt_nil_p (GET_CFP (), cd , recv );
10101010
10111011 if (UNDEF_P (val )) {
10121012 CALL_SIMPLE_METHOD ();
@@ -1435,7 +1435,7 @@ opt_eq
14351435(VALUE val )
14361436// attr bool zjit_profile = true;
14371437{
1438- val = opt_equality (GET_ISEQ (), recv , obj , cd );
1438+ val = opt_equality (GET_CFP (), recv , obj , cd );
14391439
14401440 if (UNDEF_P (val )) {
14411441 CALL_SIMPLE_METHOD ();
@@ -1450,7 +1450,7 @@ opt_neq
14501450(VALUE val )
14511451// attr bool zjit_profile = true;
14521452{
1453- val = vm_opt_neq (GET_ISEQ (), cd , cd_eq , recv , obj );
1453+ val = vm_opt_neq (GET_CFP (), cd , cd_eq , recv , obj );
14541454
14551455 if (UNDEF_P (val )) {
14561456 CALL_SIMPLE_METHOD ();
@@ -1672,7 +1672,7 @@ opt_not
16721672(VALUE val )
16731673// attr bool zjit_profile = true;
16741674{
1675- val = vm_opt_not (GET_ISEQ (), cd , recv );
1675+ val = vm_opt_not (GET_CFP (), cd , recv );
16761676
16771677 if (UNDEF_P (val )) {
16781678 CALL_SIMPLE_METHOD ();
0 commit comments