From 6fc52fd86b1cc1534c972fc734534dfaa671cd0d Mon Sep 17 00:00:00 2001 From: Tomas Lindquist Olsen Date: Mon, 4 Aug 2008 19:38:59 +0200 Subject: [PATCH] Removed old moduleinit_backend from lphobos it's useless now. --- lphobos/build.sh | 4 ---- lphobos/internal/moduleinit_backend.ll | 9 --------- 2 files changed, 13 deletions(-) delete mode 100644 lphobos/internal/moduleinit_backend.ll diff --git a/lphobos/build.sh b/lphobos/build.sh index fa3e75ae..83ed5335 100755 --- a/lphobos/build.sh +++ b/lphobos/build.sh @@ -19,10 +19,6 @@ llvmdc-build internal/arrays.d \ $LLVMDCFLAGS_ASM || exit 1 mv *.bc obj -echo "compiling module init backend" -llvm-as -f -o=obj/moduleinit_backend.bc internal/moduleinit_backend.ll || exit 1 -llvm-link -f -o=../lib/llvmdcore.bc `ls obj/internal.*.bc` ../lib/llvmdcore.bc obj/moduleinit_backend.bc || exit 1 - echo "compiling typeinfo 1" llvmdc-build typeinfos1.d $LLVMDCFLAGS || exit 1 mv *.bc obj diff --git a/lphobos/internal/moduleinit_backend.ll b/lphobos/internal/moduleinit_backend.ll deleted file mode 100644 index 27473061..00000000 --- a/lphobos/internal/moduleinit_backend.ll +++ /dev/null @@ -1,9 +0,0 @@ -; ModuleID = 'internal.moduleinit_backend' - -@_d_moduleinfo_array = appending constant [1 x i8*] [ i8* null ] - -define i8** @_d_get_moduleinfo_array() { -entry: - %tmp = getelementptr [1 x i8*]* @_d_moduleinfo_array, i32 0, i32 0 - ret i8** %tmp -}