Mercurial > projects > ddmd
comparison dmd/InExp.d @ 191:52188e7e3fb5
Fixed deprecated features, now compiles with DMD2.058
Also changed Array allocation policy:
Now doesn't reallocate but malloc's, followed by a memcpy (no free).
(this fixes a crash while compiling druntime. Same bug in dmd)
author | korDen@korDen-pc |
---|---|
date | Sun, 25 Mar 2012 03:11:12 +0400 |
parents | b0d41ff5e0df |
children |
comparison
equal
deleted
inserted
replaced
190:80660782bffe | 191:52188e7e3fb5 |
---|---|
67 type = ta.nextOf().pointerTo(); | 67 type = ta.nextOf().pointerTo(); |
68 } | 68 } |
69 return this; | 69 return this; |
70 } | 70 } |
71 | 71 |
72 override int isBit() | 72 override bool isBit() |
73 { | 73 { |
74 return 0; | 74 return false; |
75 } | 75 } |
76 | 76 |
77 override Identifier opId() | 77 override Identifier opId() |
78 { | 78 { |
79 return Id.opIn; | 79 return Id.opIn; |