ir: Avoid constant-folding ptr to sentinels

Constant-folding the pointers to the expected sentinel value have some
big problems: it hides the real content of the array, makes the pointer
to the sentinel point to a completely different memory region and treats
it like a const value even when the underlying array is mutable.

Fixes #4840
c1cc1ebc35LemonBoy committed on 3/30/2020, 3:03:56 PM· committed by Andrew Kelleyparent8cad453
2 files changedLine totals unavailable