Mercurial > projects > ldc
comparison tango/lib/compiler/llvmdc/cast.d @ 133:44a95ac7368a trunk
[svn r137] Many fixes towards tango.io.Console working, but not quite there yet...
In particular, assertions has been fixed to include file/line info, and much more!
author | lindquist |
---|---|
date | Mon, 14 Jan 2008 05:11:54 +0100 |
parents | 1700239cab2e |
children | 0e28624814e8 |
comparison
equal
deleted
inserted
replaced
132:1700239cab2e | 133:44a95ac7368a |
---|---|
97 } | 97 } |
98 //printf("\tresult = %p\n", o); | 98 //printf("\tresult = %p\n", o); |
99 return o; | 99 return o; |
100 } | 100 } |
101 | 101 |
102 int _d_isbaseof2(ClassInfo oc, ClassInfo c, inout size_t offset) | 102 int _d_isbaseof2(ClassInfo oc, ClassInfo c, ref size_t offset) |
103 { int i; | 103 { int i; |
104 | 104 |
105 if (oc is c) | 105 if (oc is c) |
106 return 1; | 106 return 1; |
107 do | 107 do |