Commit fd9d9fb8 authored by Kunshan Wang's avatar Kunshan Wang

Hack to allow loading gen-refs from uptrs

See #2
parent d2922b2e
......@@ -363,7 +363,10 @@ object MemoryOperations {
def noAccessViaPointer(ptr: Boolean, ty: Type) {
if (ptr) {
throw new UvmIllegalMemoryAccessException("Cannot access type %s via pointer".format(ty.repr))
// HACK: We allow loading/storing traced references via uptr to workaround a design mismatch
// in PyPy. See https://gitlab.anu.edu.au/mu/mu-impl-ref2/issues/2
// throw new UvmIllegalMemoryAccessException("Cannot access type %s via pointer".format(ty.repr))
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment