summaryrefslogtreecommitdiff
path: root/mlir/lib/Dialect/Bufferization/IR/BufferDeallocationOpInterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/lib/Dialect/Bufferization/IR/BufferDeallocationOpInterface.cpp')
-rw-r--r--mlir/lib/Dialect/Bufferization/IR/BufferDeallocationOpInterface.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/mlir/lib/Dialect/Bufferization/IR/BufferDeallocationOpInterface.cpp b/mlir/lib/Dialect/Bufferization/IR/BufferDeallocationOpInterface.cpp
index eed7a56fff8a..ca914df8b789 100644
--- a/mlir/lib/Dialect/Bufferization/IR/BufferDeallocationOpInterface.cpp
+++ b/mlir/lib/Dialect/Bufferization/IR/BufferDeallocationOpInterface.cpp
@@ -94,7 +94,9 @@ void Ownership::combine(Ownership other) { *this = getCombined(other); }
// DeallocationState
//===----------------------------------------------------------------------===//
-DeallocationState::DeallocationState(Operation *op) : liveness(op) {}
+DeallocationState::DeallocationState(Operation *op,
+ SymbolTableCollection &symbolTables)
+ : symbolTable(symbolTables), liveness(op) {}
void DeallocationState::updateOwnership(Value memref, Ownership ownership,
Block *block) {