summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-09-04 22:35:29 +0000
committerBill Wendling <isanbard@gmail.com>2013-09-04 22:35:29 +0000
commit10543925bdb03bedb4157cc24c8b6ba2a56563cc (patch)
tree80cf1b98b9f7602788c512cd8e0edcb3153662a3 /llvm/lib
parente31e072c3363e49eb1e2b24181384663b4ffb36c (diff)
downloadbcm5719-llvm-10543925bdb03bedb4157cc24c8b6ba2a56563cc.tar.gz
bcm5719-llvm-10543925bdb03bedb4157cc24c8b6ba2a56563cc.zip
Use ArrayRef instead of explicit container.
llvm-svn: 190003
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/MC/MCDwarf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCDwarf.cpp b/llvm/lib/MC/MCDwarf.cpp
index 195bbfeb28b..24b3dee2b62 100644
--- a/llvm/lib/MC/MCDwarf.cpp
+++ b/llvm/lib/MC/MCDwarf.cpp
@@ -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::EmitCFIInstruction(MCStreamer &Streamer,
/// 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];
OpenPOWER on IntegriCloud