March 18, 2013 Re: Help with a DMD patch | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Murphy | On 03/17/2013 03:35 AM, Daniel Murphy wrote: > Not really the easiest part of dmd to hack on.... Yeah, that's why I wished more of this would move to druntime, but the current solution to stuff everything into object.di doesn't scale too well. Looking at "a[] = b[]" => memcpy might help. https://github.com/D-Programming-Language/dmd/blob/6b634f369a53cdc297d0f41c50d03f8b091ea074/src/e2ir.c#L2824 |
March 18, 2013 Re: Help with a DMD patch | ||||
---|---|---|---|---|
| ||||
Posted in reply to Vladimir Panteleev | https://github.com/D-Programming-Language/dmd/pull/1766 |
March 18, 2013 Re: Help with a DMD patch | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | On Monday, 18 March 2013 at 21:10:15 UTC, Martin Nowak wrote:
> On 03/17/2013 03:35 AM, Daniel Murphy wrote:
>> Not really the easiest part of dmd to hack on....
>
> Yeah, that's why I wished more of this would move to druntime, but the current solution to stuff everything into object.di doesn't scale too well.
>
> Looking at "a[] = b[]" => memcpy might help.
> https://github.com/D-Programming-Language/dmd/blob/6b634f369a53cdc297d0f41c50d03f8b091ea074/src/e2ir.c#L2824
Thanks, I've already tracked it down to a pre-existing DMD bug. Many of my previous attempts were actually correct. I submitted the pull request just now.
|
March 19, 2013 Re: Help with a DMD patch | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | On 2013-03-18 22:10, Martin Nowak wrote: > Yeah, that's why I wished more of this would move to druntime, but the > current solution to stuff everything into object.di doesn't scale too well. Put it in some other file and add a public import to object.di. -- /Jacob Carlborg |
Copyright © 1999-2021 by the D Language Foundation