Add OpName and debug symbols

This commit is contained in:
ReinUsesLisp 2018-08-31 04:40:15 -03:00
parent abcc20748c
commit acea9030c5
5 changed files with 33 additions and 5 deletions

View file

@ -174,6 +174,11 @@ public:
/// Returns with no value from a function with void return type.
Ref Return();
// Debug
/// Assign a name string to a reference.
void Name(Ref target, const std::string& name);
// Literals
static Operand* Literal(std::uint32_t value);
static Operand* Literal(std::uint64_t value);