From 8a9a3706ffad58bdbe69efce3b58749038341e9d Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Fri, 11 Jun 2004 03:06:43 +0000 Subject: Revert an unneeded interface change to Instruction.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14137 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Bytecode/Reader/Analyzer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Bytecode/Reader/Analyzer.cpp') diff --git a/lib/Bytecode/Reader/Analyzer.cpp b/lib/Bytecode/Reader/Analyzer.cpp index 3500ed0..d8e7595 100644 --- a/lib/Bytecode/Reader/Analyzer.cpp +++ b/lib/Bytecode/Reader/Analyzer.cpp @@ -191,7 +191,7 @@ public: bca.numOperands += Operands.size(); if ( currFunc ) { currFunc->numInstructions++; - if ( Instruction::isPhiNode(Opcode) ) currFunc->numPhis++; + if ( Opcode == Instruction::PHI ) currFunc->numPhis++; } return Instruction::isTerminator(Opcode); } -- cgit v1.1