Alignment not supported?
Florian Weimer
fw@deneb.enyo.de
Sun Jan 1 00:00:00 GMT 2017
* David Malcolm:
>> I would suggest to model the interface after gcc_jit_context_new_call
>> (but still keep it separate because even though attributes with
>> arguments are syntactically pretty much like function calls in the C
>> front end, semantically, they are not).
>
> If I understand you right, this would give something like:
>
> extern gcc_jit_type *
> gcc_jit_type_add_attribute (gcc_jit_type *type
> const char *attribute_name,
> int numargs, gcc_jit_rvalue **args);
Right.
> Is every attribute arg an rvalue though? Can some of them be types?
Not sure about that, but the “mode” attribute appears to be special in
this regard. There could be others.
More information about the Jit
mailing list