Let constants and simular things depend on the stack frame instead of the barrier.