Преглед изворни кода

* fixed the textual representation of the ref.null instruction for llvm-mc

Nikolay Nikolov пре 2 година
родитељ
комит
e555eddeda
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 1 1
      compiler/wasm32/itcpugas.pas
  2. 1 1
      compiler/wasm32/strinst.inc

+ 1 - 1
compiler/wasm32/itcpugas.pas

@@ -86,7 +86,7 @@ interface
       // bulk memory operations
       'memory.copy 0,0', 'memory.fill 0', 'memory.init', 'data.drop',
       // reference instructions
-      'ref.null func', 'ref.null extern', 'ref.is_null', 'ref.func',
+      'ref.null_func', 'ref.null_extern', 'ref.is_null', 'ref.func',
       // table instructions
       'table.get', 'table.set', 'table.size', 'table.grow', 'table.fill', 'table.copy', 'table.init', 'elem.drop',
       // saturating truncation instructions

+ 1 - 1
compiler/wasm32/strinst.inc

@@ -70,7 +70,7 @@
         // bulk memory operations
         'memory.copy', 'memory.fill', 'memory.init', 'data.drop',
         // reference instructions
-        'ref.null func', 'ref.null extern', 'ref.is_null', 'ref.func',
+        'ref.null_func', 'ref.null_extern', 'ref.is_null', 'ref.func',
         // table instructions
         'table.get', 'table.set', 'table.size', 'table.grow', 'table.fill', 'table.copy', 'table.init', 'elem.drop',
         // saturating truncation instructions