This avoids redoing them for each expression in the list. Signed-off-by: Martin Storsjö <martin@martin.st>