Skip to content

Commit

Permalink
rebase to latest main
Browse files Browse the repository at this point in the history
Change-Id: I832fdde9cfe4a69b09b414b5b45fb18b02475444
  • Loading branch information
lhutton1 committed Mar 18, 2024
1 parent 877729d commit 2e1ce9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/target/llvm/llvm_instance.cc
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ LLVMTargetInfo::LLVMTargetInfo(LLVMInstance& instance, const TargetJSON& target)
}

// LLVM JIT engine options
if (const Optional<String>& v = target->GetAttr<String>("jit")) {
if (const auto& v = Downcast<Optional<String>>(target.Get("jit"))) {
String value = v.value();
if ((value == "mcjit") || (value == "orcjit")) {
jit_engine_ = value;
Expand Down

0 comments on commit 2e1ce9e

Please sign in to comment.