Class: CastOff::Compiler::SimpleIR::StandardGuard

Inherits:
GuardIR
  • Object
show all
Defined in:
lib/cast_off/compile/ir/guard_ir.rb

Constant Summary

Constants inherited from GuardIR

GuardIR::CLASS_CHECK_FUNCTION_TEMPLATE_COMPLEX, GuardIR::CLASS_CHECK_FUNCTION_TEMPLATE_SIMPLE, GuardIR::GUARD_CHECK_TEMPLATE, GuardIR::GUARD_DEOPTIMIZATION_TEMPLATE, GuardIR::GUARD_EXCEPTION_FUNCTION_TEMPLATE, GuardIR::GUARD_RECOMPILATION_FUNCTION_TEMPLATE, GuardIR::GUARD_TEMPLATE

Instance Attribute Summary

Attributes inherited from GuardIR

#guard_value, #result_variable, #values, #variables, #variables_without_result

Attributes inherited from IR

#alias, #insn

Instance Method Summary collapse

Methods inherited from GuardIR

#initialize, #mark, #propergate_boxed_value, #propergate_exact_class, #to_c, #type_propergation, #unboxing_prelude

Methods inherited from IR

#add_sampling_variable, #alive, #alive?, #dispatch_method?, #generate_guard, #get_definition, #get_definition_str, #get_usage, #get_variable, #initialize, #inlining_target?, #propergate_boxed_value, #propergate_guard_usage, #reset, #sampling_variable, #set_info, #standard_guard_target, #unboxing_prelude, #vanish, #vanish?

Methods included from Util

#bug, #dlog, #todo, #vlog

Constructor Details

This class inherits a constructor from CastOff::Compiler::SimpleIR::GuardIR

Instance Method Details

#to_debug_stringObject



407
408
409
# File 'lib/cast_off/compile/ir/guard_ir.rb', line 407

def to_debug_string()
  "StandardGuard(#{@guard_value.to_debug_string()})"
end