Fix GC problem with Module when it is GCed but re-instantiate from GlobalValue.module.

This commit is contained in:
Siu Kwan Lam 2013-05-17 14:05:40 -05:00
commit edab81ed7e

View file

@ -46,4 +46,4 @@ class GlobalValue:
eraseFromParent = Method()
eraseFromParent.disowning = True
getParent = Method(ptr(Module))
getParent = Method(ownedptr(Module))