We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0470f8 commit d46d9e0Copy full SHA for d46d9e0
2 files changed
src/engine/internal/llvm/llvmbuildutils.cpp
@@ -366,7 +366,7 @@ std::vector<LLVMLoop> &LLVMBuildUtils::loops()
366
return m_loops;
367
}
368
369
-Compiler::StaticType LLVMBuildUtils::optimizeRegisterType(LLVMRegister *reg)
+Compiler::StaticType LLVMBuildUtils::optimizeRegisterType(const LLVMRegister *reg)
370
{
371
Compiler::StaticType ret = reg->type();
372
src/engine/internal/llvm/llvmbuildutils.h
@@ -73,7 +73,7 @@ class LLVMBuildUtils
73
std::vector<LLVMIfStatement> &ifStatements();
74
std::vector<LLVMLoop> &loops();
75
76
- static Compiler::StaticType optimizeRegisterType(LLVMRegister *reg);
+ static Compiler::StaticType optimizeRegisterType(const LLVMRegister *reg);
77
static Compiler::StaticType mapType(ValueType type);
78
79
llvm::Value *addAlloca(llvm::Type *type);
0 commit comments