diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2019-08-02 15:03:34 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2019-08-02 15:03:34 +0900 |
commit | a0980f2446c0db735b8ffeb37e241370c458a626 (patch) | |
tree | ff8b0696ccec1e081117963f9e77cdbfab2fd756 /compile.c | |
parent | 19006b711d8649b69d6f9dafad073a2f57201dd7 (diff) |
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.
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -3255,7 +3255,6 @@ iseq_specialized_instruction(rb_iseq_t *iseq, INSN *iobj) case idLength: SP_INSN(length); return COMPILE_OK; case idSize: SP_INSN(size); return COMPILE_OK; case idEmptyP: SP_INSN(empty_p);return COMPILE_OK; - case idNilP: SP_INSN(nil_p); return COMPILE_OK; case idSucc: SP_INSN(succ); return COMPILE_OK; case idNot: SP_INSN(not); return COMPILE_OK; } |