Mercurial > projects > ldc
comparison runtime/internal/genobj.d @ 731:d63741d00ee3
Fix broken indentation from last commit.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 26 Oct 2008 21:18:24 +0100 |
parents | 09b88beffd2d |
children | f466f475b654 |
comparison
equal
deleted
inserted
replaced
730:09b88beffd2d | 731:d63741d00ee3 |
---|---|
798 { | 798 { |
799 if (p1) | 799 if (p1) |
800 { if (!p2) | 800 { if (!p2) |
801 c = 1; | 801 c = 1; |
802 else if (xopCmp) | 802 else if (xopCmp) |
803 // the x86 D calling conv requires the this arg to be last here | 803 // the x86 D calling conv requires the this arg to be last here |
804 version(X86) | 804 version(X86) |
805 c = (*xopCmp)(p2, p1); | 805 c = (*xopCmp)(p2, p1); |
806 else | 806 else |
807 c = (*xopCmp)(p1, p2); | 807 c = (*xopCmp)(p1, p2); |
808 else | 808 else |
809 // BUG: relies on the GC not moving objects | 809 // BUG: relies on the GC not moving objects |
810 c = memcmp(p1, p2, m_init.length); | 810 c = memcmp(p1, p2, m_init.length); |
811 } | 811 } |
812 else | 812 else |