From e7d51fff32ea247fd35b56fc7cf5ce06df5dc6bf Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 7 Nov 2020 19:23:50 +0100 Subject: Implemented first expressions (add) --- flowgraph/node.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'flowgraph/node.cpp') 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(name)); } +Data FlowGraph::MakeTemporaryInt(FlowGraph::LocalScope& scope) +{ + return Data(DataType::Int, std::make_shared(scope)); +} -- cgit v1.2.3