One more debug-build assert that addr_size is
a realistic value. llvm-svn: 252233
This commit is contained in:
		
							parent
							
								
									13ca142fdb
								
							
						
					
					
						commit
						519dc14603
					
				| 
						 | 
				
			
			@ -1152,6 +1152,9 @@ public:
 | 
			
		|||
    void
 | 
			
		||||
    SetAddressByteSize (uint32_t addr_size)
 | 
			
		||||
    {
 | 
			
		||||
#ifdef LLDB_CONFIGURATION_DEBUG
 | 
			
		||||
        assert (addr_size == 4 || addr_size == 8);
 | 
			
		||||
#endif
 | 
			
		||||
        m_addr_size = addr_size;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue