class AdLint::Cc1::InterpPhase

Public Class Methods

new(phase_ctxt) click to toggle source
Calls superclass method AdLint::Cc1::CPhase::new
# File lib/adlint/cc1/phase.rb, line 100
def initialize(phase_ctxt)
  super(phase_ctxt, "int")
end

Private Instance Methods

do_execute(phase_ctxt, *) click to toggle source
# File lib/adlint/cc1/phase.rb, line 105
def do_execute(phase_ctxt, *)
  Program.new(phase_ctxt[:cc1_interpreter], phase_ctxt[:cc1_ast]).execute
  ValueDomain.clear_memos
ensure
  DebugUtil.dump_syntax_tree(phase_ctxt)
end