rustc: Add a new "C stack cdecl" native ABI

This commit is contained in:
Patrick Walton
2011-09-28 12:58:03 -07:00
parent 657e3ffaf5
commit f7d0c1cec3
6 changed files with 14 additions and 1 deletions

View File

@@ -408,6 +408,9 @@ fn print_item(s: ps, item: @ast::item) {
word_nbsp(s, "\"rust-intrinsic\"");
}
ast::native_abi_x86stdcall. { word_nbsp(s, "\"x86stdcall\""); }
ast::native_abi_c_stack_cdecl. {
word_nbsp(s, "\"c-stack-cdecl\"");
}
}
word_nbsp(s, "mod");
word_nbsp(s, item.ident);