My point is that ASLR makes assumptions about the attackers capabilities. All good mitigations do. If the attacker has "I can run nearly arbitrary computations on within the processes memory space", that is outside of the model that ASLR attempts to deal with.
For example, ASLR for a process that executes Javascript is probably not going to be as useful as ASLR for a process that receives network requests.