// // llvm_context.cpp // Toilet Lisp // // Created by Matthias Benkard on 08.09.11. // Copyright 2011 __MyCompanyName__. All rights reserved. // #define __STDC_CONSTANT_MACROS 1 #include "llvm_context.h" #include #include //#include using namespace llvm; LLVMContext *llvm_context; //const Type* IntPtrTy = IntegerType::getInt32Ty(C); Type* Int8Ty; Type* Int16Ty; Type* Int32Ty; Type* Int64Ty; //const Type* VoidTy = TypeBuilder::get(llvm_context); Type* VoidTy; PointerType* VoidPointerTy; PointerType* PointerPointerTy;