removing exceptions

This commit is contained in:
Torsten Ruger
2014-07-14 16:19:47 +03:00
parent c7c4387e16
commit 93bdd8a243
8 changed files with 38 additions and 26 deletions

View File

@ -1,7 +1,8 @@
module Ast
class IfExpression < Expression
# attr_reader :cond, :if_true, :if_false
def compile context
def compile frame , method
return nil
f = context.function
# to execute the logic as the if states it, the blocks are the other way around
# so we can the jump over the else if true ,and the else joins unconditionally after the true_block