| Index: src/IceCfg.h
|
| diff --git a/src/IceCfg.h b/src/IceCfg.h
|
| index c24319c72d8e7eda8f5432ce67102260d7ed3514..55b1de9b0e2bbc4d3a4dc08c838a39a249013024 100644
|
| --- a/src/IceCfg.h
|
| +++ b/src/IceCfg.h
|
| @@ -158,6 +158,12 @@ public:
|
| }
|
| GlobalInits->push_back(Global);
|
| }
|
| + VariableDeclarationList *getGlobalPool() {
|
| + if (GlobalInits == nullptr) {
|
| + GlobalInits.reset(new VariableDeclarationList);
|
| + }
|
| + return GlobalInits.get();
|
| + }
|
| /// @}
|
|
|
| /// \name Miscellaneous accessors.
|
| @@ -261,6 +267,11 @@ private:
|
| /// code needs to be defined.
|
| void profileBlocks();
|
|
|
| + void createNodeNameDeclaration(const IceString &NodeAsmName);
|
| + void
|
| + createBlockProfilingInfoDeclaration(const IceString &NodeAsmName,
|
| + VariableDeclaration *NodeNameDeclaration);
|
| +
|
| /// Delete registered jump table placeholder instructions. This should only be
|
| /// called once all repointing has taken place.
|
| void deleteJumpTableInsts();
|
|
|