|
@@ -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 =
|
|
(
|
|
(
|