Changeset 730:09b88beffd2d
- Timestamp:
- 10/26/08 16:16:21
(2 months ago)
- Author:
- Christian Kamm <kamm incasoftware de>
- branch:
- default
- Message:
Enable arg reversal on x86 by default. Make change to TypeInfo?_Struct.compare to accomodate for it.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r727 |
r730 |
|
| 39 | 39 | |
|---|
| 40 | 40 | -- x86 ABI support |
|---|
| 41 | | X86_REVERSE_PARAMS = 0 --disabled for now |
|---|
| 42 | | X86_PASS_IN_EAX = 0 |
|---|
| | 41 | X86_REVERSE_PARAMS = 1 |
|---|
| | 42 | X86_PASS_IN_EAX = 0 --disabled for now |
|---|
| 43 | 43 | |
|---|
| 44 | 44 | -- D version - don't change these !!! |
|---|
| r728 |
r730 |
|
| 801 | 801 | c = 1; |
|---|
| 802 | 802 | else if (xopCmp) |
|---|
| 803 | | c = (*xopCmp)(p1, p2); |
|---|
| | 803 | // the x86 D calling conv requires the this arg to be last here |
|---|
| | 804 | version(X86) |
|---|
| | 805 | c = (*xopCmp)(p2, p1); |
|---|
| | 806 | else |
|---|
| | 807 | c = (*xopCmp)(p1, p2); |
|---|
| 804 | 808 | else |
|---|
| 805 | 809 | // BUG: relies on the GC not moving objects |
|---|