mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
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:
@@ -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;
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user