From 2e1ce9ededa38aa5336c7f33b3e890955b3710d5 Mon Sep 17 00:00:00 2001 From: Luke Hutton Date: Mon, 18 Mar 2024 09:41:02 +0000 Subject: [PATCH] rebase to latest main Change-Id: I832fdde9cfe4a69b09b414b5b45fb18b02475444 --- src/target/llvm/llvm_instance.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/target/llvm/llvm_instance.cc b/src/target/llvm/llvm_instance.cc index 4343db21069ff..cbf3a2fa1c2a2 100644 --- a/src/target/llvm/llvm_instance.cc +++ b/src/target/llvm/llvm_instance.cc @@ -262,7 +262,7 @@ LLVMTargetInfo::LLVMTargetInfo(LLVMInstance& instance, const TargetJSON& target) } // LLVM JIT engine options - if (const Optional& v = target->GetAttr("jit")) { + if (const auto& v = Downcast>(target.Get("jit"))) { String value = v.value(); if ((value == "mcjit") || (value == "orcjit")) { jit_engine_ = value;