Changeset 20893ab in OpenModelica for OMCompiler/Compiler/NBackEnd/NBVariable.mo


Ignore:
Timestamp:
2021-04-06T15:07:08+02:00 (3 years ago)
Author:
phannebohm <philip.hannebohm@…>
Children:
2d459fc8
Parents:
a94b02e4
Message:

Remove unused use of obsolete HashTable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OMCompiler/Compiler/NBackEnd/NBVariable.mo

    rc95dc3ca r20893ab  
    22* This file is part of OpenModelica.
    33*
    4 * Copyright (c) 1998-2020, Open Source Modelica Consortium (OSMC),
     4* Copyright (c) 1998-2021, Open Source Modelica Consortium (OSMC),
    55* c/o Linköpings universitet, Department of Computer and Information Science,
    66* SE-58183 Linköping, Sweden.
     
    4646  //NF Imports
    4747  import BackendExtension = NFBackendExtension;
    48   import BackendInfo = NFBackendExtension.BackendInfo;
    49   import Binding = NFBinding.Binding;
     48  import NFBackendExtension.BackendInfo;
     49  import NFBinding.Binding;
    5050  import Component = NFComponent;
    5151  import ComponentRef = NFComponentRef;
    5252  import Dimension = NFDimension;
    5353  import Expression = NFExpression;
    54   import InstNode = NFInstNode.InstNode;
     54  import NFInstNode.InstNode;
    5555  import Prefixes = NFPrefixes;
    5656  import Subscript = NFSubscript;
    5757  import Type = NFType;
    5858  import Variable = NFVariable;
    59   import VariableKind = NFBackendExtension.VariableKind;
     59  import NFBackendExtension.VariableKind;
    6060
    6161  // Backend Imports
     
    13131313    end getMarkedVars;
    13141314
    1315     function compress"O(n)
     1315    function compress "O(n)
    13161316      Reorders the elements in order to remove all the gaps.
    13171317      Be careful: This changes the indices of the elements.
     
    13381338            lastUsedIndex := lastUsedIndex-1;
    13391339          end while;
    1340           // udpate HashTable element
     1340          // udpate hash table element
    13411341          UnorderedMap.add(getVarName(moved_var), i, vars.map);
    13421342        end if;
Note: See TracChangeset for help on using the changeset viewer.