mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 13:18:25 +02:00
- disallow enabling regvars for WebAssembly, because it's not supported, yet
This commit is contained in:
parent
b6527c6c03
commit
7ce2f95db0
@ -143,10 +143,10 @@ implementation
|
|||||||
end;
|
end;
|
||||||
if found then
|
if found then
|
||||||
begin
|
begin
|
||||||
{$ifdef llvm}
|
{$if defined(llvm) or defined(wasm32)}
|
||||||
{ -Ooregvar is not supported, llvm will take care of that }
|
{ -Ooregvar is not supported, llvm will take care of that }
|
||||||
if opt<>cs_opt_regvar then
|
if opt<>cs_opt_regvar then
|
||||||
{$endif llvm}
|
{$endif}
|
||||||
if doset then
|
if doset then
|
||||||
include(a,opt)
|
include(a,opt)
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user