diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2013-08-23 18:18:11 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2013-08-23 19:23:54 -0400 |
| commit | 180e235d3dbe00ff3b247552bb83cca0be8cf06d (patch) | |
| tree | e708165d599989ba5183c335ea8455fee8bced46 /src/libstd | |
| parent | 2c0f9bd35493def5e23f0f43ddeba54da9d788b4 (diff) | |
| download | rust-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.rs | 2 |
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"); |
