33 lines
939 B
Java
33 lines
939 B
Java
/*******************************************************************************
|
|
* Copyright (c) 2013 IBM Corporation.
|
|
* All rights reserved. This program and the accompanying materials
|
|
* are made available under the terms of the Eclipse Public License v1.0
|
|
* which accompanies this distribution, and is available at
|
|
* http://www.eclipse.org/legal/epl-v10.html
|
|
*
|
|
* Contributors:
|
|
* IBM Corporation - initial API and implementation
|
|
*******************************************************************************/
|
|
package com.ibm.wala.shrikeBT;
|
|
|
|
public interface IConditionalBranchInstruction extends IInstruction {
|
|
|
|
public interface IOperator {
|
|
}
|
|
|
|
public enum Operator implements IConditionalBranchInstruction.IOperator {
|
|
EQ, NE, LT, GE, GT, LE;
|
|
|
|
@Override
|
|
public String toString() {
|
|
return super.toString().toLowerCase();
|
|
}
|
|
}
|
|
|
|
int getTarget();
|
|
|
|
IOperator getOperator();
|
|
|
|
String getType();
|
|
}
|