| Index: src/IceConverter.cpp
|
| diff --git a/src/IceConverter.cpp b/src/IceConverter.cpp
|
| index a8148f97ad1f7bd3333b07435ac4e5cd2e64c463..9e003ef8b68edc215aad5cf9248622ea9165aa4f 100644
|
| --- a/src/IceConverter.cpp
|
| +++ b/src/IceConverter.cpp
|
| @@ -145,7 +145,9 @@ private:
|
| if (IceTy == Ice::IceType_void)
|
| return nullptr;
|
| if (VarMap.find(V) == VarMap.end()) {
|
| - VarMap[V] = Func->makeVariable(IceTy, V->getName());
|
| + VarMap[V] = Func->makeVariable(IceTy);
|
| + if (ALLOW_DUMP)
|
| + VarMap[V]->setName(Func, V->getName());
|
| }
|
| return VarMap[V];
|
| }
|
|
|