aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Bindings/Python/IRModule.h
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/lib/Bindings/Python/IRModule.h')
-rw-r--r--mlir/lib/Bindings/Python/IRModule.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/mlir/lib/Bindings/Python/IRModule.h b/mlir/lib/Bindings/Python/IRModule.h
index 56bb834..ade790b 100644
--- a/mlir/lib/Bindings/Python/IRModule.h
+++ b/mlir/lib/Bindings/Python/IRModule.h
@@ -554,9 +554,8 @@ public:
bool assumeVerified);
// Implement the bound 'writeBytecode' method.
- MlirBytecodeWriterResult
- writeBytecode(const pybind11::object &fileObject,
- std::optional<int64_t> bytecodeVersion);
+ void writeBytecode(const pybind11::object &fileObject,
+ std::optional<int64_t> bytecodeVersion);
/// Moves the operation before or after the other operation.
void moveAfter(PyOperationBase &other);