| 35 | } |
| 36 | |
| 37 | void NonWritableBasicBlock::BranchToIfNot(LlvmBuilder* builder, |
| 38 | llvm::Value* condition, const NonWritableBasicBlock& then_block) const { |
| 39 | DCHECK(builder != nullptr); |
| 40 | builder->CreateCondBr(condition, then_block.basic_block_, basic_block_); |
| 41 | } |
| 42 | |
| 43 | llvm::BasicBlock* NonWritableBasicBlock::CreateBasicBlockBefore( |
| 44 | llvm::LLVMContext& context, const std::string& name, llvm::Function* fn) const { |
no outgoing calls
no test coverage detected