| Index: src/IceThreading.cpp
|
| diff --git a/src/IceThreading.cpp b/src/IceThreading.cpp
|
| index 5576abb2ded87b45f432e446ca5703b6ce7fdafc..3bec0e678736bbb97e9635572449763caef9d671 100644
|
| --- a/src/IceThreading.cpp
|
| +++ b/src/IceThreading.cpp
|
| @@ -45,4 +45,15 @@ std::unique_ptr<Cfg> EmitterWorkItem::getCfg() {
|
| return std::move(RawFunc);
|
| }
|
|
|
| +void EmitterWorkItem::setProfilerInits(
|
| + std::unique_ptr<VariableDeclarationList> ProfInits) {
|
| + assert(getKind() == WI_Asm || getKind() == WI_Cfg);
|
| + ProfilerInits = std::move(ProfInits);
|
| +}
|
| +
|
| +std::unique_ptr<VariableDeclarationList> EmitterWorkItem::getProfilerInits() {
|
| + assert(getKind() == WI_Asm || getKind() == WI_Cfg);
|
| + return std::move(ProfilerInits);
|
| +}
|
| +
|
| } // end of namespace Ice
|
|
|