diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-03-22 18:52:04 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-03-26 21:29:34 -0700 |
| commit | 142dbd65da9ae168c198162f0e1eec1c960e91f5 (patch) | |
| tree | d403258aa9f4b33b7695a08100ce5454d49584b0 /src/libcore/rt | |
| parent | 46d4cc12d1f2b1c7b13d19ae88d123523e3e3964 (diff) | |
| download | rust-142dbd65da9ae168c198162f0e1eec1c960e91f5.tar.gz rust-142dbd65da9ae168c198162f0e1eec1c960e91f5.zip | |
librustc: Remove all uses of the old `[T * N]` fixed-length vector syntax
Diffstat (limited to 'src/libcore/rt')
| -rw-r--r-- | src/libcore/rt/context.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/rt/context.rs b/src/libcore/rt/context.rs index 527acd4d1b1..7237fe118d8 100644 --- a/src/libcore/rt/context.rs +++ b/src/libcore/rt/context.rs @@ -123,7 +123,7 @@ fn initialize_call_frame(regs: &mut Registers, fptr: *c_void, arg: *c_void, sp: } #[cfg(target_arch = "x86_64")] -type Registers = [uint * 22]; +type Registers = [uint, ..22]; #[cfg(target_arch = "x86_64")] fn new_regs() -> ~Registers { ~[0, .. 22] } @@ -157,7 +157,7 @@ fn initialize_call_frame(regs: &mut Registers, fptr: *c_void, arg: *c_void, sp: } #[cfg(target_arch = "arm")] -type Registers = [uint * 32]; +type Registers = [uint, ..32]; #[cfg(target_arch = "arm")] fn new_regs() -> ~Registers { ~[0, .. 32] } @@ -175,7 +175,7 @@ fn initialize_call_frame(regs: &mut Registers, fptr: *c_void, arg: *c_void, sp: } #[cfg(target_arch = "mips")] -type Registers = [uint * 32]; +type Registers = [uint, ..32]; #[cfg(target_arch = "mips")] fn new_regs() -> ~Registers { ~[0, .. 32] } |
