diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-11-07 19:23:50 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-11-07 19:23:50 +0100 |
commit | e7d51fff32ea247fd35b56fc7cf5ce06df5dc6bf (patch) | |
tree | 0874ecc0471ff8896a821ac150895fa4c7865f09 /flowgraph/node.cpp | |
parent | f0f7a8f7fd237d1f8e2bab2bfb2cb4442e1a692f (diff) |
Implemented first expressions (add)
Diffstat (limited to 'flowgraph/node.cpp')
-rw-r--r-- | flowgraph/node.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/flowgraph/node.cpp b/flowgraph/node.cpp index f81a7e1..81217ce 100644 --- a/flowgraph/node.cpp +++ b/flowgraph/node.cpp @@ -24,3 +24,7 @@ Data FlowGraph::MakeLocalSize(const std::string& name) return Data(DataType::Size, std::make_shared<LocalStorage>(name)); } +Data FlowGraph::MakeTemporaryInt(FlowGraph::LocalScope& scope) +{ + return Data(DataType::Int, std::make_shared<TemporaryStorage>(scope)); +} |