Move new assert to correct location
authorTeresa Johnson <tejohnson@google.com>
Sat, 21 Nov 2015 03:51:23 +0000 (03:51 +0000)
committerTeresa Johnson <tejohnson@google.com>
Sat, 21 Nov 2015 03:51:23 +0000 (03:51 +0000)
commit798892661ceca2b70e1dc751d61fd6b0da0cee8e
treef448deaf08c8be1ac4ee1aa389cebfb9767033c2
parent45ac8bc6fcf660accdf88eb2de6bb7854c52cffc
Move new assert to correct location

This assert was meant to execute at the end of parseMetadata, but
we return early and never reach the end of the function. Caught
by a compile-time warning since the function doesn't return a value
from that location.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253762 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Bitcode/Reader/BitcodeReader.cpp