Index: src/IceCfg.cpp |
diff --git a/src/IceCfg.cpp b/src/IceCfg.cpp |
index 99c55aca24d96eb50ed9eb6e3b6da24dde119861..5c43562c9098f14c913b82412ab5767d533049fd 100644 |
--- a/src/IceCfg.cpp |
+++ b/src/IceCfg.cpp |
@@ -148,7 +148,8 @@ blockProfilingInfoDeclaration(GlobalContext *Ctx, const IceString &NodeAsmName, |
const RelocOffsetT NodeNameDeclarationOffset = 0; |
Var->addInitializer(VariableDeclaration::RelocInitializer::create( |
- NodeNameDeclaration, NodeNameDeclarationOffset)); |
+ NodeNameDeclaration, |
+ {RelocOffset::create(Ctx, NodeNameDeclarationOffset)})); |
Var->setAlignment(Int64ByteSize); |
return Var; |
} |