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
There's a lot of potential for off-by-one errors in the current code. In the interpreter R0 is at base[0], but in the codegen it is at [rbp + 8]. A cleaner solution is probably to always have r0 = Node. That way we also no longer need a special bytecode instruction for adding free variables (it's just loading a field from r0). Potential issues:
Interaction with CALL[T]. Does it make tailcalls easier/harder? What about overapplication?
There's a lot of potential for off-by-one errors in the current code. In the interpreter R0 is at
base[0]
, but in the codegen it is at[rbp + 8]
. A cleaner solution is probably to always haver0 = Node
. That way we also no longer need a special bytecode instruction for adding free variables (it's just loading a field from r0). Potential issues:The text was updated successfully, but these errors were encountered: