+ override and implement WriteAsmList

git-svn-id: branches/wasm@46497 -
This commit is contained in:
nickysn 2020-08-19 16:25:17 +00:00
parent 6a89e2c1fa
commit 77dea11cdd

View File

@ -29,6 +29,7 @@ interface
uses uses
systems, systems,
aasmdata,
assemble; assemble;
type type
@ -36,10 +37,26 @@ interface
{ TLLVMMachineCodePlaygroundAssembler } { TLLVMMachineCodePlaygroundAssembler }
TLLVMMachineCodePlaygroundAssembler=class(texternalassembler) TLLVMMachineCodePlaygroundAssembler=class(texternalassembler)
public
procedure WriteAsmList;override;
end; end;
implementation implementation
{ TLLVMMachineCodePlaygroundAssembler }
procedure TLLVMMachineCodePlaygroundAssembler.WriteAsmList;
var
hal: TAsmListType;
begin
for hal:=low(TasmlistType) to high(TasmlistType) do
begin
writer.AsmWriteLn(asminfo^.comment+'Begin asmlist '+AsmListTypeStr[hal]);
writetree(current_asmdata.asmlists[hal]);
writer.AsmWriteLn(asminfo^.comment+'End asmlist '+AsmListTypeStr[hal]);
end;
end;
const const
as_wasm32_llvm_mc_info : tasminfo = as_wasm32_llvm_mc_info : tasminfo =
( (