rust/src/libsyntax
Jorge Aparicio 6296d52ba6 calling convention for MSP430 interrupts
This calling convention is used to define interrup handlers on MSP430
microcontrollers. Usage looks like this:

``` rust
#[no_mangle]
#[link_section = "__interrupt_vector_10"]
pub static TIM0_VECTOR: unsafe extern "msp430-interrupt" fn() = tim0;

unsafe extern "msp430-interrupt" fn tim0() {
  P1OUT.write(0x00);
}
```

which generates the following assembly:

``` asm
Disassembly of section __interrupt_vector_10:

0000fff2 <TIM0_VECTOR>:
    fff2:       10 c0           interrupt service routine at 0xc010

Disassembly of section .text:

0000c010 <_ZN3msp4tim017h3193b957fd6a4fd4E>:
    c010:       c2 43 21 00     mov.b   #0,     &0x0021 ;r3 As==00
    c014:       00 13           reti
        ...
```
2017-01-18 20:42:54 -05:00
..
diagnostics Use Symbol instead of InternedString in the AST, HIR, and various other places. 2016-11-21 09:00:55 +00:00
ext Auto merge of #39110 - petrochenkov:sum, r=eddyb 2017-01-17 12:31:15 +00:00
parse Auto merge of #39110 - petrochenkov:sum, r=eddyb 2017-01-17 12:31:15 +00:00
print Auto merge of #39110 - petrochenkov:sum, r=eddyb 2017-01-17 12:31:15 +00:00
util annotate stricter lifetimes on LateLintPass methods to allow them to forward to a Visitor 2016-12-06 11:28:51 +01:00
abi.rs calling convention for MSP430 interrupts 2017-01-18 20:42:54 -05:00
ast.rs Auto merge of #39110 - petrochenkov:sum, r=eddyb 2017-01-17 12:31:15 +00:00
attr.rs syntax: struct field attributes and cfg 2017-01-11 21:33:17 -08:00
Cargo.toml Such large. Very 128. Much bits. 2016-12-30 15:15:44 +01:00
codemap.rs rustc: use Span's allow_internal_unstable instead of hir::BlockCheckMode. 2016-11-28 04:18:10 +02:00
config.rs syntax: struct field attributes and cfg 2017-01-11 21:33:17 -08:00
diagnostic_list.rs AST/HIR: Merge ObjectSum and PolyTraitRef 2017-01-17 01:52:47 +03:00
entry.rs Cleanup InternedString. 2016-11-21 09:00:56 +00:00
feature_gate.rs calling convention for MSP430 interrupts 2017-01-18 20:42:54 -05:00
fold.rs Auto merge of #39110 - petrochenkov:sum, r=eddyb 2017-01-17 12:31:15 +00:00
json.rs tolerate None return from get_line 2017-01-17 17:56:03 -05:00
lib.rs Auto merge of #38679 - alexcrichton:always-deny-warnings, r=nrc 2017-01-08 08:22:06 +00:00
ptr.rs Documentation for default types modified 2016-09-11 22:58:01 +05:30
show_span.rs annotate stricter lifetimes on LateLintPass methods to allow them to forward to a Visitor 2016-12-06 11:28:51 +01:00
std_inject.rs Refactor how global paths are represented (for both ast and hir). 2016-12-22 06:14:35 +00:00
str.rs syntax: Copy unstable str::char_at into libsyntax 2015-04-21 10:23:53 -07:00
symbol.rs Refactor how global paths are represented (for both ast and hir). 2016-12-22 06:14:35 +00:00
test.rs Rename ExprKind::Vec to Array in HIR and HAIR. 2017-01-16 00:45:51 -08:00
test_snippet.rs review comments 2016-11-23 23:44:17 -08:00
tokenstream.rs macros: fix the expected paths for a non-inline module matched by an item fragment. 2016-12-07 10:56:55 +00:00
visit.rs Auto merge of #39110 - petrochenkov:sum, r=eddyb 2017-01-17 12:31:15 +00:00