diff options
| author | Graydon Hoare <[email protected]> | 2011-04-02 19:03:43 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-04-02 19:05:12 -0700 |
| commit | 8e9c5b96fbaa338e0b60e3e8c0127e0b3e4cee76 (patch) | |
| tree | c893449b391e9aec1c6aa3299ab975b4cd053be0 /src/comp/back | |
| parent | Gitignore the recommended build directory (diff) | |
| download | rust-8e9c5b96fbaa338e0b60e3e8c0127e0b3e4cee76.tar.xz rust-8e9c5b96fbaa338e0b60e3e8c0127e0b3e4cee76.zip | |
Change rust_vec to have a 16-byte header, to 16-byte-align vec-body data. Major perf win.
Diffstat (limited to 'src/comp/back')
| -rw-r--r-- | src/comp/back/abi.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/comp/back/abi.rs b/src/comp/back/abi.rs index 95958814..42a87623 100644 --- a/src/comp/back/abi.rs +++ b/src/comp/back/abi.rs @@ -26,7 +26,8 @@ const int general_code_alignment = 16; const int vec_elt_rc = 0; const int vec_elt_alloc = 1; const int vec_elt_fill = 2; -const int vec_elt_data = 3; +const int vec_elt_pad = 3; +const int vec_elt_data = 4; const int tydesc_field_first_param = 0; const int tydesc_field_size = 1; |