Fix tests
This commit is contained in:
		
							parent
							
								
									4df5a80c73
								
							
						
					
					
						commit
						bc588cc04f
					
				@ -111,8 +111,10 @@ module Hardware
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
      %w[aes altivec avx avx2 lm ssse3 sse4_2].each do |flag|
 | 
			
		||||
        T.bind(self, T.class_of(Hardware::CPU))
 | 
			
		||||
        define_method("#{flag}?") { flags.include? flag }
 | 
			
		||||
        define_method("#{flag}?") do
 | 
			
		||||
          T.bind(self, T.class_of(Hardware::CPU))
 | 
			
		||||
          flags.include? flag
 | 
			
		||||
        end
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
      def sse3?
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user