aboutsummaryrefslogtreecommitdiff
path: root/src/rt/rust_crate_cache.cpp
diff options
context:
space:
mode:
authorRoy Frostig <[email protected]>2010-07-28 14:00:44 -0700
committerRoy Frostig <[email protected]>2010-07-28 14:00:44 -0700
commit596d19e2ea1f2cc96f7e493171a692bc0b912ce6 (patch)
treef9a4be20be28121856a359e31ba0d07c56bf1213 /src/rt/rust_crate_cache.cpp
parentSwitch machine-type lexemes to use suffixes. Remove support for foo(bar) as a... (diff)
downloadrust-596d19e2ea1f2cc96f7e493171a692bc0b912ce6.tar.xz
rust-596d19e2ea1f2cc96f7e493171a692bc0b912ce6.zip
Test the deque a bit. Give it a get-by-index method. Fix two uncovered state-calculation bugs --- one decently, the other with an ugly hack. Bug on the latter coming right up.
Diffstat (limited to 'src/rt/rust_crate_cache.cpp')
-rw-r--r--src/rt/rust_crate_cache.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rt/rust_crate_cache.cpp b/src/rt/rust_crate_cache.cpp
index 650e3bb1..c5076639 100644
--- a/src/rt/rust_crate_cache.cpp
+++ b/src/rt/rust_crate_cache.cpp
@@ -216,6 +216,7 @@ rust_crate_cache::get_type_desc(size_t size,
"rust_crate_cache::descs[%" PRIdPTR "] = 0x%" PRIxPTR,
i, descs[i]);
td->descs[i] = descs[i];
+ td->is_stateful |= descs[i]->is_stateful;
}
adjust_disp(td->copy_glue_off, descs[0], td);
adjust_disp(td->drop_glue_off, descs[0], td);