Mercurial > projects > ldc
comparison gen/runtime.cpp @ 663:6aaa3d3c1183
First part of rename to LDC.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Mon, 06 Oct 2008 22:46:55 +0200 |
parents | 669a2c84f4e4 |
children | 30b42a283c8e |
comparison
equal
deleted
inserted
replaced
662:88e23f8c2354 | 663:6aaa3d3c1183 |
---|---|
151 return rt_ptr(llvm::StructType::get(t)); | 151 return rt_ptr(llvm::StructType::get(t)); |
152 } | 152 } |
153 | 153 |
154 static void LLVM_D_BuildRuntimeModule() | 154 static void LLVM_D_BuildRuntimeModule() |
155 { | 155 { |
156 M = new llvm::Module("llvmdc internal runtime"); | 156 M = new llvm::Module("ldc internal runtime"); |
157 | 157 |
158 const LLType* voidTy = LLType::VoidTy; | 158 const LLType* voidTy = LLType::VoidTy; |
159 const LLType* boolTy = LLType::Int1Ty; | 159 const LLType* boolTy = LLType::Int1Ty; |
160 const LLType* byteTy = LLType::Int8Ty; | 160 const LLType* byteTy = LLType::Int8Ty; |
161 const LLType* shortTy = LLType::Int16Ty; | 161 const LLType* shortTy = LLType::Int16Ty; |