summaryrefslogtreecommitdiff
path: root/MLKLLVMCompiler.mm
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-10-04 16:49:19 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-10-04 16:49:19 +0200
commit38e6ddffecf15880ad9bcdfbff097565fca70792 (patch)
treee158f905c7b17cf3ad0e7f2cbeb11f8504609b17 /MLKLLVMCompiler.mm
parentc23fbcfb37bed1580d94706b68920498365ffe3c (diff)
Various cleanups.
Diffstat (limited to 'MLKLLVMCompiler.mm')
-rw-r--r--MLKLLVMCompiler.mm6
1 files changed, 3 insertions, 3 deletions
diff --git a/MLKLLVMCompiler.mm b/MLKLLVMCompiler.mm
index 9f273cf..bb235bf 100644
--- a/MLKLLVMCompiler.mm
+++ b/MLKLLVMCompiler.mm
@@ -160,7 +160,7 @@ static Constant
"",
module);
id lambdaForm;
- id (*fn)();
+ //id (*fn)();
MLKForm *form = [MLKForm formWithObject:object
inContext:context
forCompiler:self];
@@ -447,7 +447,7 @@ static Constant
NSEnumerator *e = [_bodyForms objectEnumerator];
MLKForm *form;
Value *value = ConstantPointerNull::get (VoidPointerTy);
- int i;
+ unsigned int i;
i = 0;
while ((form = [e nextObject]))
@@ -909,7 +909,7 @@ build_simple_function_definition (MLKBodyForm *processed_form,
}
}
- int i = 0;
+ unsigned int i = 0;
e = [_bodyForms objectEnumerator];
while ((form = [e nextObject]))
{