mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	Only call verifySavedState if SaveRegAllocState is set AND debugging flag is on.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12277 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		| @@ -1355,11 +1355,12 @@ bool PhyRegAlloc::runOnFunction (Function &F) { | |||||||
|   colorIncomingArgs(); |   colorIncomingArgs(); | ||||||
|  |  | ||||||
|   // Save register allocation state for this function in a Constant. |   // Save register allocation state for this function in a Constant. | ||||||
|   if (SaveRegAllocState) |   if (SaveRegAllocState) { | ||||||
|     saveState(); |     saveState(); | ||||||
|     if (DEBUG_RA) { // Check our work. |     if (DEBUG_RA) { // Check our work. | ||||||
|       verifySavedState (); |       verifySavedState (); | ||||||
|     } |     } | ||||||
|  |   } | ||||||
|  |  | ||||||
|   // Now update the machine code with register names and add any additional |   // Now update the machine code with register names and add any additional | ||||||
|   // code inserted by the register allocator to the instruction stream. |   // code inserted by the register allocator to the instruction stream. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user