Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions kmir/src/kmir/kdist/mir-semantics/rt/data.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,13 @@ Constant operands are simply decoded according to their type.
...
</k>
requires typeInfoVoidType =/=K lookupTy(TY)

// Fallback for zero-sized constants whose type metadata was not emitted.
rule <k> operandConstant(constOperand(_, _, mirConst(constantKindZeroSized, TY, _)))
=> Aggregate(variantIdx(0), .List)
...
</k>
requires typeInfoVoidType ==K lookupTy(TY)
```

### Copying and Moving
Expand Down