mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-02 13:32:49 +02:00
Merge branch 'fpdebug-more-func-args-win64' into 'main'
FpDebug: Support for the 4th argument when calling the function (Win64) See merge request freepascal.org/lazarus/lazarus!32
This commit is contained in:
commit
7dfaef943f
@ -576,12 +576,17 @@ begin
|
||||
0: Result := RegisterLoc(0); // EAX
|
||||
1: Result := RegisterLoc(2); // EDX
|
||||
2: Result := RegisterLoc(1); // ECX
|
||||
else
|
||||
Result := UnInitializedLoc;
|
||||
end;
|
||||
dm64: case AParamIdx of
|
||||
-1: Result := RegisterLoc(0); // RAX
|
||||
0: Result := RegisterLoc(2); // RCX
|
||||
1: Result := RegisterLoc(1); // RDX
|
||||
2: Result := RegisterLoc(8); // R8
|
||||
3: Result := RegisterLoc(9); // R9
|
||||
else
|
||||
Result := UnInitializedLoc;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user