Revert "[codeview] don't try to emit variable locations without registers"

This reverts commit a256fbcacf448ee793d23552c46ed2971bf9eff5.

llvm-svn: 311976
This commit is contained in:
Bob Haarman 2017-08-29 04:08:16 +00:00
parent c3ef532c2d
commit 858d098383
1 changed files with 1 additions and 1 deletions

View File

@ -988,7 +988,7 @@ void CodeViewDebug::calculateRanges(
}
// If we don't know how to handle this range, skip past it.
if (!Supported || Location.Register == 0 || (Location.Offset && !Location.InMemory))
if (!Supported || (Location.Offset && !Location.InMemory))
continue;
// Handle the two cases we can handle: indirect in memory and in register.