sirit: Add missing reference argument specifier for OpLabel

This commit is contained in:
Lioncash 2019-03-14 02:31:13 -04:00
parent 057b100a68
commit 59867b7907

View File

@ -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);
} }