projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make the role of MVT::i32 clearer here, and add a
[oota-llvm.git]
/
lib
/
CodeGen
/
MachOWriter.cpp
diff --git
a/lib/CodeGen/MachOWriter.cpp
b/lib/CodeGen/MachOWriter.cpp
index c2b42ec48a7ba40094f05254c09fb720e7e1e957..bed2c5ca4b2960ad68d10513d488d89b4000ae9d 100644
(file)
--- a/
lib/CodeGen/MachOWriter.cpp
+++ b/
lib/CodeGen/MachOWriter.cpp
@@
-840,7
+840,7
@@
void MachOWriter::InitMem(const Constant *C, void *Addr, intptr_t Offset,
abort();
break;
}
- } else if (PC->getType()->is
FirstClass
Type()) {
+ } else if (PC->getType()->is
SingleValue
Type()) {
unsigned char *ptr = (unsigned char *)PA;
switch (PC->getType()->getTypeID()) {
case Type::IntegerTyID: {