about summary refs log tree commit diff
path: root/src/comp/back
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2011-08-20 14:22:09 -0700
committerPatrick Walton <pcwalton@mimiga.net>2011-08-20 14:22:09 -0700
commit25416bfae190d68d706b80903e46748da3dfadc4 (patch)
tree31766c7eef24b3edc76a3ddceafe3bc1861170e3 /src/comp/back
parent2f650038ad3e53d92203153eef03294a95daba41 (diff)
downloadrust-25416bfae190d68d706b80903e46748da3dfadc4.tar.gz
rust-25416bfae190d68d706b80903e46748da3dfadc4.zip
rustc: Introduce ABI versioning so we can change value representations without breaking the compiler
Diffstat (limited to 'src/comp/back')
-rw-r--r--src/comp/back/abi.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/comp/back/abi.rs b/src/comp/back/abi.rs
index 6a53767491f..0e1e05e8be8 100644
--- a/src/comp/back/abi.rs
+++ b/src/comp/back/abi.rs
@@ -112,6 +112,8 @@ const ivec_heap_elt_elems: uint = 1u;
 
 const worst_case_glue_call_args: int = 7;
 
+const abi_version: uint = 1u;
+
 fn memcpy_glue_name() -> str { ret "rust_memcpy_glue"; }
 
 fn bzero_glue_name() -> str { ret "rust_bzero_glue"; }