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
indexedPointerDeref !=null->TODO("assign to indexed pointer ${target.position} - for now, split up the assignment target using a temporary pointer variable")
errors.warn("in-place assignment of indexed pointer variable currently is very inefficient, maybe use a temporary pointer variable", assignment.position)
Copy file name to clipboardExpand all lines: docs/source/todo.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,10 +5,10 @@ TODO
5
5
STRUCTS and TYPED POINTERS
6
6
--------------------------
7
7
8
-
- make this array indexed assignment work: ^^Node np / np[2]^^.field = 9999 (same for pointer arrays!) likely needs more support in the assignment target class (remove Note in docs when fixed)
9
8
- implement the remaining TODO's in PointerAssignmentsGen.
10
9
- optimize deref in PointerAssignmentsGen: optimize 'forceTemporary' to only use a temporary when the offset is >0
11
10
- optimize the float copying in assignIndexedPointer() (also word?)
11
+
- optimize augmented assignments to indexed pointer targets like sprptr[2]^^.y++ (these are now not performend in-place but as a regular assignment)
12
12
- implement even more struct instance assignments (via memcopy) in CodeDesugarer (see the TODO) (add to documentation as well, paragraph 'Structs')
0 commit comments