File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -366,7 +366,7 @@ std::vector<LLVMLoop> &LLVMBuildUtils::loops()
366366 return m_loops;
367367}
368368
369- Compiler::StaticType LLVMBuildUtils::optimizeRegisterType (LLVMRegister *reg)
369+ Compiler::StaticType LLVMBuildUtils::optimizeRegisterType (const LLVMRegister *reg)
370370{
371371 Compiler::StaticType ret = reg->type ();
372372
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ class LLVMBuildUtils
7373 std::vector<LLVMIfStatement> &ifStatements ();
7474 std::vector<LLVMLoop> &loops ();
7575
76- static Compiler::StaticType optimizeRegisterType (LLVMRegister *reg);
76+ static Compiler::StaticType optimizeRegisterType (const LLVMRegister *reg);
7777 static Compiler::StaticType mapType (ValueType type);
7878
7979 llvm::Value *addAlloca (llvm::Type *type);
You can’t perform that action at this time.
0 commit comments