IfInstruction.first_true_instruction()
first_true_instruction() →
Instruction
The function returns the first instruction for the true-case scenario of the if-statement
Query Example
for the function:
The query (exec numbers are tuned here to match that exact if-statement)
Output
The next_instruction() is not used as it will always return an empty list of instructions. This is because no instruction can be run after a return statement, and the next_instruction() is non-recursive (intra-procedural).
Last updated