Skip to content

Commit 37b78b4

Browse files
committed
modify shape code to only emit monomorphized enums (#2444)
this is hacky, but shape code is going away anyway and I didn't want to invest too much effort into it
1 parent ccc7651 commit 37b78b4

File tree

3 files changed

+210
-187
lines changed

3 files changed

+210
-187
lines changed

src/rustc/middle/trans/base.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ fn emit_tydescs(ccx: @crate_ctxt) {
560560
some(v) { ccx.stats.n_real_glues += 1u; v }
561561
};
562562

563-
let shape = shape_of(ccx, key, []);
563+
let shape = shape_of(ccx, key);
564564
let shape_tables =
565565
llvm::LLVMConstPointerCast(ccx.shape_cx.llshapetables,
566566
T_ptr(T_i8()));

0 commit comments

Comments
 (0)