Replies: 1 comment
-
I initially tried the following but it complains it can't find the matching <output>
<rule>
<datatype name="any">
<goto_stack/>
</rule>
</output> The javadocs for the GotoStack class says it assigned a parameter Address from the next available stack location. So it appears to be exactly what I want. I don't understand why it is trying to require me to make a stack pentry in output. If I do that and don't specify an offset it will put it at 0 instead of at the next available stack location. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to fix the abi0 calling convention using the hidden_return rule to place the output at the next stack position. I have already modified
compiler_spec.rxg
so it will allow the expectedstrategy
attribute. Unfortunately when I try to specify a pentry after the stack pentry in the input list I end up getting an error "parameter list entries must be ordered by storage class".I'm not sure what else to try here but I'm getting really tired of having to manually specify custom storage for every function.
Beta Was this translation helpful? Give feedback.
All reactions