Skip to content

Commit 899601c

Browse files
committed
---
yaml --- r: 2331 b: refs/heads/master c: 6871c24 h: refs/heads/master i: 2329: 1749d69 2327: 998ddd9 v: v3
1 parent db8e77c commit 899601c

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: e43729ccf2577fad114107a336099da75eff0ded
2+
refs/heads/master: 6871c245a67fab222eccc2a21dcb620d11d3b0d0

trunk/src/comp/front/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2013,7 +2013,7 @@ fn parse_item_native_mod(parser p) -> @ast.item {
20132013
if (_str.eq(t, "cdecl")) {
20142014
} else if (_str.eq(t, "rust")) {
20152015
abi = ast.native_abi_rust;
2016-
} else if (_str.eq(t, "llvm")) {
2016+
} else if (_str.eq(t, "llvm-intrinsic")) {
20172017
abi = ast.native_abi_llvm;
20182018
} else {
20192019
p.err("unsupported abi: " + t);

trunk/src/comp/pretty/pprust.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ fn print_item(ps s, @ast.item item) {
229229
wrd1(s, "native");
230230
alt (nmod.abi) {
231231
case (ast.native_abi_rust) {wrd1(s, "\"rust\"");}
232+
case (ast.native_abi_llvm) {wrd1(s, "\"llvm-intrinsic\"");}
232233
case (ast.native_abi_cdecl) {wrd1(s, "\"cdecl\"");}
233234
}
234235
wrd1(s, "mod");

trunk/src/test/bench/shootout/nbody.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// based on:
33
// http://shootout.alioth.debian.org/u32/benchmark.php?test=nbody&lang=java
44

5-
native "llvm" mod llvm {
5+
native "llvm-intrinsic" mod llvm {
66
fn sqrt(float n) -> float = "sqrt.f64";
77
}
88

0 commit comments

Comments
 (0)