Turn the helper environmentInfo into an IR node.

Because it seems there's nothing else we can do about it.