From 180e235d3dbe00ff3b247552bb83cca0be8cf06d Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Fri, 23 Aug 2013 18:18:11 -0400 Subject: fix performance regression from invalid IR Monomorphize's normalization results in a 2% decrease in non-optimized code size for libstd, so there's a negligible cost to removing it. This also fixes several visit glue bugs because normalize wasn't considering the differences in visit glue between types. Closes #8720 --- src/libstd/repr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd') diff --git a/src/libstd/repr.rs b/src/libstd/repr.rs index 743a47a812a..0218a0e7f3a 100644 --- a/src/libstd/repr.rs +++ b/src/libstd/repr.rs @@ -590,7 +590,7 @@ fn test_repr() { exact_test(&(~"he\u10f3llo"), "~\"he\\u10f3llo\""); exact_test(&(@10), "@10"); - exact_test(&(@mut 10), "@10"); // FIXME: #4210: incorrect + exact_test(&(@mut 10), "@mut 10"); exact_test(&((@mut 10, 2)), "(@mut 10, 2)"); exact_test(&(~10), "~10"); exact_test(&(&10), "&10"); -- cgit 1.4.1-3-g733a5