diff gen/abi.cpp @ 1438:c363d131c1ef

Add some missing returns.
author Frits van Bommel <fvbommel wxs.nl>
date Sat, 30 May 2009 23:48:22 +0200
parents 34f2fd925de3
children fe151804995a
line wrap: on
line diff
--- 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*)
     {