| 95 | FnAttr fn_type_attr_; |
| 96 | |
| 97 | int InlineConstFnAttrs(const Expr* expr, LlvmCodeGen* codegen, llvm::Function* fn) { |
| 98 | FunctionContext::TypeDesc ret_type = AnyValUtil::ColumnTypeToTypeDesc(expr->type()); |
| 99 | vector<FunctionContext::TypeDesc> arg_types; |
| 100 | for (const Expr* child : expr->children()) { |
| 101 | arg_types.push_back(AnyValUtil::ColumnTypeToTypeDesc(child->type())); |
| 102 | } |
| 103 | return codegen->InlineConstFnAttrs(ret_type, arg_types, fn); |
| 104 | } |
| 105 | |
| 106 | Status CreateFromFile(const string& filename, scoped_ptr<LlvmCodeGen>* codegen) { |
| 107 | RETURN_IF_ERROR(LlvmCodeGen::CreateFromFile(fragment_state_, |
no test coverage detected