From a404e542614c0848931544eb0281fd546a62a971 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Tue, 9 Nov 2010 17:49:20 -0800 Subject: Teach rustc about const tag value, begin work on trans_copy_ty, make uint's to_str routine less clever and thereby resist overflow. --- src/comp/back/abi.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/comp/back') 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; -- cgit v1.2.3