diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-09-04 22:35:29 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-09-04 22:35:29 +0000 |
commit | 9e4bd87f470132ec907afdc3eed4e34cb4859240 (patch) | |
tree | 707649b0d316304277b8da1f88b08618cb0913e8 /lib/MC | |
parent | efc47ec528c32f09fa32445f54ee966b462add0f (diff) | |
download | external_llvm-9e4bd87f470132ec907afdc3eed4e34cb4859240.zip external_llvm-9e4bd87f470132ec907afdc3eed4e34cb4859240.tar.gz external_llvm-9e4bd87f470132ec907afdc3eed4e34cb4859240.tar.bz2 |
Use ArrayRef instead of explicit container.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190003 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC')
-rw-r--r-- | lib/MC/MCDwarf.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/MC/MCDwarf.cpp b/lib/MC/MCDwarf.cpp index 195bbfe..24b3dee 100644 --- a/lib/MC/MCDwarf.cpp +++ b/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]; |