We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fef7753 commit 0d0cc06Copy full SHA for 0d0cc06
mlir/lib/Bindings/Python/Rewrite.cpp
@@ -127,7 +127,7 @@ class PyFrozenRewritePatternSet {
127
mlirPythonFrozenRewritePatternSetToCapsule(get()));
128
}
129
130
- static nb::object createFromCapsule(nb::object capsule) {
+ static nb::object createFromCapsule(const nb::object &capsule) {
131
MlirFrozenRewritePatternSet rawPm =
132
mlirPythonCapsuleToFrozenRewritePatternSet(capsule.ptr());
133
if (rawPm.ptr == nullptr)
0 commit comments