@@ -111,8 +111,8 @@ LLVMInstruction *Lists::buildAppendToList(LLVMInstruction *ins)
111111
112112 Compiler::StaticType listType = Compiler::StaticType::Unknown;
113113
114- if (m_utils.warp ())
115- listType = m_utils.typeAnalyzer ().listType (ins->workList , ins, Compiler::StaticType::Unknown, false );
114+ /* if (m_utils.warp())
115+ listType = m_utils.typeAnalyzer().listType(ins->workList, ins, Compiler::StaticType::Unknown, false);*/
116116
117117 // Check if enough space is allocated
118118 llvm::Value *allocatedSize = m_builder.CreateLoad (m_builder.getInt64Ty (), listPtr.allocatedSizePtr );
@@ -153,8 +153,8 @@ LLVMInstruction *Lists::buildInsertToList(LLVMInstruction *ins)
153153
154154 Compiler::StaticType listType = Compiler::StaticType::Unknown;
155155
156- if (m_utils.warp ())
157- listType = m_utils.typeAnalyzer ().listType (ins->workList , ins, Compiler::StaticType::Unknown, false );
156+ /* if (m_utils.warp())
157+ listType = m_utils.typeAnalyzer().listType(ins->workList, ins, Compiler::StaticType::Unknown, false);*/
158158
159159 // Range check
160160 llvm::Value *size = m_builder.CreateLoad (m_builder.getInt64Ty (), listPtr.sizePtr );
@@ -191,8 +191,8 @@ LLVMInstruction *Lists::buildListReplace(LLVMInstruction *ins)
191191
192192 Compiler::StaticType listType = Compiler::StaticType::Unknown;
193193
194- if (m_utils.warp ())
195- listType = m_utils.typeAnalyzer ().listType (ins->workList , ins, Compiler::StaticType::Unknown, false );
194+ /* if (m_utils.warp())
195+ listType = m_utils.typeAnalyzer().listType(ins->workList, ins, Compiler::StaticType::Unknown, false);*/
196196
197197 // Range check
198198 llvm::Value *min = llvm::ConstantFP::get (llvmCtx, llvm::APFloat (0.0 ));
@@ -234,8 +234,8 @@ LLVMInstruction *Lists::buildGetListItem(LLVMInstruction *ins)
234234
235235 Compiler::StaticType listType = Compiler::StaticType::Unknown;
236236
237- if (m_utils.warp ())
238- listType = m_utils.typeAnalyzer ().listType (ins->workList , ins, Compiler::StaticType::Unknown, false );
237+ /* if (m_utils.warp())
238+ listType = m_utils.typeAnalyzer().listType(ins->workList, ins, Compiler::StaticType::Unknown, false);*/
239239
240240 llvm::Value *min = llvm::ConstantFP::get (m_utils.llvmCtx (), llvm::APFloat (0.0 ));
241241 llvm::Value *size = m_builder.CreateLoad (m_builder.getInt64Ty (), listPtr.sizePtr );
@@ -271,8 +271,8 @@ LLVMInstruction *Lists::buildGetListItemIndex(LLVMInstruction *ins)
271271
272272 Compiler::StaticType listType = Compiler::StaticType::Unknown;
273273
274- if (m_utils.warp ())
275- listType = m_utils.typeAnalyzer ().listType (ins->workList , ins, Compiler::StaticType::Unknown, false );
274+ /* if (m_utils.warp())
275+ listType = m_utils.typeAnalyzer().listType(ins->workList, ins, Compiler::StaticType::Unknown, false);*/
276276
277277 ins->functionReturnReg ->value = m_builder.CreateSIToFP (m_utils.getListItemIndex (listPtr, listType, arg.second ), m_builder.getDoubleTy ());
278278 return ins->next ;
@@ -286,8 +286,8 @@ LLVMInstruction *Lists::buildListContainsItem(LLVMInstruction *ins)
286286
287287 Compiler::StaticType listType = Compiler::StaticType::Unknown;
288288
289- if (m_utils.warp ())
290- listType = m_utils.typeAnalyzer ().listType (ins->workList , ins, Compiler::StaticType::Unknown, false );
289+ /* if (m_utils.warp())
290+ listType = m_utils.typeAnalyzer().listType(ins->workList, ins, Compiler::StaticType::Unknown, false);*/
291291
292292 llvm::Value *index = m_utils.getListItemIndex (listPtr, listType, arg.second );
293293 ins->functionReturnReg ->value = m_builder.CreateICmpSGT (index, llvm::ConstantInt::get (m_builder.getInt64Ty (), -1 , true ));
0 commit comments