forked from OSchip/llvm-project
Avoid undesired variable shadowing
Michael Sartain refactored RegisterContextPOSIX_* in r192332, and I must have missed the now-shadowed variable when I rebased the FreeBSD MIPS64 register context after that. llvm-svn: 201334
This commit is contained in:
parent
753e17629d
commit
800e12ac81
|
@ -151,8 +151,6 @@ POSIXThread::GetRegisterContext()
|
||||||
{
|
{
|
||||||
case ArchSpec::eCore_mips64:
|
case ArchSpec::eCore_mips64:
|
||||||
{
|
{
|
||||||
RegisterInfoInterface *reg_interface = NULL;
|
|
||||||
|
|
||||||
switch (target_arch.GetTriple().getOS())
|
switch (target_arch.GetTriple().getOS())
|
||||||
{
|
{
|
||||||
case llvm::Triple::FreeBSD:
|
case llvm::Triple::FreeBSD:
|
||||||
|
|
Loading…
Reference in New Issue