public class InstrumentMethodHelper extends Object
Modifier and Type | Method and Description |
---|---|
protected static void |
emitConst(org.objectweb.asm.MethodVisitor mv,
int value) |
protected static void |
emitPopMethod(org.objectweb.asm.MethodVisitor mv,
int stackVarIndex) |
protected static void |
emitRestoreState(org.objectweb.asm.MethodVisitor mv,
int codeBlockIndex,
edu.rice.hj.continuation.instrument.FrameInfo frameInfo,
org.objectweb.asm.tree.analysis.Frame[] frames,
int stackVarIndex,
int firstLocal) |
protected static void |
emitRestoreValue(org.objectweb.asm.MethodVisitor mv,
org.objectweb.asm.tree.analysis.BasicValue value,
int localVarIndex,
int stackVarIndex,
int stackTargetIndex) |
protected static void |
emitStoreState(org.objectweb.asm.MethodVisitor mv,
int codeBlockIndex,
edu.rice.hj.continuation.instrument.FrameInfo frameInfo,
org.objectweb.asm.tree.analysis.Frame[] frames,
int stackVarIndex,
int firstLocal,
MethodDatabase db) |
protected static void |
emitStoreValue(org.objectweb.asm.MethodVisitor mv,
org.objectweb.asm.tree.analysis.BasicValue value,
int localVarIndex,
int stackVarIndex,
int stackTargetIndex) |
protected static void |
inlineStackGetStackMethod(org.objectweb.asm.MethodVisitor mv) |
protected static void |
inlineStackNextEntryMethod(org.objectweb.asm.MethodVisitor mv) |
protected static boolean |
isNewValue(org.objectweb.asm.tree.analysis.Value value,
boolean dupped) |
protected static boolean |
isNullType(org.objectweb.asm.tree.analysis.BasicValue value) |
protected static boolean |
isOmitted(org.objectweb.asm.tree.analysis.BasicValue value) |
protected static void |
loadStackExceptionInstance(org.objectweb.asm.MethodVisitor mv) |
protected static void emitConst(org.objectweb.asm.MethodVisitor mv, int value)
protected static boolean isNullType(org.objectweb.asm.tree.analysis.BasicValue value)
protected static boolean isOmitted(org.objectweb.asm.tree.analysis.BasicValue value)
protected static boolean isNewValue(org.objectweb.asm.tree.analysis.Value value, boolean dupped)
protected static void emitPopMethod(org.objectweb.asm.MethodVisitor mv, int stackVarIndex)
protected static void emitStoreState(org.objectweb.asm.MethodVisitor mv, int codeBlockIndex, edu.rice.hj.continuation.instrument.FrameInfo frameInfo, org.objectweb.asm.tree.analysis.Frame[] frames, int stackVarIndex, int firstLocal, MethodDatabase db)
protected static void emitRestoreState(org.objectweb.asm.MethodVisitor mv, int codeBlockIndex, edu.rice.hj.continuation.instrument.FrameInfo frameInfo, org.objectweb.asm.tree.analysis.Frame[] frames, int stackVarIndex, int firstLocal)
protected static void emitStoreValue(org.objectweb.asm.MethodVisitor mv, org.objectweb.asm.tree.analysis.BasicValue value, int localVarIndex, int stackVarIndex, int stackTargetIndex) throws InternalError, IndexOutOfBoundsException
protected static void emitRestoreValue(org.objectweb.asm.MethodVisitor mv, org.objectweb.asm.tree.analysis.BasicValue value, int localVarIndex, int stackVarIndex, int stackTargetIndex)
protected static void inlineStackNextEntryMethod(org.objectweb.asm.MethodVisitor mv)
protected static void inlineStackGetStackMethod(org.objectweb.asm.MethodVisitor mv)
protected static void loadStackExceptionInstance(org.objectweb.asm.MethodVisitor mv)
Copyright © 2015 Rice University - Department of Computer Science. All rights reserved.