org.jikesrvm.compilers.baseline.ia32
Class BaselineMagic.EarlyReferenceCheckDecorator

java.lang.Object
  extended by org.jikesrvm.compilers.baseline.ia32.BaselineMagic.MagicGenerator
      extended by org.jikesrvm.compilers.baseline.ia32.BaselineMagic.EarlyReferenceCheckDecorator
Enclosing class:
BaselineMagic

private static final class BaselineMagic.EarlyReferenceCheckDecorator
extends BaselineMagic.MagicGenerator

Add a reference check to a magic generator


Field Summary
private  BaselineMagic.MagicGenerator generator
           
private  Offset offset
           
 
Constructor Summary
BaselineMagic.EarlyReferenceCheckDecorator(Offset offset, BaselineMagic.MagicGenerator generator)
          Construct decorator that will add reference checks
 
Method Summary
(package private)  void generateMagic(ArchitectureSpecific.Assembler asm, MethodReference m, RVMMethod cm, Offset sd)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

offset

private final Offset offset

generator

private final BaselineMagic.MagicGenerator generator
Constructor Detail

BaselineMagic.EarlyReferenceCheckDecorator

BaselineMagic.EarlyReferenceCheckDecorator(Offset offset,
                                           BaselineMagic.MagicGenerator generator)
Construct decorator that will add reference checks

Parameters:
offset - on stack of reference to check
generator - the magic generator being decorated
Method Detail

generateMagic

void generateMagic(ArchitectureSpecific.Assembler asm,
                   MethodReference m,
                   RVMMethod cm,
                   Offset sd)
Specified by:
generateMagic in class BaselineMagic.MagicGenerator