Re: avoid codegen pass

2021-10-02 Thread russhy via Digitalmars-d-learn
On Saturday, 2 October 2021 at 22:40:32 UTC, max haughton wrote: On Saturday, 2 October 2021 at 18:05:06 UTC, Dennis wrote: On Saturday, 2 October 2021 at 16:57:48 UTC, max haughton wrote: Do you have optimizations turned on? i.e. are you compiling with -O by accident? Not needed, it's declar

Re: avoid codegen pass

2021-10-02 Thread max haughton via Digitalmars-d-learn
On Saturday, 2 October 2021 at 18:05:06 UTC, Dennis wrote: On Saturday, 2 October 2021 at 16:57:48 UTC, max haughton wrote: Do you have optimizations turned on? i.e. are you compiling with -O by accident? Not needed, it's declared: ```D pragma(inline, true) @property _timezone() @safe const pu

Re: avoid codegen pass

2021-10-02 Thread Dennis via Digitalmars-d-learn
On Saturday, 2 October 2021 at 16:57:48 UTC, max haughton wrote: Do you have optimizations turned on? i.e. are you compiling with -O by accident? Not needed, it's declared: ```D pragma(inline, true) @property _timezone() @safe const pure nothrow @nogc ``` DMD does inlining in the frontend, a

Re: avoid codegen pass

2021-10-02 Thread max haughton via Digitalmars-d-learn
On Saturday, 2 October 2021 at 14:44:16 UTC, Padlev wrote: On Saturday, 2 October 2021 at 13:26:27 UTC, Adam D Ruppe wrote: On Saturday, 2 October 2021 at 13:24:19 UTC, Padlev wrote: -o- how to run only semantic and avoid codegen to have a quicker run? -o- does skip codegen already so

Re: avoid codegen pass

2021-10-02 Thread Padlev via Digitalmars-d-learn
On Saturday, 2 October 2021 at 13:26:27 UTC, Adam D Ruppe wrote: On Saturday, 2 October 2021 at 13:24:19 UTC, Padlev wrote: -o- how to run only semantic and avoid codegen to have a quicker run? -o- does skip codegen already so why this? it seems to take a long time from the last import

Re: avoid codegen pass

2021-10-02 Thread Adam D Ruppe via Digitalmars-d-learn
On Saturday, 2 October 2021 at 13:24:19 UTC, Padlev wrote: -o- how to run only semantic and avoid codegen to have a quicker run? -o- does skip codegen already

avoid codegen pass

2021-10-02 Thread Padlev via Digitalmars-d-learn
hello, i run dmd from editor to check syntax of what i am writing, with -c -o-. how to run only semantic and avoid codegen to have a quicker run?