Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 358846b

Browse files
authored
modify comment
1 parent 1fd05c6 commit 358846b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/jit/gentree.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12042,8 +12042,9 @@ GenTreePtr Compiler::gtFoldExprConst(GenTreePtr tree)
1204212042
// constants in a target-specific function.
1204312043
CLANG_FORMAT_COMMENT_ANCHOR;
1204412044

12045-
// Don't fold conversions of +inf/-inf to integral value as the value returned by JIT helper
12046-
// doesn't match with the C compiler's cast result.
12045+
// Don't fold conversions of +inf/-inf to integral value on all platforms
12046+
// as the value returned by JIT helper doesn't match with the C compiler's cast result.
12047+
// We want the behavior to be same with or without folding.
1204712048
return tree;
1204812049
}
1204912050

0 commit comments

Comments
 (0)