diff options
| author | Graydon Hoare <[email protected]> | 2010-11-09 17:49:20 -0800 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-11-09 17:50:31 -0800 |
| commit | a404e542614c0848931544eb0281fd546a62a971 (patch) | |
| tree | 9b6437fbbc6632d9b68c80df69d74a0e589e9297 /src/comp/back | |
| parent | Implement a map2() function in std._vec (diff) | |
| download | rust-a404e542614c0848931544eb0281fd546a62a971.tar.xz rust-a404e542614c0848931544eb0281fd546a62a971.zip | |
Teach rustc about const tag value, begin work on trans_copy_ty, make uint's to_str routine less clever and thereby resist overflow.
Diffstat (limited to 'src/comp/back')
| -rw-r--r-- | src/comp/back/abi.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/comp/back/abi.rs b/src/comp/back/abi.rs index 5e00ff32..d6926f34 100644 --- a/src/comp/back/abi.rs +++ b/src/comp/back/abi.rs @@ -1,6 +1,9 @@ const int rc_base_field_refcnt = 0; +// FIXME: import from std.dbg when imported consts work. +const uint const_refcount = 0x7bad_face_u; + const int task_field_refcnt = 0; const int task_field_stk = 2; const int task_field_runtime_sp = 3; |