|
@@ -250,6 +250,8 @@ unit cgx86;
|
|
|
|
|
|
procedure tcgx86.dec_fpu_stack;
|
|
procedure tcgx86.dec_fpu_stack;
|
|
begin
|
|
begin
|
|
|
|
+ if rgfpu.fpuvaroffset<=0 then
|
|
|
|
+ internalerror(200604201);
|
|
dec(rgfpu.fpuvaroffset);
|
|
dec(rgfpu.fpuvaroffset);
|
|
end;
|
|
end;
|
|
|
|
|
|
@@ -538,8 +540,6 @@ unit cgx86;
|
|
function tcgx86.get_darwin_call_stub(const s: string): tasmsymbol;
|
|
function tcgx86.get_darwin_call_stub(const s: string): tasmsymbol;
|
|
var
|
|
var
|
|
stubname: string;
|
|
stubname: string;
|
|
- href: treference;
|
|
|
|
- l1: tasmsymbol;
|
|
|
|
begin
|
|
begin
|
|
stubname := 'L'+s+'$stub';
|
|
stubname := 'L'+s+'$stub';
|
|
result := current_asmdata.getasmsymbol(stubname);
|
|
result := current_asmdata.getasmsymbol(stubname);
|