Browse Source

* added 'legacy' to comment before the WebAssembly exceptions instructions, because they've been declared 'legacy' now

Nikolay Nikolov 2 days ago
parent
commit
c21beefbb2
3 changed files with 3 additions and 3 deletions
  1. 1 1
      compiler/wasm32/cpubase.pas
  2. 1 1
      compiler/wasm32/itcpugas.pas
  3. 1 1
      compiler/wasm32/strinst.inc

+ 1 - 1
compiler/wasm32/cpubase.pas

@@ -99,7 +99,7 @@ uses
       a_i64_trunc_sat_f32_u,
       a_i64_trunc_sat_f64_s,
       a_i64_trunc_sat_f64_u,
-      // exceptions
+      // exceptions (legacy)
       a_try,a_catch,a_catch_all,a_delegate,a_throw,a_rethrow,a_end_try,
       // atomic memory accesses - load/store
       a_i32_atomic_load8_u, a_i32_atomic_load16_u, a_i32_atomic_load,

+ 1 - 1
compiler/wasm32/itcpugas.pas

@@ -98,7 +98,7 @@ interface
       'i64.trunc_sat_f32_u',
       'i64.trunc_sat_f64_s',
       'i64.trunc_sat_f64_u',
-      // exceptions
+      // exceptions (legacy)
       'try','catch','catch_all','delegate','throw','rethrow','end_try',
       // atomic memory accesses - load/store
       'i32.atomic.load8_u', 'i32.atomic.load16_u', 'i32.atomic.load',

+ 1 - 1
compiler/wasm32/strinst.inc

@@ -83,7 +83,7 @@
         'i64.trunc_sat_f32_u',
         'i64.trunc_sat_f64_s',
         'i64.trunc_sat_f64_u',
-        // exceptions
+        // exceptions (legacy)
         'try','catch','catch_all','delegate','throw','rethrow','end' {try},
         // atomic memory accesses - load/store
         'i32.atomic.load8_u', 'i32.atomic.load16_u', 'i32.atomic.load',