mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	Fix RegScavenger::forward() to work on basic blocks containing exactly
one instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61236 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		| @@ -98,6 +98,7 @@ public: | ||||
|   /// forward / backward - Move the internal MBB iterator and update register | ||||
|   /// states until it has processed the specific iterator. | ||||
|   void forward(MachineBasicBlock::iterator I) { | ||||
|     if (!Tracking && MBB->begin() != I) forward(); | ||||
|     while (MBBI != I) forward(); | ||||
|   } | ||||
|   void backward(MachineBasicBlock::iterator I) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user