浏览代码

[PATCH 21/83] adding assembly instruction to support import/export for wasm

From 4c145e3440d327b1226472c65168da8d3e737a11 Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <[email protected]>
Date: Wed, 11 Sep 2019 14:55:06 -0400

git-svn-id: branches/wasm@45898 -
nickysn 5 年之前
父节点
当前提交
952f2db4a7
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      compiler/aasmtai.pas

+ 6 - 0
compiler/aasmtai.pas

@@ -90,6 +90,9 @@ interface
           ait_llvmmetadatanode, (* llvm metadata node: !id = !{type value, ...} *)
           ait_llvmmetadatareftypedconst, { reference to metadata inside a metadata constant }
           ait_llvmmetadatarefoperand, { llvm metadata referece: !metadataname !id }
+{$endif}
+{$ifdef wasm}
+          ait_importexport,
 {$endif}
           { SEH directives used in ARM,MIPS and x86_64 COFF targets }
           ait_seh_directive,
@@ -228,6 +231,9 @@ interface
           'llvmmetadata',
           'llvmmetadatareftc',
           'llvmmetadatarefop',
+{$endif}
+{$ifdef wasm}
+          'importexport',
 {$endif}
           'cfi',
           'seh_directive'