Skip to content

Commit a1a54f2

Browse files
committed
---
yaml --- r: 80828 b: refs/heads/try c: c678841 h: refs/heads/master v: v3
1 parent bc4cb37 commit a1a54f2

File tree

10 files changed

+288
-895
lines changed

10 files changed

+288
-895
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 4c6bf4872012c010f84dc7fa2cdfe87522533f89
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cbd1eefbd350797b783df119fed7956d7e1c74ad
5-
refs/heads/try: 29032cda8c7b97966c7f3a9380bcaa8439596cd8
5+
refs/heads/try: c6788411daca06ec274aa3402ccb0c81eb3ad0a9
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/librust/rust.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ static COMMANDS: &'static [Command<'static>] = &'static [
8484
usage_full: UsgStr(
8585
"The test command is an shortcut for the command line \n\
8686
\"rustc --test <filename> -o <filestem>test~ && \
87-
./<filestem>test~\"\n\nUsage:\trust test <filename>"
87+
./<filestem>test~ [<arguments>...]\"\
88+
\n\nUsage:\trust test <filename> [<arguments>...]"
8889
)
8990
},
9091
Command {
@@ -155,12 +156,12 @@ fn cmd_help(args: &[~str]) -> ValidUsage {
155156

156157
fn cmd_test(args: &[~str]) -> ValidUsage {
157158
match args {
158-
[ref filename] => {
159+
[ref filename, ..prog_args] => {
159160
let p = Path(*filename);
160161
let test_exec = p.filestem().unwrap() + "test~";
161162
invoke("rustc", &[~"--test", filename.to_owned(),
162163
~"-o", test_exec.to_owned()], rustc::main_args);
163-
let exit_code = run::process_status(~"./" + test_exec, []);
164+
let exit_code = run::process_status(~"./" + test_exec, prog_args);
164165
Valid(exit_code)
165166
}
166167
_ => Invalid

branches/try/src/librustc/lib/llvm.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2117,9 +2117,6 @@ pub mod llvm {
21172117
LineNo: c_uint)
21182118
-> ValueRef;
21192119

2120-
#[fast_ffi]
2121-
pub fn LLVMDICompositeTypeSetTypeArray(CompositeType: ValueRef, TypeArray: ValueRef);
2122-
21232120
#[fast_ffi]
21242121
pub fn LLVMIsAArgument(value_ref: ValueRef) -> ValueRef;
21252122

branches/try/src/librustc/middle/trans/debuginfo.rs

Lines changed: 282 additions & 522 deletions
Large diffs are not rendered by default.

branches/try/src/librustc/util/ppaux.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ pub fn region_to_str(cx: ctxt, prefix: &str, space: bool, region: Region) -> ~st
235235
}
236236
}
237237

238-
pub fn mutability_to_str(m: ast::Mutability) -> ~str {
238+
fn mutability_to_str(m: ast::Mutability) -> ~str {
239239
match m {
240240
ast::MutMutable => ~"mut ",
241241
ast::MutImmutable => ~"",

branches/try/src/libsyntax/ast_map.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,6 @@ pub enum path_elt {
3838
path_pretty_name(Ident, u64),
3939
}
4040

41-
impl path_elt {
42-
pub fn ident(&self) -> Ident {
43-
match *self {
44-
path_mod(ident) |
45-
path_name(ident) |
46-
path_pretty_name(ident, _) => ident
47-
}
48-
}
49-
}
50-
5141
pub type path = ~[path_elt];
5242

5343
pub fn path_to_str_with_sep(p: &[path_elt], sep: &str, itr: @ident_interner)

branches/try/src/rustllvm/RustWrapper.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -789,10 +789,3 @@ extern "C" LLVMValueRef LLVMDIBuilderCreateNameSpace(
789789
unwrapDI<DIFile>(File),
790790
LineNo));
791791
}
792-
793-
extern "C" void LLVMDICompositeTypeSetTypeArray(
794-
LLVMValueRef CompositeType,
795-
LLVMValueRef TypeArray)
796-
{
797-
unwrapDI<DICompositeType>(CompositeType).setTypeArray(unwrapDI<DIArray>(TypeArray));
798-
}

branches/try/src/rustllvm/rustllvm.def.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,6 @@ LLVMDIBuilderCreateOpDeref
612612
LLVMDIBuilderCreateOpPlus
613613
LLVMDIBuilderCreateComplexVariable
614614
LLVMDIBuilderCreateNameSpace
615-
LLVMDICompositeTypeSetTypeArray
616615
LLVMSetUnnamedAddr
617616
LLVMRustAddPass
618617
LLVMRustAddAnalysisPasses

0 commit comments

Comments
 (0)