modify comment
authorHyeongseok Oh <hseok82.oh@samsung.com>
Wed, 7 Sep 2016 04:26:05 +0000 (13:26 +0900)
committerGitHub <noreply@github.com>
Wed, 7 Sep 2016 04:26:05 +0000 (13:26 +0900)
Commit migrated from https://github.com/dotnet/coreclr/commit/358846b9417e1043818cea18da0f18924ebc2a5d

src/coreclr/src/jit/gentree.cpp

index dd244b7..38f7c0f 100644 (file)
@@ -12042,8 +12042,9 @@ GenTreePtr Compiler::gtFoldExprConst(GenTreePtr tree)
                             // constants in a target-specific function.
                             CLANG_FORMAT_COMMENT_ANCHOR;
 
-                            // Don't fold conversions of +inf/-inf to integral value as the value returned by JIT helper
-                            // doesn't match with the C compiler's cast result.
+                            // Don't fold conversions of +inf/-inf to integral value on all platforms
+                            // as the value returned by JIT helper doesn't match with the C compiler's cast result.
+                            // We want the behavior to be same with or without folding.  
                             return tree;
                         }