# HG changeset patch # User Frits van Bommel # Date 1243720102 -7200 # Node ID c363d131c1efe4683553a7ba842a50305e5cb6b8 # Parent efa34a3bb8fce6353e5d84ea3c54b36de7443580 Add some missing returns. diff -r efa34a3bb8fc -r c363d131c1ef gen/abi.cpp --- a/gen/abi.cpp Sat May 30 14:57:48 2009 -0600 +++ b/gen/abi.cpp Sat May 30 23:48:22 2009 +0200 @@ -132,7 +132,7 @@ assert(dv->isLVal()); LLValue* mem = dv->getLVal(); const LLType* t = LLIntegerType::get(dty->size()*8); - DtoLoad(DtoBitCast(mem, getPtrToType(t))); + return DtoLoad(DtoBitCast(mem, getPtrToType(t))); } const LLType* type(Type* t, const LLType*) { diff -r efa34a3bb8fc -r c363d131c1ef gen/passes/GarbageCollect2Stack.cpp --- a/gen/passes/GarbageCollect2Stack.cpp Sat May 30 14:57:48 2009 -0600 +++ b/gen/passes/GarbageCollect2Stack.cpp Sat May 30 23:48:22 2009 +0200 @@ -262,6 +262,7 @@ bool doInitialization(Module &M) { this->M = &M; + return false; } bool runOnFunction(Function &F);