Mercurial > projects > ldc
diff gen/arrays.cpp @ 1535:61f12f4651b5
Don't use llvm::getGlobalContext() anymore
author | Benjamin Kramer <benny.kra@gmail.com> |
---|---|
date | Mon, 13 Jul 2009 20:16:15 +0200 |
parents | 8ca25bd765a3 |
children | 7fcb72d518f6 |
line wrap: on
line diff
--- a/gen/arrays.cpp Mon Jul 13 12:17:58 2009 +0200 +++ b/gen/arrays.cpp Mon Jul 13 20:16:15 2009 +0200 @@ -60,7 +60,7 @@ assert(isaPointer(v)); const LLType* t = v->getType()->getContainedType(0); - DtoStore(llvm::getGlobalContext().getNullValue(t), v); + DtoStore(gIR->context().getNullValue(t), v); } //////////////////////////////////////////////////////////////////////////////////////////