Add alignment value to allowsUnalignedMemoryAccess
[oota-llvm.git] / lib / Target / Mips / Mips16ISelLowering.cpp
index 587925df946bdbb5e06c9d5d3035a7d302c6292c..9f07c6c75f3679f15c28bd960a50d9af0012e43b 100644 (file)
@@ -157,9 +157,10 @@ llvm::createMips16TargetLowering(MipsTargetMachine &TM,
 }
 
 bool
-Mips16TargetLowering::allowsUnalignedMemoryAccesses(EVT VT,
-                                                    unsigned,
-                                                    bool *Fast) const {
+Mips16TargetLowering::allowsMisalignedMemoryAccesses(EVT VT,
+                                                     unsigned,
+                                                     unsigned,
+                                                     bool *Fast) const {
   return false;
 }