~tim/scheme-vm

97bdc6d9afc12032c35786d789a53077a2efe318 — Tim Morgan 2 years ago b3dc999
Remove unneeded instructions for if
1 files changed, 0 insertions(+), 4 deletions(-)

M compiler/lib/scheme/base.rb
M compiler/lib/scheme/base.rb => compiler/lib/scheme/base.rb +0 -4
@@ 299,10 299,6 @@ class Compiler
              VM::TYPE,
              VM::PUSH_NUM, VM::TYPES.index(type),
              VM::CMP_EQ,
              VM::JUMP_IF_FALSE, 4,
              VM::PUSH_TRUE,
              VM::JUMP, 2,
              VM::PUSH_FALSE,
              pop_maybe(options)
            ]
          end