December 30, 2012 Issues » [Issue 9242] New: Add stack smashing code to flush out heisenbugs | |||
|---|---|---|---|
| |||
...pop EBP
ret
with:
call __stack_frame_smash
mov ESP,EBP
pop EBP
ret
What... | |||
December 29, 2012 Issues » [Issue 9239] New: x86_64 ABI: 3 byte structs are never enregistered | |||
|---|---|---|---|
| |||
...rbp 38: 5d pop rbp 39: c3 ret --- -- Configure issuemail: http://d.puremagic.com/issues... | |||
December 29, 2012 General » Re: POD | |||
|---|---|---|---|
| |||
...ax, %eax
orl %edx, %eax
popl %esi
ret
This is D code:
struct RGB { ubyte... | |||
December 22, 2012 Learn » Re: Help me write "saveAll" | |||
|---|---|---|---|
| |||
...Stuff stuff)
{
Stuff ret = stuff;
foreach(ref v; ret)
++v;
return tuple(ret);
}
void foo... | |||
December 22, 2012 Learn » Re: Help me write "saveAll" | |||
|---|---|---|---|
| |||
Use a phobos tuple? return tuple(ret) The caller can use .expand. | |||
December 21, 2012 Learn » Help me write "saveAll" | |||
|---|---|---|---|
| |||
...property
{
auto ret = ranges;
foreach (Index, Type; Ranges)
static if (isForwardRange!Type)
ret[Index] = ranges... | |||
December 18, 2012 General » Re: Should compilers take advantage (abuse) of the new UDA syntax that has been accepted? | |||
|---|---|---|---|
| |||
...in a @noreturn function, there is no 'ret', so if the function were to return... | |||
December 17, 2012 Issues » [Issue 9167] New: A failed inlining of inner function | |||
|---|---|---|---|
| |||
...pop ECX
ret
main.bar:
push EAX
call near ptr _D4test4mainFZv3fooMFZi
pop ECX
ret
main... | |||
December 16, 2012 Learn » Re: recursive function call at compile time | |||
|---|---|---|---|
| |||
...K-1) ret;
foreach( no, ref d; ret.data )
d = data[no];
return ret;
}
real... | |||
December 16, 2012 Learn » Re: recursive function call at compile time | |||
|---|---|---|---|
| |||
...K] data;
auto getSmaller() {
MyStruct!(K - 1) ret;
}
}
void main() {
MyStruct!5 a;
}
When you... | |||
Copyright © 1999-2021 by the D Language Foundation