about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2013-08-23 18:18:11 -0400
committerDaniel Micay <danielmicay@gmail.com>2013-08-23 19:23:54 -0400
commit180e235d3dbe00ff3b247552bb83cca0be8cf06d (patch)
treee708165d599989ba5183c335ea8455fee8bced46 /src/libstd
parent2c0f9bd35493def5e23f0f43ddeba54da9d788b4 (diff)
downloadrust-180e235d3dbe00ff3b247552bb83cca0be8cf06d.tar.gz
rust-180e235d3dbe00ff3b247552bb83cca0be8cf06d.zip
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
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/repr.rs2
1 files changed, 1 insertions, 1 deletions
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");