diff options
| author | Graydon Hoare <[email protected]> | 2011-04-29 14:20:51 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-04-29 15:06:53 -0700 |
| commit | b9babe47da390ea128d835d898e3acbd066f1686 (patch) | |
| tree | ab34993b5859d3e06aca0eaf31c2207278b6bdf3 | |
| parent | rustc: First steps to determine whether tydescs escape (diff) | |
| download | rust-b9babe47da390ea128d835d898e3acbd066f1686.tar.xz rust-b9babe47da390ea128d835d898e3acbd066f1686.zip | |
Temporarily disable dtors; they broke self-hosting.
| -rw-r--r-- | src/comp/middle/trans.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/comp/middle/trans.rs b/src/comp/middle/trans.rs index beb86e17..e61768a1 100644 --- a/src/comp/middle/trans.rs +++ b/src/comp/middle/trans.rs @@ -1919,7 +1919,9 @@ fn make_drop_glue(@block_ctxt cx, ValueRef v0, ty.t t) { C_int(abi.obj_body_elt_tydesc))); auto tydesc = cx.build.Load(tydescptr); - auto cx_ = maybe_call_dtor(cx, o); + // FIXME: disabled for now. + // auto cx_ = maybe_call_dtor(cx, o); + auto cx_ = cx; // Call through the obj's own fields-drop glue first. call_tydesc_glue_full(cx_, body, tydesc, |