Search

December 30, 2012
Issues »
...pop EBP
    ret

with:

    call __stack_frame_smash
    mov ESP,EBP
    pop EBP
    ret

What...
December 29, 2012
Issues »
...rbp
  38:   5d                      pop    rbp
  39:   c3                      ret
---

-- 
Configure issuemail: http://d.puremagic.com/issues...
December 29, 2012
General »
...ax, %eax
    orl %edx, %eax
    popl    %esi
    ret



This is D code:


struct RGB { ubyte...
December 22, 2012
Learn »
...Stuff stuff)
{
     Stuff ret = stuff;
     foreach(ref v; ret)
         ++v;
     return tuple(ret);
}

void foo...
December 22, 2012
Learn »
Use a phobos tuple?

return tuple(ret)

The caller can use .expand.
December 21, 2012
Learn »
...property
{
    auto ret = ranges;
    foreach (Index, Type; Ranges)
        static if (isForwardRange!Type)
            ret[Index] = ranges...
December 18, 2012
General »
...in a @noreturn function, there is no 'ret', so if the function were to return...
December 17, 2012
Issues »
...pop ECX
        ret

main.bar:
        push EAX
        call near ptr _D4test4mainFZv3fooMFZi
        pop ECX
        ret

main...
December 16, 2012
Learn »
...K-1) ret;
            foreach( no, ref d; ret.data )
                d = data[no];
            return ret;
        }

    real...
December 16, 2012
Learn »
...K] data;

    auto getSmaller() {
        MyStruct!(K - 1) ret;
    }
}

void main() {
    MyStruct!5 a;
}


When you...
96 97 98 99 100 101 102 103 104 105 106 107
Next ›   Last »