Created
          August 26, 2012 14:14 
        
      - 
      
- 
        Save xeno-by/3479963 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import Flags._ | |
| import base.Attachments | |
| import scala.annotation.tailrec | |
| trait Symbols extends api.Symbols { self: SymbolTable => | |
| import definitions._ | |
| import SymbolsStats._ | |
| protected var ids = 0 | |
| val emptySymbolArray = new Array[Symbol](0) | |
| protected def nextId() = { ids += 1; ids } | |
| /** Used for deciding in the IDE whether we can interrupt the compiler */ | |
| //protected var activeLocks = 0 | |
| /** Used for debugging only */ | |
| //protected var lockedSyms = collection.immutable.Set[Symbol]() | |
| /** Used to keep track of the recursion depth on locked symbols */ | |
| private var recursionTable = immutable.Map.e | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment