forked from OSchip/llvm-project
Use ArrayRef instead of explicit container.
llvm-svn: 190003
This commit is contained in:
parent
e31e072c33
commit
10543925bd
|
@ -889,7 +889,7 @@ namespace {
|
||||||
const MCSymbol &cieStart,
|
const MCSymbol &cieStart,
|
||||||
const MCDwarfFrameInfo &frame);
|
const MCDwarfFrameInfo &frame);
|
||||||
void EmitCFIInstructions(MCStreamer &streamer,
|
void EmitCFIInstructions(MCStreamer &streamer,
|
||||||
const std::vector<MCCFIInstruction> &Instrs,
|
ArrayRef<MCCFIInstruction> Instrs,
|
||||||
MCSymbol *BaseLabel);
|
MCSymbol *BaseLabel);
|
||||||
void EmitCFIInstruction(MCStreamer &Streamer,
|
void EmitCFIInstruction(MCStreamer &Streamer,
|
||||||
const MCCFIInstruction &Instr);
|
const MCCFIInstruction &Instr);
|
||||||
|
@ -1091,7 +1091,7 @@ void FrameEmitterImpl::EmitCFIInstruction(MCStreamer &Streamer,
|
||||||
/// EmitFrameMoves - Emit frame instructions to describe the layout of the
|
/// EmitFrameMoves - Emit frame instructions to describe the layout of the
|
||||||
/// frame.
|
/// frame.
|
||||||
void FrameEmitterImpl::EmitCFIInstructions(MCStreamer &streamer,
|
void FrameEmitterImpl::EmitCFIInstructions(MCStreamer &streamer,
|
||||||
const std::vector<MCCFIInstruction> &Instrs,
|
ArrayRef<MCCFIInstruction> Instrs,
|
||||||
MCSymbol *BaseLabel) {
|
MCSymbol *BaseLabel) {
|
||||||
for (unsigned i = 0, N = Instrs.size(); i < N; ++i) {
|
for (unsigned i = 0, N = Instrs.size(); i < N; ++i) {
|
||||||
const MCCFIInstruction &Instr = Instrs[i];
|
const MCCFIInstruction &Instr = Instrs[i];
|
||||||
|
|
Loading…
Reference in New Issue