summaryrefslogtreecommitdiffhomepage
path: root/flowgraph/node.cpp
diff options
context:
space:
mode:
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));
+}