Class: TRuby::LegacyCompiler

Inherits:
Compiler show all
Defined in:
lib/t_ruby/compiler.rb

Overview

Legacy Compiler for backward compatibility (no IR)

Instance Attribute Summary

Attributes inherited from Compiler

#declaration_loader, #optimizer, #use_ir

Instance Method Summary collapse

Methods inherited from Compiler

#add_declaration_path, #compile, #compile_from_ir, #compile_to_ir, #load_declaration, #optimization_stats

Constructor Details

#initialize(config) ⇒ LegacyCompiler

Returns a new instance of LegacyCompiler.



295
296
297
# File 'lib/t_ruby/compiler.rb', line 295

def initialize(config)
  super(config, use_ir: false, optimize: false)
end