view lphobos/internal/moduleinit_backend.ll @ 117:56a21f3e5d3e trunk

[svn r121] Finished ModuleInfo implementation. Static ctors/dtors now work according to spec. Changed class vtable types slightly in some cases. Overridden functions now always take the the type of the first class declaring the method as this parameter. This helps when using headers (w. implementation somewhere else)
author lindquist
date Mon, 26 Nov 2007 04:49:23 +0100
parents c53b6e3fe49a
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
}