فهرست منبع

* write the unsupported parameter type in thlcgwam.g_procdef, when compiler is compiled with EXTDEBUG

git-svn-id: branches/wasm@47183 -
nickysn 4 سال پیش
والد
کامیت
99482051a8
1فایلهای تغییر یافته به همراه7 افزوده شده و 2 حذف شده
  1. 7 2
      compiler/wasm32/hlcgcpu.pas

+ 7 - 2
compiler/wasm32/hlcgcpu.pas

@@ -2104,8 +2104,13 @@ implementation
                   OS_F64:
                   OS_F64:
                     functype.add_param(wbt_f64);
                     functype.add_param(wbt_f64);
                 else
                 else
-                  // unsupported calleeside parameter type
-                  Internalerror(2019093001);
+                  begin
+{$ifdef EXTDEBUG}
+                    Writeln('Unsupported caller side parameter type: ', prm.paraloc[callerside].Size);
+{$endif EXTDEBUG}
+                    // unsupported calleeside parameter type
+                    Internalerror(2019093001);
+                  end;
                 end;
                 end;
               end;
               end;
           end;
           end;