]> git.lizzy.rs Git - rust.git/commit
Remove direct variant-dispatch entirely from trans_struct_drop.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Fri, 24 Apr 2015 07:29:56 +0000 (09:29 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Fri, 24 Apr 2015 07:39:15 +0000 (09:39 +0200)
commitb0a4808757fda7ae4d047e570f0936b969eb6e42
tree7cb075da0ae5db804ff1e06a07e18ebe9e1cb249
parentd5acb55c5996bfca6d754bbf0d5dc53ef2a2e5a8
Remove direct variant-dispatch entirely from trans_struct_drop.

This addresses to-do in my code, and simplifies this method a lot to boot.

(The necessary enum dispatch has now effectively been shifted entirely
into the scheduled cleanup code for the enum contents.)
src/librustc_trans/trans/glue.rs