- return type_sizeof_[self->m_vtype];
-}
-
-static ir_value* ir_value_out(ir_function *owner, const char *name, store_type storetype, qc_type vtype)
-{
- ir_value *v = new ir_value(name ? std::string(name) : std::string(), storetype, vtype);
- if (!v)
- return nullptr;
- ir_function_collect_value(owner, v);
- return v;