vm/codegen/instructions_gen.rb
# Look at the implementation code and figure out if the implementation
# code returns void or bool.
#
Look at the implementation code and figure out if the implementation
code returns void or bool.
Look at the implementation code and figure out if the implementation code returns void or bool .
def return_type
      if /RETURN\(/.match(body)
        "bool"
      else
        "void"
      end
    end
def return_type if / RETURN \( / . match ( body ) "bool" else "void" end end
Look at the implementation code and figure out if the implementation
code returns void or bool.
Look at the implementation code and figure out if the implementation code returns void or bool .