| 142 | } |
| 143 | |
| 144 | llvm::Value* CodegenAnyValReadWriteInfo::CodegenGetFnCtx() const { |
| 145 | llvm::Function* const get_func_ctx_fn = |
| 146 | codegen_->GetFunction(IRFunction::GET_FUNCTION_CTX, false); |
| 147 | return builder_->CreateCall(get_func_ctx_fn, |
| 148 | {eval_, codegen_->GetI32Constant(fn_ctx_idx_)}, "fn_ctx"); |
| 149 | } |
| 150 | |
| 151 | llvm::PHINode* CodegenAnyValReadWriteInfo::CodegenNullPhiNode( |
| 152 | llvm::Value* non_null_value, llvm::Value* null_value, const std::string& name) { |
no test coverage detected