aboutsummaryrefslogtreecommitdiff
path: root/src/comp/pretty
diff options
context:
space:
mode:
authorPatrick Walton <[email protected]>2011-05-03 18:03:59 -0700
committerPatrick Walton <[email protected]>2011-05-03 18:03:59 -0700
commitac8eb202247b61412143c621a1ccdcb167d6f313 (patch)
treefb3acfd59670ebb27c6e35ce3d6ab857be8f9a0a /src/comp/pretty
parentRevert "Rename the "llvm" API to "llvm-intrinsic"" due to tinderbox bustage (diff)
downloadrust-ac8eb202247b61412143c621a1ccdcb167d6f313.tar.xz
rust-ac8eb202247b61412143c621a1ccdcb167d6f313.zip
rustc: Stub support for Rust intrinsics
Diffstat (limited to 'src/comp/pretty')
-rw-r--r--src/comp/pretty/pprust.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/comp/pretty/pprust.rs b/src/comp/pretty/pprust.rs
index 7ef91ce8..62e6594b 100644
--- a/src/comp/pretty/pprust.rs
+++ b/src/comp/pretty/pprust.rs
@@ -230,6 +230,9 @@ fn print_item(ps s, @ast.item item) {
alt (nmod.abi) {
case (ast.native_abi_rust) {wrd1(s, "\"rust\"");}
case (ast.native_abi_cdecl) {wrd1(s, "\"cdecl\"");}
+ case (ast.native_abi_rust_intrinsic) {
+ wrd1(s, "\"rust-intrinstic\"");
+ }
}
wrd1(s, "mod");
wrd1(s, id);