| Index: src/IceCfg.cpp
|
| diff --git a/src/IceCfg.cpp b/src/IceCfg.cpp
|
| index d3c47d4c8ea4f5f0e6ba80f94d06dd915d389d7d..a16b35c5643555c0107c1b89917ee5c0af7f9d1f 100644
|
| --- a/src/IceCfg.cpp
|
| +++ b/src/IceCfg.cpp
|
| @@ -25,7 +25,7 @@ namespace Ice {
|
|
|
| thread_local const Cfg *Cfg::CurrentCfg = nullptr;
|
|
|
| -ArenaAllocator *getCurrentCfgAllocator() {
|
| +ArenaAllocator<> *getCurrentCfgAllocator() {
|
| return Cfg::getCurrentCfgAllocator();
|
| }
|
|
|
| @@ -33,7 +33,7 @@ Cfg::Cfg(GlobalContext *Ctx)
|
| : Ctx(Ctx), FunctionName(""), ReturnType(IceType_void),
|
| IsInternalLinkage(false), HasError(false), FocusedTiming(false),
|
| ErrorMessage(""), Entry(nullptr), NextInstNumber(Inst::NumberInitial),
|
| - Allocator(new ArenaAllocator()), Live(nullptr),
|
| + Allocator(new ArenaAllocator<>()), Live(nullptr),
|
| Target(TargetLowering::createLowering(Ctx->getTargetArch(), this)),
|
| VMetadata(new VariablesMetadata(this)),
|
| TargetAssembler(
|
|
|