jruby/docs BETA
Navigation
org.jruby.ir.passes 15
C AddCallProtocolInstructions
C AddLocalVarLoadStoreInstructions
C AddMissingInitsPass
C BasicCompilerPassListener
C CompilerPass
I CompilerPassListener
I CompilerPassScheduler
C DeadCodeElimination
C DominatorTreeBuilder
C EnsureTempsAssigned
C LiveVariableAnalysis
C LocalOptimizationPass
C OptimizeDelegationPass
C OptimizeDynScopesPass
C UnboxingPass
OptimizeDynScopesPass — members 6+
C new()
C eliminate_local_vars(fic)
M execute(fic, data) Object
M invalidate(fic) boolean
M label() String
M short_label() String
from CompilerPass
M dependencies() CompilerPass>>
M equals(other) boolean
M hash_code() int
M previously_run(fic) Object
M run(fic, force) Object
M run(fic) Object

org.jruby.ir.passes.OptimizeDynScopesPass

class extends CompilerPass 6 members

Constructors

new

new ( )
Java: <init>()

Instance Methods

eliminate_local_vars

eliminate_local_vars ( FullInterpreterContext fic )
Java: eliminateLocalVars(org.jruby.ir.interpreter.FullInterpreterContext fic)

execute

Object execute ( FullInterpreterContext fic, Object[] data )
Java: execute(org.jruby.ir.interpreter.FullInterpreterContext fic, Object[] data)

invalidate

boolean invalidate ( FullInterpreterContext fic )
Java: invalidate(org.jruby.ir.interpreter.FullInterpreterContext fic)

label

String label ( )
Java: getLabel() · also: get_label

short_label

String short_label ( )
Java: getShortLabel() · also: get_short_label

Inherited

from CompilerPass

dependencies

List<Class<? extends CompilerPass>> dependencies ( )
Java: getDependencies() · also: get_dependencies

equals

boolean equals ( Object other )
Java: equals(Object other)

hash_code

int hash_code ( )
Java: hashCode()

previously_run

Object previously_run ( FullInterpreterContext fic )
Java: previouslyRun(org.jruby.ir.interpreter.FullInterpreterContext fic)

If this pass has been previous run, then return the data from that last run. Specific scopes can override this behavior.

Returns: data or null if it needs to be run

run

Object run ( FullInterpreterContext fic, boolean force )
Java: run(org.jruby.ir.interpreter.FullInterpreterContext fic, boolean force)

run

Object run ( FullInterpreterContext fic )
Java: run(org.jruby.ir.interpreter.FullInterpreterContext fic)