package
Version:
v0.0.0-...-99d40e0
Opens a new window with list of versions in this module.
Published: Aug 30, 2020
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package codegen lowers Nebula IR to LLVM IR.
View Source
const (
DefaultMaxStackLen = 1024
DefaultMaxCallStackLen = 256
DefaultMaxHeapBound = 4096
)
Default configuration values.
EmitLLVMModule generates a LLVM IR module for the given program.
type Config struct {
MaxStackLen uint
MaxCallStackLen uint
MaxHeapBound uint
}
Config contains allocation size configuration for codegen.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.