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:
9086515
)
Allow pointer indexing
author
Chris Lattner
<sabre@nondot.org>
Fri, 14 Dec 2001 16:31:26 +0000
(16:31 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 14 Dec 2001 16:31:26 +0000
(16:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1462
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/SparcV9/SparcV9InstrSelection.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/SparcV9/SparcV9InstrSelection.cpp
b/lib/Target/SparcV9/SparcV9InstrSelection.cpp
index c7b8ecb351218842ae113283aeae906e057e94e2..21212199a86254d45f4b4f748b51d77131a72c61 100644
(file)
--- a/
lib/Target/SparcV9/SparcV9InstrSelection.cpp
+++ b/
lib/Target/SparcV9/SparcV9InstrSelection.cpp
@@
-839,7
+839,7
@@
SetMemOperands_Internal(MachineInstr* minstr,
// It must be an array ref. Check if the offset is a constant,
// and that the indexing has been lowered to a single offset.
//
- assert(
ptrType->getElementType()->isArrayType(
));
+ assert(
isa<SequentialType>(ptrType->getElementType()
));
assert(arrayOffsetVal != NULL
&& "Expect to be given Value* for array offsets");