view lphobos/internal/moduleinit_backend.ll @ 414:ac1fcc138e42

Fixed issue with internal real representation, incorrect for non x86-32 architectures. Cleaned up CallExp::toElem, moved implementation to tocall.cpp providing a single procedure to call arbitrary D functions fairly easily.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Mon, 28 Jul 2008 02:11:34 +0200
parents 56a21f3e5d3e
children
line wrap: on
line source

; 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
}