search for: ccispointer

Displaying 1 result from an estimated 1 matches for "ccispointer".

Did you mean: ccifpointer
2013 Dec 03
0
[LLVMdev] How to implement CCIsPointer?
On M68k the return value is passed register d0, unless it is a pointer then it is returned in register a0 (shadowed in d0 for some targets in GCC). For calling conventions compatible with Turbo/Pure C the first two pointes would also go in a0-a1, and the first three integers in d0-d2 (This is not supported by official GCC as of now). Simply subclassing CCIf and check ValVT or LocVT like this does