import * as llvm from "llvm-node" ; import { LLVMGenerator } from "./codegen/generator" ; export function getSize ( type , generator ) { return generator . module . dataLayout . getTypeStoreSize ( type ) ; }