Skip to content

Commit

Permalink
Change commented-out ASSERT to DASSERT
Browse files Browse the repository at this point in the history
Signed-off-by: Larry Gritz <[email protected]>
  • Loading branch information
lgritz committed Aug 23, 2023
1 parent 7f2ad40 commit 6584653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liboslexec/llvm_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5224,7 +5224,7 @@ LLVM_Util::op_store(llvm::Value* val, llvm::Value* ptr)
std::cerr << "op_store val->getType()=" << std::flush;
val->getType()->print(llvm::errs());
std::cerr << std::endl;
// OSL_ASSERT(0);
OSL_DASSERT_MSG(0, "We should not have a pointer type mismatch here");
}
if (m_mask_stack.empty() || val->getType()->isVectorTy() == false
|| (!is_masking_required())) {
Expand Down

0 comments on commit 6584653

Please sign in to comment.