public class SimpleCloneInfo extends CloneInfo
labelRenameMap, scope, variableRenameMap
Constructor and Description |
---|
SimpleCloneInfo(IRScope scope,
boolean isEnsureBlock) |
SimpleCloneInfo(IRScope scope,
boolean isEnsureBlock,
boolean cloneIPC) |
Modifier and Type | Method and Description |
---|---|
protected Label |
getRenamedLabelSimple(Label l) |
Variable |
getRenamedSelfVariable(Variable self)
How do we rename %self?
|
protected Variable |
getRenamedVariableSimple(Variable v)
How are typical variables renamed if they were not yet found in the variable renaming map?
|
boolean |
isEnsureBlockCloneMode() |
void |
renameLabel(Label l) |
boolean |
shouldCloneIPC() |
cloneForCloningClosure, getRenamedLabel, getRenamedVariable, getScope
public SimpleCloneInfo(IRScope scope, boolean isEnsureBlock, boolean cloneIPC)
public SimpleCloneInfo(IRScope scope, boolean isEnsureBlock)
public boolean isEnsureBlockCloneMode()
public boolean shouldCloneIPC()
protected Label getRenamedLabelSimple(Label l)
getRenamedLabelSimple
in class CloneInfo
public Variable getRenamedSelfVariable(Variable self)
CloneInfo
getRenamedSelfVariable
in class CloneInfo
self
- to be renamedprotected Variable getRenamedVariableSimple(Variable v)
CloneInfo
getRenamedVariableSimple
in class CloneInfo
v
- to be renamedpublic void renameLabel(Label l)
Copyright © 2001-2018 JRuby. All Rights Reserved.