[前][次][番号順一覧][スレッド一覧]

ruby-changes:69788

From: Yusuke <ko1@a...>
Date: Thu, 18 Nov 2021 03:47:51 +0900 (JST)
Subject: [ruby-changes:69788] 1e9ef03639 (master): compile.c: remove dead code

https://git.ruby-lang.org/ruby.git/commit/?id=1e9ef03639

From 1e9ef0363940dcb77c842ad68fb6ed99b861d4d5 Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Thu, 18 Nov 2021 02:40:53 +0900
Subject: compile.c: remove dead code

---
 compile.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/compile.c b/compile.c
index 81f31482fe4..8a459b25589 100644
--- a/compile.c
+++ b/compile.c
@@ -7993,7 +7993,6 @@ compile_builtin_function_call(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NOD https://github.com/ruby/ruby/blob/trunk/compile.c#L7993
 
                 ADD_INSN1(ret, line_node, putobject, Qfalse);
                 return compile_builtin_mandatory_only_method(iseq, node, line_node);
-                return COMPILE_OK;
             }
             else if (1) {
                 rb_bug("can't find builtin function:%s", builtin_func);
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]