equal
deleted
inserted
replaced
94 |
94 |
95 isLLVMBasicBlock |
95 isLLVMBasicBlock |
96 ^ true |
96 ^ true |
97 |
97 |
98 "Created: / 21-04-2016 / 22:29:33 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
98 "Created: / 21-04-2016 / 22:29:33 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
99 ! |
|
100 |
|
101 isTerminated |
|
102 "Return true if this block is terminated, i.e, if it's |
|
103 last instruction is a terminator. False otherwise or if |
|
104 block has no instruction at all" |
|
105 |
|
106 | last | |
|
107 |
|
108 last := self lastInstruction. |
|
109 last notNil ifTrue:[ ^ last isTerminatorInst ]. |
|
110 ^ false |
|
111 |
|
112 "Created: / 22-04-2016 / 10:14:46 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
99 ! ! |
113 ! ! |
100 |
114 |