forked from OSchip/llvm-project
				
			Move Pass into anonymous namespace. NFC.
llvm-svn: 237526
This commit is contained in:
		
							parent
							
								
									b4569fb51f
								
							
						
					
					
						commit
						d9f06c8b87
					
				| 
						 | 
				
			
			@ -74,6 +74,7 @@ static cl::opt<unsigned> SpecExecMaxNotHoisted(
 | 
			
		|||
             "number of instructions that would not be speculatively executed "
 | 
			
		||||
             "exceeds this limit."));
 | 
			
		||||
 | 
			
		||||
namespace {
 | 
			
		||||
class SpeculativeExecution : public FunctionPass {
 | 
			
		||||
 public:
 | 
			
		||||
  static char ID;
 | 
			
		||||
| 
						 | 
				
			
			@ -88,6 +89,7 @@ class SpeculativeExecution : public FunctionPass {
 | 
			
		|||
 | 
			
		||||
  const TargetTransformInfo *TTI = nullptr;
 | 
			
		||||
};
 | 
			
		||||
} // namespace
 | 
			
		||||
 | 
			
		||||
char SpeculativeExecution::ID = 0;
 | 
			
		||||
INITIALIZE_PASS_BEGIN(SpeculativeExecution, "speculative-execution",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue