diff options
Diffstat (limited to 'mlir/lib/IR/Block.cpp')
-rw-r--r-- | mlir/lib/IR/Block.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/IR/Block.cpp b/mlir/lib/IR/Block.cpp index 2757c505555..c1eb211610d 100644 --- a/mlir/lib/IR/Block.cpp +++ b/mlir/lib/IR/Block.cpp @@ -91,7 +91,7 @@ void Block::dropAllReferences() { void Block::dropAllDefinedValueUses() { for (auto arg : getArguments()) - arg->dropAllUses(); + arg.dropAllUses(); for (auto &op : *this) op.dropAllDefinedValueUses(); dropAllUses(); |