mirror of
https://git.suyu.dev/suyu/sirit.git
synced 2024-12-23 04:32:04 +00:00
Merge pull request #8 from lioncash/ref
sirit: Add missing reference argument specifier for OpLabel
This commit is contained in:
commit
a8ac2068a6
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