Skip to content

Commit 30308c0

Browse files
committed
revert the assert in AbstractBox for the moment
1 parent 60cf2c5 commit 30308c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flang/include/flang/Lower/Support/BoxValue.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ class AbstractBox {
5454
public:
5555
AbstractBox() = delete;
5656
AbstractBox(mlir::Value addr) : addr{addr} {
57-
assert(isa_passbyref_type(addr.getType()) &&
58-
"box values must be references");
57+
//assert(isa_passbyref_type(addr.getType()) &&
58+
// "box values must be references");
5959
}
6060

6161
/// An abstract box always contains a memory reference to a value.

0 commit comments

Comments
 (0)