Skip to content
  • Rodrigo Mesquita's avatar
    Use symbol cache in internal interpreter too · 12931698
    Rodrigo Mesquita authored and Marge Bot's avatar Marge Bot committed
    This commit makes the symbol cache that was used by the external
    interpreter available for the internal interpreter too.
    
    This follows from the analysis in #23415 that suggests the internal
    interpreter could benefit from this cache too, and that there is no good
    reason not to have the cache for it too. It also makes it a bit more
    uniform to have the symbol cache range over both the internal and
    external interpreter.
    
    This commit also refactors the cache into a function which is used by
    both `lookupSymbol` and also by `lookupSymbolInDLL`, extending the
    caching logic to `lookupSymbolInDLL` too.
    12931698