1 parent 74aaf6f commit e61c941Copy full SHA for e61c941
1 file changed
src/values/basic_value_use.rs
@@ -80,15 +80,15 @@ impl<'ctx> Operand<'ctx> {
80
#[must_use]
81
#[track_caller]
82
pub fn unwrap_value(self) -> BasicValueEnum<'ctx> {
83
- self.expect_value("Called unwrap_value() on UsedValue::Block.")
+ self.expect_value("Called unwrap_value() on Operand::Block.")
84
}
85
86
/// Unwrap [BasicBlock]. Will panic if it is not.
87
#[inline]
88
89
90
pub fn unwrap_block(self) -> BasicBlock<'ctx> {
91
- self.expect_block("Called unwrap_block() on UsedValue::Value.")
+ self.expect_block("Called unwrap_block() on Operand::Value.")
92
93
94
0 commit comments