| 843 | } |
| 844 | |
| 845 | CodegenAnyVal CodegenAnyVal::GetNonNullVal(LlvmCodeGen* codegen, LlvmBuilder* builder, |
| 846 | const ColumnType& type, const char* name) { |
| 847 | llvm::Type* val_type = GetLoweredType(codegen, type); |
| 848 | // All zeros => 'is_null' = false |
| 849 | llvm::Value* value = llvm::Constant::getNullValue(val_type); |
| 850 | return CodegenAnyVal(codegen, builder, type, value, name); |
| 851 | } |
| 852 | |
| 853 | // Returns the last block generated so we can set it as a predecessor in PHI nodes. |
| 854 | llvm::BasicBlock* CodegenAnyVal::CreateStructValFromReadWriteInfo( |
nothing calls this directly
no test coverage detected