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/morph.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/morph.cpp')
-rw-r--r-- | src/jit/morph.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/morph.cpp b/src/jit/morph.cpp index 0b8e93ae08..3cd314d675 100644 --- a/src/jit/morph.cpp +++ b/src/jit/morph.cpp @@ -10900,7 +10900,7 @@ ASG_OP: // optimization. This code is previously from UTC where it notes it was taken from // _The_PowerPC_Compiler_Writer's_Guide_, pages 57-58. // The paper it is based on is "Division by invariant integers using multiplication" -// by Torbjörn Granlund and Peter L. Montgomery in PLDI 94 +// by Torbjorn Granlund and Peter L. Montgomery in PLDI 94 template <typename T> T GetSignedMagicNumberForDivide(T denom, int *shift /*out*/) |