about summary refs log tree commit diff
path: root/src/comp
AgeCommit message (Collapse)AuthorLines
2011-11-07Fix a long lineMarijn Haverbeke-1/+1
2011-11-07llvm::mk_object_file should really return an option, since the underlying ↵Joshua Wise-4/+8
LLVM function can fail. Fixes a crash on OS X when rust has bad dylibs within eyeshot.
2011-11-03Disallow writing to function arguments againMarijn Haverbeke-85/+71
Remove implicit copying hack. Closes #1118
2011-11-02fix line too longNiko Matsakis-1/+2
2011-11-02add -m64 to gcc args if appropriateNiko Matsakis-6/+15
2011-11-02correct more i32 vs int mismatchesNiko Matsakis-2/+2
2011-11-02convert various ints to i32 and vice versaNiko Matsakis-22/+22
2011-11-02convert GEP to i32Niko Matsakis-115/+67
2011-11-02get things checking on ia32Niko Matsakis-50/+39
2011-11-02thread the context through so that int can be 64 bits on x86_64Niko Matsakis-99/+149
2011-11-02work on making the size of ints depend on the target archNiko Matsakis-60/+92
2011-11-02work on making the size of ints depend on the target archNiko Matsakis-210/+295
2011-11-02hack around on makefiles trying to get a 64 bit buildNiko Matsakis-5/+55
right now there are many temporary hacks, search for NDM to find them
2011-11-02start to isolate target strings so that they can be configured forNiko Matsakis-74/+114
x64 or other targets
2011-11-02Evaluate alt expressions in their own block contextMarijn Haverbeke-3/+10
Closes #785
2011-11-02Rename car/cdr to head/tail in std::listMarijn Haverbeke-5/+4
Closes #1086
2011-11-02Make it possible to cast unsafe pointers with the 'as' operatorMarijn Haverbeke-6/+15
2011-11-02Make 'lambda(...) -> ...' parse as a typeMarijn Haverbeke-22/+9
2011-11-02Make resolving of imports behave more sanelyMarijn Haverbeke-65/+57
An import now ignores itself when resolving its target. This gets rid of the previously existing (problematic) behaviour where the import would start looking one scope up when its name was the same as its target's first component. Closes #1114
2011-11-02Fix printing of parameterized tag types in ppauxMarijn Haverbeke-1/+1
It was printing option::t[int] instead of option::t<int>
2011-11-01Add should_fail annotation for unit testsMatt Brubeck-3/+19
This allows test cases to assert that a function is expected to fail. Tests annotated with "should_fail" will succeed only if the function fails.
2011-11-01Fix alignment of interior pointers of dynamic-size types. Closes #1112Brian Anderson-8/+26
GEP_tup_like finds interior pointers by creating a tuple of all the types preceding the element it wants a pointer to, then asks for the size of that tuple. This results in incorrect pointers when the alignment of that tuple is not the alignment of the interior type you're getting a pointer to.
2011-10-31rustc: Find crates by matching the name metadataHaitao Li-22/+9
2011-10-31rustc: Enable segmented stacks in LLVM when --stack-growth is onPatrick Walton-0/+3
2011-10-29Add the ability to ignore tests by compiler configBrian Anderson-21/+34
[test] [ignore(cfg(target_os = "win32"))]
2011-10-29Add more logging to crate resolutionBrian Anderson-1/+12
2011-10-29rustc: Support 'companion mod's for crates and directory modsBrian Anderson-8/+65
Under this scheme when parsing foo.rc the parser will also look for foo.rs to fill in the crate-level module, and when evaluating a directory module directive it will look for a .rs file with the same name as the directory.
2011-10-29stdlib: Make io failures recoverable by returning a resultBrian Anderson-9/+30
2011-10-28Cleanup: Remove uneccesary generic_cmp function.Matt Brubeck-27/+13
2011-10-28Use IEEE 754 semantics for NaN (Issue #1084)Matt Brubeck-58/+47
2011-10-28stdlib: Make reinterpret_cast and leak unsafeBrian Anderson-4/+6
2011-10-28rustc: Remove broken --depend flagBrian Anderson-10/+0
2011-10-28rustc: -h cleanupBrian Anderson-2/+2
2011-10-28rustc: Change --OptLevel to --opt-levelBrian Anderson-7/+7
2011-10-28rustc: Use consistent error handling in mainBrian Anderson-16/+17
2011-10-28rustc: Extract error reporting from codemapBrian Anderson-13/+42
2011-10-28Reorder statements in rustc main to avoid bounds checkBrian Anderson-3/+3
2011-10-28rustc: Lift output file name handling out of mainHaitao Li-40/+53
2011-10-28Produce dyn libraries with proper namesHaitao Li-23/+22
Issue #744
2011-10-28Make shared kind the default only for generic functionsMarijn Haverbeke-51/+49
You almost never want a function with pinned type params. For types, objects, resources, and tags, pinned types are actually often more sane. For most of these, shared rarely makes sense. Only tricky case is objs -- you'll have to think about the kinds you want there. Issue #1076
2011-10-28Move to blocks, rather than fn@s, in parser.rsMarijn Haverbeke-16/+17
2011-10-28Move to short type parameter keywordsMarijn Haverbeke-9/+9
Issue #1076
2011-10-28Start accepting short keywords for parameter kindsMarijn Haverbeke-3/+5
This is a pre-snapshot commit to be able to implement #1076 without the bootstrap compiler getting in my way.
2011-10-27Use the std::term color constants in the codemapBrian Anderson-3/+3
Exported constants work now. Woo!
2011-10-27Remove uint::max/min in favor if math::max/minMatt Brubeck-2/+4
2011-10-25Properly take mutable object fields into account during alias analysisMarijn Haverbeke-16/+23
Closes #1055
2011-10-25Update our code to new type parameter kind syntaxMarijn Haverbeke-31/+31
Closes #1067
2011-10-25Remove support for @/~-style type param kind annotationMarijn Haverbeke-9/+2
Issue #1067
2011-10-25Step one towards new type param kind syntaxMarijn Haverbeke-3/+7
Issue #1067 Needs a snapshot to finalize.
2011-10-24fix c-stack-cdecl when used w/ i64Niko Matsakis-5/+15