mirror of
https://github.com/open-goal/jak-project
synced 2026-09-12 12:55:22 -04:00
15 lines
292 B
C++
15 lines
292 B
C++
#ifndef JAK_LABEL_H
|
|
#define JAK_LABEL_H
|
|
|
|
class FunctionEnv;
|
|
|
|
struct Label {
|
|
Label() = default;
|
|
Label(FunctionEnv* _func, int _idx = -1) : func(_func), idx(_idx) {}
|
|
FunctionEnv* func;
|
|
int idx;
|
|
std::string print() { return "LABEL-" + std::to_string(idx); }
|
|
};
|
|
|
|
#endif // JAK_LABEL_H
|