From c7f0ca6063022e244ab6a2d4e85db1c13867b084 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Wed, 9 Nov 2011 15:56:28 -0800 Subject: Remove native "x86stdcall" ABI --- src/comp/syntax/ast.rs | 1 - src/comp/syntax/parse/parser.rs | 2 -- src/comp/syntax/print/pprust.rs | 1 - 3 files changed, 4 deletions(-) (limited to 'src/comp/syntax') diff --git a/src/comp/syntax/ast.rs b/src/comp/syntax/ast.rs index 75ece99a1b6..f9a41660f5e 100644 --- a/src/comp/syntax/ast.rs +++ b/src/comp/syntax/ast.rs @@ -427,7 +427,6 @@ type _mod = {view_items: [@view_item], items: [@item]}; tag native_abi { native_abi_rust_intrinsic; - native_abi_x86stdcall; native_abi_c_stack_cdecl; native_abi_c_stack_stdcall; } diff --git a/src/comp/syntax/parse/parser.rs b/src/comp/syntax/parse/parser.rs index 1358d704fe0..a1a70c44a88 100644 --- a/src/comp/syntax/parse/parser.rs +++ b/src/comp/syntax/parse/parser.rs @@ -2008,8 +2008,6 @@ fn parse_item_native_mod(p: parser, attrs: [ast::attribute]) -> @ast::item { let t = parse_str(p); if str::eq(t, "rust-intrinsic") { abi = ast::native_abi_rust_intrinsic; - } else if str::eq(t, "x86stdcall") { - abi = ast::native_abi_x86stdcall; } else if str::eq(t, "c-stack-cdecl") { abi = ast::native_abi_c_stack_cdecl; } else if str::eq(t, "c-stack-stdcall") { diff --git a/src/comp/syntax/print/pprust.rs b/src/comp/syntax/print/pprust.rs index 1028feaffc4..18460ba04ae 100644 --- a/src/comp/syntax/print/pprust.rs +++ b/src/comp/syntax/print/pprust.rs @@ -404,7 +404,6 @@ fn print_item(s: ps, &&item: @ast::item) { ast::native_abi_rust_intrinsic. { 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\""); } -- cgit 1.4.1-3-g733a5