Use ArrayRef instead of a std::vector&.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134595 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling
2011-07-07 04:42:01 +00:00
parent 944520f38c
commit b99e412650
3 changed files with 8 additions and 7 deletions

View File

@@ -14,8 +14,9 @@
#ifndef LLVM_TARGET_TARGETFRAMELOWERING_H
#define LLVM_TARGET_TARGETFRAMELOWERING_H
#include "llvm/MC/MCDwarf.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/MC/MCDwarf.h"
#include "llvm/ADT/ArrayRef.h"
#include <utility>
#include <vector>
@@ -193,9 +194,9 @@ public:
/// getCompactUnwindEncoding - Get the compact unwind encoding for the
/// function. Return 0 if the compact unwind isn't available.
virtual uint32_t getCompactUnwindEncoding(const std::vector<MCCFIInstruction>&,
int /*DataAlignmentFactor*/,
bool /*IsEH*/) const {
virtual uint32_t getCompactUnwindEncoding(ArrayRef<MCCFIInstruction> Instrs,
int DataAlignmentFactor,
bool IsEH) const {
return 0;
}
};