projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8414946
)
Replace dyn_cast<> with cast<> since the cast is already guarded by the necessary...
author
Chad Rosier
<mcrosier@apple.com>
Sat, 25 Jun 2011 18:51:28 +0000
(18:51 +0000)
committer
Chad Rosier
<mcrosier@apple.com>
Sat, 25 Jun 2011 18:51:28 +0000
(18:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133874
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelLowering.cpp
b/lib/Target/X86/X86ISelLowering.cpp
index bab15e62a27daed4955addbb330d45aed6d4030d..0810267fef2754246599104adf9e12346479747f 100644
(file)
--- a/
lib/Target/X86/X86ISelLowering.cpp
+++ b/
lib/Target/X86/X86ISelLowering.cpp
@@
-2506,7
+2506,7
@@
bool MatchingStackOffset(SDValue Arg, unsigned Offset, ISD::ArgFlagsTy Flags,
return false;
FI = FINode->getIndex();
} else if (Arg.getOpcode() == ISD::FrameIndex && Flags.isByVal()) {
- FrameIndexSDNode *FINode =
dyn_
cast<FrameIndexSDNode>(Arg);
+ FrameIndexSDNode *FINode = cast<FrameIndexSDNode>(Arg);
FI = FINode->getIndex();
Bytes = Flags.getByValSize();
} else