soiz1's picture
Upload folder using huggingface_hub
8f3f8db verified
raw
history blame contribute delete
520 Bytes
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
].
].