Spaces:
Running
Running
File size: 520 Bytes
8f3f8db |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
inlining
checkForCompleteness: stmtLists in: aCodeGen
"Set the complete flag if none of the given statement list nodes contains further candidates for inlining."
complete := true.
stmtLists do: [ :stmtList |
stmtList statements do: [ :node |
(self inlineableSend: node in: aCodeGen) ifTrue: [
complete := false. "more inlining to do"
^self
].
].
].
parseTree nodesDo: [ :n |
(self inlineableFunctionCall: n in: aCodeGen) ifTrue: [
complete := false. "more inlining to do"
^self
].
]. |