mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Cast to the correct type. Pointer, not reference.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183385 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0ac857462f
commit
2ed7659b88
@ -44,7 +44,7 @@ def IMM12bit : PatLeaf <(imm),
|
|||||||
>;
|
>;
|
||||||
|
|
||||||
class InlineImm <ValueType vt> : PatLeaf <(vt imm), [{
|
class InlineImm <ValueType vt> : PatLeaf <(vt imm), [{
|
||||||
return ((const SITargetLowering &)TLI).analyzeImmediate(N) == 0;
|
return (*(const SITargetLowering *)TLI).analyzeImmediate(N) == 0;
|
||||||
}]>;
|
}]>;
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
Loading…
Reference in New Issue
Block a user