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

ruby-changes:56766

From: Takashi <ko1@a...>
Date: Fri, 2 Aug 2019 22:46:41 +0900 (JST)
Subject: [ruby-changes:56766] Takashi Kokubun: a1727e43af (master): Remove opt_nil_p test to remove warning for now

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

From a1727e43af18c122c4d7adfa603f895fdc8f3df1 Mon Sep 17 00:00:00 2001
From: Takashi Kokubun <takashikkbn@g...>
Date: Fri, 2 Aug 2019 22:46:15 +0900
Subject: Remove opt_nil_p test to remove warning for now


diff --git a/test/ruby/test_jit.rb b/test/ruby/test_jit.rb
index 188c013..be2a32d 100644
--- a/test/ruby/test_jit.rb
+++ b/test/ruby/test_jit.rb
@@ -365,13 +365,6 @@ class TestJIT < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_jit.rb#L365
     end;
   end
 
-  def test_compile_insn_opt_nil_p
-    assert_compile_once("#{<<~"begin;"}\n#{<<~"end;"}", result_inspect: 'false', insns: %i[opt_nil_p])
-    begin;
-      nil.nil?.nil?
-    end;
-  end
-
   def test_compile_insn_opt_str_uminus
     assert_compile_once("#{<<~"begin;"}\n#{<<~"end;"}", result_inspect: '"bar"', insns: %i[opt_str_uminus])
     begin;
-- 
cgit v0.10.2


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

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