mirror of
https://git.suyu.dev/suyu/sirit.git
synced 2024-12-22 12:12:05 +00:00
sirit: Add missing reference argument specifier for OpLabel
This commit is contained in:
parent
057b100a68
commit
59867b7907
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ public:
|
||||||
Id OpLabel();
|
Id OpLabel();
|
||||||
|
|
||||||
/// The block label instruction: Any reference to a block is through this ref.
|
/// The block label instruction: Any reference to a block is through this ref.
|
||||||
Id OpLabel(const std::string label_name) {
|
Id OpLabel(const std::string& label_name) {
|
||||||
return Name(OpLabel(), label_name);
|
return Name(OpLabel(), label_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue