From a0980f2446c0db735b8ffeb37e241370c458a626 Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Fri, 2 Aug 2019 15:03:34 +0900 Subject: Revert "Add a specialized instruction for `.nil?` calls" This reverts commit 9faef3113fb4331524b81ba73005ba13fa0ef6c6. It seemed to cause a failure on macOS Mojave, though I'm unsure how. https://rubyci.org/logs/rubyci.s3.amazonaws.com/osx1014/ruby-master/log/20190802T034503Z.fail.html.gz This tentative revert is to check if the issue is actually caused by the change or not. --- benchmark/nil_p.yml | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 benchmark/nil_p.yml (limited to 'benchmark') diff --git a/benchmark/nil_p.yml b/benchmark/nil_p.yml deleted file mode 100644 index 79ba4f2177..0000000000 --- a/benchmark/nil_p.yml +++ /dev/null @@ -1,9 +0,0 @@ -prelude: | - class Niller; def nil?; true; end; end - xnil, notnil = nil, Object.new - niller = Niller.new -benchmark: - - xnil.nil? - - notnil.nil? - - niller.nil? -loop_count: 10000000 -- cgit v1.2.3