summary refs log tree commit diff
path: root/src/rt/rust_internal.h
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-09-02 12:21:01 -0700
committerBrian Anderson <banderson@mozilla.com>2011-09-02 15:13:41 -0700
commit72c14d5a4108e91dcdce17c8ccc6f7953fde8a70 (patch)
tree099f4e7f99b10f0033784b0b0265a1dc9a298d7f /src/rt/rust_internal.h
parent99ee0fca6722bc8b78032605c2f6243340f6b04e (diff)
downloadrust-72c14d5a4108e91dcdce17c8ccc6f7953fde8a70.tar.gz
rust-72c14d5a4108e91dcdce17c8ccc6f7953fde8a70.zip
Eliminate const_refcount. Issue #855
Diffstat (limited to 'src/rt/rust_internal.h')
-rw-r--r--src/rt/rust_internal.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/rt/rust_internal.h b/src/rt/rust_internal.h
index 4a5d208915d..d2c8574280b 100644
--- a/src/rt/rust_internal.h
+++ b/src/rt/rust_internal.h
@@ -95,13 +95,6 @@ struct chan_handle {
 
 static size_t const TIME_SLICE_IN_MS = 10;
 
-// Since every refcounted object is > 4 bytes, any refcount with any of the
-// top two bits set is invalid. We reserve a particular bit pattern in this
-// set for indicating objects that are "constant" as far as the memory model
-// knows.
-
-static intptr_t const CONST_REFCOUNT = 0x7badface;
-
 // This accounts for logging buffers.
 
 static size_t const BUF_BYTES = 2048;