annotate lphobos/llvm/va_list.d @ 1137:45d73f0a9b43

Automated merge with http://hg.dsource.org/projects/ldc
author Christian Kamm <kamm incasoftware de>
date Tue, 24 Mar 2009 14:34:16 +0100
parents 0ccfae271c45
children
rev   line source
lindquist@55 1 module llvm.va_list;
lindquist@55 2
lindquist@55 3 alias void* va_list;
lindquist@55 4
lindquist@55 5 /*
lindquist@55 6
lindquist@55 7 version(X86)
lindquist@55 8 {
lindquist@55 9 alias void* va_list;
lindquist@55 10 }
lindquist@55 11 else version(X86_64)
lindquist@55 12 {
lindquist@55 13 struct X86_64_va_list
lindquist@55 14 {
lindquist@55 15 uint gp_offset;
lindquist@55 16 uint fp_offset;
lindquist@55 17 void* overflow_arg_area;
lindquist@55 18 void* reg_save_area;
lindquist@55 19 }
lindquist@55 20 alias X86_64_va_list va_list;
lindquist@55 21 }
lindquist@55 22 else
lindquist@55 23 static assert("only x86 and x86-64 support va_list");
lindquist@55 24
lindquist@55 25 */