Changeset 3902
- Timestamp:
- 08/22/08 16:27:06 (3 months ago)
- Files:
-
- trunk/lib/compiler/dmd/genobj.d (modified) (1 diff)
- trunk/lib/compiler/gdc/genobj.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/compiler/dmd/genobj.d
r3879 r3902 794 794 c = 1; 795 795 else if (xopCmp) 796 c = (*xopCmp)(p2, p1); 796 { 797 c = (*xopCmp)(p1, p2); 798 } 797 799 else 800 { 798 801 // BUG: relies on the GC not moving objects 799 802 c = memcmp(p1, p2, init.length); 803 } 800 804 } 801 805 else trunk/lib/compiler/gdc/genobj.d
r3879 r3902 799 799 c = 1; 800 800 else if (xopCmp) 801 { 802 version (GNU) // GDC and DMD use different calling conventions 803 c = (*xopCmp)(p1, p2); 804 else 805 c = (*xopCmp)(p2, p1); 806 } 801 c = (*xopCmp)(p1, p2); 807 802 else 808 803 // BUG: relies on the GC not moving objects












