mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 22:00:38 +02:00
FpDebug: Support for the 4th argument when calling the function (Win64)
Related to a32ac8e665
This commit is contained in:
parent
811f3994dd
commit
5d7d828c63
@ -576,12 +576,17 @@ begin
|
|||||||
0: Result := RegisterLoc(0); // EAX
|
0: Result := RegisterLoc(0); // EAX
|
||||||
1: Result := RegisterLoc(2); // EDX
|
1: Result := RegisterLoc(2); // EDX
|
||||||
2: Result := RegisterLoc(1); // ECX
|
2: Result := RegisterLoc(1); // ECX
|
||||||
|
else
|
||||||
|
Result := UnInitializedLoc;
|
||||||
end;
|
end;
|
||||||
dm64: case AParamIdx of
|
dm64: case AParamIdx of
|
||||||
-1: Result := RegisterLoc(0); // RAX
|
-1: Result := RegisterLoc(0); // RAX
|
||||||
0: Result := RegisterLoc(2); // RCX
|
0: Result := RegisterLoc(2); // RCX
|
||||||
1: Result := RegisterLoc(1); // RDX
|
1: Result := RegisterLoc(1); // RDX
|
||||||
2: Result := RegisterLoc(8); // R8
|
2: Result := RegisterLoc(8); // R8
|
||||||
|
3: Result := RegisterLoc(9); // R9
|
||||||
|
else
|
||||||
|
Result := UnInitializedLoc;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user