You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: kmir/src/kmir/kdist/mir-semantics/rt/value.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -34,8 +34,8 @@ High-level values can be
34
34
// stack depth (initially 0), place, borrow kind
35
35
| Range( List )
36
36
// homogenous values for array/slice
37
-
| Ptr( Int, Place, Mutability ) // Same as ref for now until I understand how to handle better
38
-
// address, metadata for ref/ptr
37
+
| Ptr( Int, Place, Mutability, Int, Int)
38
+
// stack depth (initially zero), place, mutablility, address, offset NOTE: First 3 fields are the same as Reference, last are needed for low level instructions
39
39
| "Any"
40
40
// arbitrary value for transmute/invalid ptr lookup
0 commit comments