blob: 7e502de621b204349934ab0efcee9a629d093e6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include "storage.h"
using namespace std::string_literals;
FlowGraph::TemporaryStorage::TemporaryStorage(LocalScope& scope):
m_scope(scope)
{
}
std::string FlowGraph::TemporaryStorage::name() const
{
return "__local_"s + std::to_string(m_scope.indexOfStorage(*this));
}
|