diff gen/runtime.cpp @ 173:db9890b3fb64 trunk

[svn r189] moving IR data back into DMD frontend nodes
author ChristianK
date Tue, 06 May 2008 07:56:03 +0200
parents a8cd9bc1021a
children 2900754a6989
line wrap: on
line diff
--- a/gen/runtime.cpp	Tue May 06 07:26:27 2008 +0200
+++ b/gen/runtime.cpp	Tue May 06 07:56:03 2008 +0200
@@ -189,9 +189,9 @@
     const llvm::Type* stringTy = rt_array(byteTy);
     const llvm::Type* wstringTy = rt_array(shortTy);
     const llvm::Type* dstringTy = rt_array(intTy);
-    const llvm::Type* objectTy = rt_ptr(gIR->irType[ClassDeclaration::object->type].type->get());
-    const llvm::Type* classInfoTy = rt_ptr(gIR->irType[ClassDeclaration::classinfo->type].type->get());
-    const llvm::Type* typeInfoTy = rt_ptr(gIR->irType[Type::typeinfo->type].type->get());
+    const llvm::Type* objectTy = rt_ptr(ClassDeclaration::object->type->ir.type->get());
+    const llvm::Type* classInfoTy = rt_ptr(ClassDeclaration::classinfo->type->ir.type->get());
+    const llvm::Type* typeInfoTy = rt_ptr(Type::typeinfo->type->ir.type->get());
     const llvm::Type* aaTy = rt_ptr(llvm::OpaqueType::get());
 
     /////////////////////////////////////////////////////////////////////////////////////