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?
|
Variable |
getRenamedVariable(Variable variable)
Return a new instance of a variable for the newly cloned scope.
|
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, getScope
public SimpleCloneInfo(IRScope scope, boolean isEnsureBlock, boolean cloneIPC)
public SimpleCloneInfo(IRScope scope, boolean isEnsureBlock)
public boolean isEnsureBlockCloneMode()
public boolean shouldCloneIPC()
public Variable getRenamedVariable(Variable variable)
CloneInfo
getRenamedVariable
in class CloneInfo
variable
- to be renamedprotected 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-2020 JRuby. All Rights Reserved.