scale.backend
Class LineMarker

java.lang.Object
  extended by scale.backend.Instruction
      extended by scale.backend.Marker
          extended by scale.backend.LineMarker
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
AlphaLineMarker, MipsLineMarker, PPCLineMarker, SparcLineMarker, Trips2LineMarker

public class LineMarker
extends Marker

This class is used to associate source line numbers with instructions.

$Id: LineMarker.java,v 1.8 2006-09-10 19:56:26 burrill Exp $

Copyright 2005 by the Scale Compiler Group,
Department of Computer Science
University of Massachusetts,
Amherst MA. 01003, USA
All Rights Reserved.


Constructor Summary
LineMarker(java.lang.Object marker, int lineNumber)
          Mark the position corresponding to a source program line.
 
Method Summary
 java.lang.Object getMarker()
          Return the other associated information.
 int lineNumber()
          Return the line number.
 java.lang.String toString()
           
 
Methods inherited from class scale.backend.Marker
assembler, getExecutionCycles, getOpcode, independent, instructionSize, isMarker, nullify, remapDestRegister, remapRegisters, remapSrcRegister, specifyRegisterUsage
 
Methods inherited from class scale.backend.Instruction
canBeDeleted, clone, copy, defs, ehash, getBBID, getCopyDest, getCopySrc, getDestRegister, getFunctionalUnit, getLoopNumber, getNext, getPredicate, getPredicates, getSrcRegisters, getTag, isBranch, isCopy, isLabel, isLoad, isMandatory, isPhi, isPredicated, isPredicatedOnTrue, isPrefetch, isSpillInstruction, isSpillLoadPoint, isSpillStorePoint, isStore, markSpillInstruction, mods, nullified, numPredicates, removePredicates, setBBID, setLoopNumber, setMandatory, setNext, setPredicate, setPredicate, setPredicatedOnTrue, setPredicates, setsSpecialReg, setTag, specifyNotSpillLoadPoint, specifySpillStorePoint, uses
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LineMarker

public LineMarker(java.lang.Object marker,
                  int lineNumber)
Mark the position corresponding to a source program line.

Parameters:
marker - is other associated information
lineNumber - is the source line number
Method Detail

lineNumber

public int lineNumber()
Return the line number.


getMarker

public java.lang.Object getMarker()
Return the other associated information.


toString

public java.lang.String toString()
Overrides:
toString in class Marker