[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lightning] Runtime assembler in C++

From: Pippijn van Steenhoven
Subject: Re: [Lightning] Runtime assembler in C++
Date: Fri, 6 Jun 2008 23:29:29 +0200

Actually, I was using an older version from CVS. I checked out the git
repository now and many were fixed. I will create new lists later. One

    leaf (2);
    int ofs = arg_i ();
    getarg_i (R0, ofs);
    ofs = arg_i ();
    getarg_i (R1, ofs);
    addr_i (RET, R0, R1);
    ret ();

Can this be written as:

    leaf (2);
    getarg_i (R0, arg_i ());
    getarg_i (R1, arg_i ());
    addr_i (RET, R0, R1);
    ret ();

In all cases, or are there cases where this does not work? I am
thinking of the function evaluation with functions returning


reply via email to

[Prev in Thread] Current Thread [Next in Thread]