From 87e928638a535b2fd707f6d1b6a9d56a74fa009c Mon Sep 17 00:00:00 2001 From: Mike J Innes Date: Mon, 26 Dec 2016 14:48:24 +0000 Subject: [PATCH] remove expand --- src/compiler/interp.jl | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/compiler/interp.jl b/src/compiler/interp.jl index f271b3c2..05572150 100644 --- a/src/compiler/interp.jl +++ b/src/compiler/interp.jl @@ -24,12 +24,3 @@ function imap(cb, ctx, ::typeof(map), f, xs...) end imap(f, args...) = f(args...) - -function interp(ctx, model, xs...) - g = graph(model) - g == nothing && return vertex(model, map(constant, interpv(ctx, xs))...) - interpret(ctx, g, xs...) -end - -expand(graph, xs...) = - interp(Context(mux(ilambda, imap, iconst, ituple, interp)), graph, xs...)