[XRay] Remove unused reference

The reference was only used in the assertion.

Follow-up on D51723.

llvm-svn: 341771
This commit is contained in:
Dean Michael Berris 2018-09-10 02:57:05 +00:00
parent 72d27f5525
commit f3a3679e72
1 changed files with 2 additions and 2 deletions

View File

@ -112,9 +112,9 @@ Error BlockVerifier::transition(State To) {
return Error::success(); return Error::success();
auto &Mapping = TransitionTable[number(CurrentRecord)]; auto &Mapping = TransitionTable[number(CurrentRecord)];
auto &From = Mapping.From;
auto &Destinations = Mapping.ToStates; auto &Destinations = Mapping.ToStates;
assert(From == CurrentRecord && "BUG: Wrong index for record mapping."); assert(Mapping.From == CurrentRecord &&
"BUG: Wrong index for record mapping.");
if ((Destinations & ToSet(mask(To))) == 0) if ((Destinations & ToSet(mask(To))) == 0)
return createStringError( return createStringError(
std::make_error_code(std::errc::executable_format_error), std::make_error_code(std::errc::executable_format_error),