Add OpMemberName

This commit is contained in:
ReinUsesLisp 2018-11-03 21:29:24 -03:00
parent ad963b6520
commit 1cd11815db
2 changed files with 13 additions and 0 deletions

View file

@ -200,6 +200,10 @@ class Module {
/// @return target
Id Name(Id target, const std::string& name);
/// Assign a name string to a member of a structure type.
/// @return type
Id MemberName(Id type, std::uint32_t member, const std::string& name);
/// Assign a Result <id> to a string for use by other debug instructions.
Id String(const std::string& string);