Home | History | Annotate | Download | only in lower_jumps

Lines Matching refs:statements

88 # statements.  All of these functions return statement lists (even
89 # those which only create a single statement), so that statements can
124 def loop(statements):
125 """Create a loop containing the given statements as its loop
128 check_sexp(statements)
129 return [['loop', [], [], [], [], statements]]
145 def complex_if(var_prefix, statements):
150 <statements>
154 This is useful in testing jump lowering, because if <statements>
162 check_sexp(statements)
163 return simple_if(var_prefix + 'a', simple_if(var_prefix + 'b', statements))
166 """Create the statements that lower_jumps.cpp uses to declare and
173 """Create the statements that lower_jumps.cpp uses to declare and
180 """Create the statements that lower_jumps.cpp uses to declare and
187 """Create the statements that lower_jumps.cpp uses to declare and
194 """Create the statements that lower_jumps.cpp lowers a return
205 """Create the statements that lower_jumps.cpp lowers a return
232 def if_execute_flag(statements):
233 """Wrap statements in an if test so that they will only execute if
236 check_sexp(statements)
237 return [['if', ['var_ref', 'execute_flag'], statements, []]]
239 def if_not_return_flag(statements):
240 """Wrap statements in an if test so that they will only execute if
243 check_sexp(statements)
244 return [['if', ['var_ref', 'return_flag'], [], statements]]
444 # gets lifted out of the if statements, and the code after the
484 there are statements preceding the break.
508 there are statements preceding the break.