mirror of
https://git.suyu.dev/suyu/sirit.git
synced 2026-01-06 22:49:28 +01:00
Add OpName and debug symbols
This commit is contained in:
parent
abcc20748c
commit
acea9030c5
5 changed files with 33 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue