projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25a734e
)
[x86/Linux] Fix error: '&&' within '||' (dotnet/coreclr#8391)
author
SaeHie Park
<saehie.park@gmail.com>
Wed, 30 Nov 2016 07:41:44 +0000
(16:41 +0900)
committer
Jan Kotas
<jkotas@microsoft.com>
Wed, 30 Nov 2016 07:41:44 +0000
(23:41 -0800)
Fix compile error for x86/Linux
- place parentheses around the '&&' expression to silence this
Commit migrated from https://github.com/dotnet/coreclr/commit/
0d6db5301fdea84ac8c798dcc3c051dc85f3411e
src/coreclr/src/jit/stackfp.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/src/jit/stackfp.cpp
b/src/coreclr/src/jit/stackfp.cpp
index
74823dd
..
2342b22
100644
(file)
--- a/
src/coreclr/src/jit/stackfp.cpp
+++ b/
src/coreclr/src/jit/stackfp.cpp
@@
-2824,7
+2824,7
@@
void CodeGen::genCondJumpFltStackFP(GenTreePtr cond, BasicBlock* jumpTrue, Basic
BasicBlock* CodeGen::genTransitionBlockStackFP(FlatFPStateX87* pState, BasicBlock* pFrom, BasicBlock* pTarget)
{
// Fast paths where a transition block is not necessary
- if (
pTarget->bbFPStateX87 && FlatFPStateX87::AreEqual(pState, pTarget->bbFPStateX87
) || pState->IsEmpty())
+ if (
(pTarget->bbFPStateX87 && FlatFPStateX87::AreEqual(pState, pTarget->bbFPStateX87)
) || pState->IsEmpty())
{
return pTarget;
}