[lworld] Emit verification code that CastI2N is really working with a correct narrow oop

XMLWordPrintable

      CastI2N transforms a pointer-looking-like integer to a pointer. However, it may be the case that its input is not a narrow oop anymore. This is because the compiler does not recognize it as an oop, so it will not be modified when the object it supposedly points to is relocated, which leads to a dangling pointer. We should emit code in CastI2N to verify that its input is a narrow oop of a proper type.

            Assignee:
            Quan Anh Mai
            Reporter:
            Quan Anh Mai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: