...
 
Commits (2)
......@@ -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))
}
}
......