diff options
author | Matt Ellis <matell@microsoft.com> | 2015-02-03 19:27:37 -0800 |
---|---|---|
committer | Matt Ellis <matell@microsoft.com> | 2015-02-03 19:27:37 -0800 |
commit | 3e52744f61498216e71a6f5099a576a31696ebe2 (patch) | |
tree | f8c0f82346a30a0f863291ec8b6c715999fa9232 /src/jit/assertionprop.cpp | |
parent | 2a956c5fb7a73c364c0c264c4d2ec29493542528 (diff) | |
download | coreclr-3e52744f61498216e71a6f5099a576a31696ebe2.tar.gz coreclr-3e52744f61498216e71a6f5099a576a31696ebe2.tar.bz2 coreclr-3e52744f61498216e71a6f5099a576a31696ebe2.zip |
Remove non ASCII characters from source files
Our native files were more or less encoded in Windows-1252, which
causes problems when we try to compile them on machines where the
current codepage can't represent everything that Windows-1252
can. With this conversion I just moved characters to their ASCII
counterparts (e.g. no smart quotes, the section marker glyph is now
"Section"). There were two places where I couldn't do the straight
forward thing, in object.h we wanted to insert the Per Mille symbol in
a comment so instead I just spelled out the Unicode codepoint. In
morph.cpp, there was a comment pointing to a paper by Torbjörn
Granlund (note the diaeresis above the second o). In this case,
unfortuntely I had to just drop the diaeresis. However, searching for
"Torbjorn Granlund" will lead you to the right person.
Fixes #49
Diffstat (limited to 'src/jit/assertionprop.cpp')
-rw-r--r-- | src/jit/assertionprop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/assertionprop.cpp b/src/jit/assertionprop.cpp index 3f96a043b4..34e575eeef 100644 --- a/src/jit/assertionprop.cpp +++ b/src/jit/assertionprop.cpp @@ -881,7 +881,7 @@ unsigned Compiler::optCreateAssertion(GenTreePtr op1, GenTreePtr op2, // // TODO-CQ: Check for Sealed class and change kind to O1K_EXACT_TYPE // And consider the special cases, like CORINFO_FLG_SHAREDINST or CORINFO_FLG_VARIANCE - // where a class can be sealed, but they don’t behave as exact types because casts to + // where a class can be sealed, but they don't behave as exact types because casts to // non-base types sometimes still succeed. // assertion->op1.kind = O1K_SUBTYPE; |