diff gen/runtime.cpp @ 163:a8cd9bc1021a trunk

[svn r179] lots and lots of fixes, much more of tango now compiles/works.
author lindquist
date Mon, 05 May 2008 07:36:29 +0200
parents 5c17f81fc1c1
children db9890b3fb64
line wrap: on
line diff
--- a/gen/runtime.cpp	Mon May 05 00:56:53 2008 +0200
+++ b/gen/runtime.cpp	Mon May 05 07:36:29 2008 +0200
@@ -535,14 +535,14 @@
         new llvm::Function(fty, llvm::GlobalValue::ExternalLinkage, fname, M);
     }
 
-    // void* _aaGet(AA* aa, TypeInfo keyti, void* pkey, size_t valuesize)
+    // void* _aaGet(AA* aa, TypeInfo keyti, size_t valuesize, void* pkey)
     {
         std::string fname("_aaGet");
         std::vector<const llvm::Type*> types;
         types.push_back(aaTy);
         types.push_back(typeInfoTy);
+        types.push_back(sizeTy);
         types.push_back(voidPtrTy);
-        types.push_back(sizeTy);
         const llvm::FunctionType* fty = llvm::FunctionType::get(voidPtrTy, types, false);
         new llvm::Function(fty, llvm::GlobalValue::ExternalLinkage, fname, M);
     }