[llvm] r190003 - Use ArrayRef instead of explicit container.
Bill Wendling
isanbard at gmail.com
Wed Sep 4 15:35:29 PDT 2013
Author: void
Date: Wed Sep 4 17:35:29 2013
New Revision: 190003
URL: http://llvm.org/viewvc/llvm-project?rev=190003&view=rev
Log:
Use ArrayRef instead of explicit container.
Modified:
llvm/trunk/lib/MC/MCDwarf.cpp
Modified: llvm/trunk/lib/MC/MCDwarf.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCDwarf.cpp?rev=190003&r1=190002&r2=190003&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCDwarf.cpp (original)
+++ llvm/trunk/lib/MC/MCDwarf.cpp Wed Sep 4 17:35:29 2013
@@ -889,7 +889,7 @@ namespace {
const MCSymbol &cieStart,
const MCDwarfFrameInfo &frame);
void EmitCFIInstructions(MCStreamer &streamer,
- const std::vector<MCCFIInstruction> &Instrs,
+ ArrayRef<MCCFIInstruction> Instrs,
MCSymbol *BaseLabel);
void EmitCFIInstruction(MCStreamer &Streamer,
const MCCFIInstruction &Instr);
@@ -1091,7 +1091,7 @@ void FrameEmitterImpl::EmitCFIInstructio
/// EmitFrameMoves - Emit frame instructions to describe the layout of the
/// frame.
void FrameEmitterImpl::EmitCFIInstructions(MCStreamer &streamer,
- const std::vector<MCCFIInstruction> &Instrs,
+ ArrayRef<MCCFIInstruction> Instrs,
MCSymbol *BaseLabel) {
for (unsigned i = 0, N = Instrs.size(); i < N; ++i) {
const MCCFIInstruction &Instr = Instrs[i];
More information about the llvm-commits
mailing list