Browse Source

[PATCH 15/83] updating parameters sorting for wasm. Goes left-to-right

From e8c19baf75abfeeed8ea333df70be63b08b76ff2 Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <[email protected]>
Date: Wed, 4 Sep 2019 14:54:41 -0400

git-svn-id: branches/wasm@45892 -
nickysn 5 years ago
parent
commit
5e60217a88
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/ncal.pas

+ 1 - 1
compiler/ncal.pas

@@ -4154,7 +4154,7 @@ implementation
                                  hp.parasym.paraloc[callerside].location^.reference.offset)) or
                                (paramanager.use_fixed_stack and
                                 (node_complexity(hpcurr)<node_complexity(hp))) then
-{$elseif defined(jvm)}
+{$elseif defined(jvm) or defined(wasm)}
                             if (hpcurr.parasym.paraloc[callerside].location^.reference.offset<hp.parasym.paraloc[callerside].location^.reference.offset) then
 {$else jvm}
                             if (node_complexity(hpcurr)<node_complexity(hp)) then