delete IProgramCounter

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2391 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
sjfink 2008-01-15 15:05:55 +00:00
parent 8e4275e01c
commit a99cfd6018
3 changed files with 8 additions and 35 deletions

View File

@ -136,3 +136,5 @@ ref
adonovan
malformed
analyses
monitorenter
monitorexit

View File

@ -1,34 +0,0 @@
/*******************************************************************************
* Copyright (c) 2002 - 2006 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.classLoader;
/**
* An interface for something that carries a location in bytecode
*
* @author sfink
*/
public interface IProgramCounter {
/**
* A constant indicating no source line number information is available.
*/
public static final int NO_SOURCE_LINE_NUMBER = -1;
/**
* Return the program counter (index into the method's bytecode)
* for this call site.
* @return the program counter (index into the method's bytecode)
* for this call site.
*
*/
public abstract int getProgramCounter();
}

View File

@ -18,8 +18,13 @@ import com.ibm.wala.util.debug.Assertions;
*
* @author sfink
*/
public class ProgramCounter implements IProgramCounter {
public class ProgramCounter {
/**
* A constant indicating no source line number information is available.
*/
public static final int NO_SOURCE_LINE_NUMBER = -1;
/**
* Index into bytecode describing this instruction
*/