Skip to content

Commit deda3a7

Browse files
committed
LLVMCodeBuilder: Mark m_instruction as deprecated
This variable will become obsolete after we switch to linked list.
1 parent d607251 commit deda3a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/engine/internal/llvm/llvmcodebuilder.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ class LLVMCodeBuilder : public ICodeBuilder
234234
llvm::StructType *m_stringPtrType = nullptr;
235235
llvm::FunctionType *m_resumeFuncType = nullptr;
236236

237-
std::vector<std::shared_ptr<LLVMInstruction>> m_instructions;
237+
[[deprecated]] std::vector<std::shared_ptr<LLVMInstruction>> m_instructions; // TODO: Remove this
238238
std::vector<std::shared_ptr<LLVMRegister>> m_regs;
239239
std::vector<std::shared_ptr<CompilerLocalVariable>> m_localVars;
240240
LLVMRegister *m_lastConstValue = nullptr; // for reporters and hat predicates

0 commit comments

Comments
 (0)