view lphobos/llvm/va_list.d @ 834:f466f475b654

Added proper "need 'this' to access member foo" errors instead of "variable foo not resolved" for some cases, added FIXME for the old error! Added a bit more information to the runtime's cyclic dependency detection exception.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Tue, 09 Dec 2008 01:56:39 +0100
parents 0ccfae271c45
children
line wrap: on
line source

module llvm.va_list;

alias void* va_list;

/*

version(X86)
{
    alias void* va_list;
}
else version(X86_64)
{
    struct X86_64_va_list
    {
        uint gp_offset;
        uint fp_offset;
        void* overflow_arg_area;
        void* reg_save_area;
    }
    alias X86_64_va_list va_list;
}
else
static assert("only x86 and x86-64 support va_list");

*/