Right now if we don't know statically that an object being written to the frame/an object is an immediate, we always emit a write barrier. Instead, we should emit a run-time check testing if it is false or an immediate and only conditionally fire the write barrier.