summaryrefslogtreecommitdiffhomepage
path: root/flowgraph/node.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-11-07 19:23:50 +0100
committerRoland Reichwein <mail@reichwein.it>2020-11-07 19:23:50 +0100
commite7d51fff32ea247fd35b56fc7cf5ce06df5dc6bf (patch)
tree0874ecc0471ff8896a821ac150895fa4c7865f09 /flowgraph/node.cpp
parentf0f7a8f7fd237d1f8e2bab2bfb2cb4442e1a692f (diff)
Implemented first expressions (add)
Diffstat (limited to 'flowgraph/node.cpp')
-rw-r--r--flowgraph/node.cpp4
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));
+}