From 62d9a485f6c171764fc4ccee9c0216cf282ea5a9 Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Tue, 13 Feb 2018 12:45:53 +0100 Subject: [PATCH] Remove cached keyword. --- src/jit.jl | 3 +-- test/base.jl | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/jit.jl b/src/jit.jl index 8a8e757a..9c1b0aca 100644 --- a/src/jit.jl +++ b/src/jit.jl @@ -73,8 +73,7 @@ function irgen(@nospecialize(f), @nospecialize(tt)) ref = convert(LLVM.API.LLVMModuleRef, ref) push!(dependencies, LLVM.Module(ref)) end - params = Base.CodegenParams(cached=false, - track_allocations=false, + params = Base.CodegenParams(track_allocations=false, code_coverage=false, static_alloc=false, prefer_specsig=true, diff --git a/test/base.jl b/test/base.jl index bd067538..ae6babcf 100644 --- a/test/base.jl +++ b/test/base.jl @@ -19,7 +19,7 @@ end if VERSION < v"0.7.0-DEV.1669" hook_module_activation(ref::Ptr{Cvoid}) = nothing hooks = Base.CodegenHooks(module_activation=hook_module_activation) - params = Base.CodegenParams(cached=false, runtime=false, hooks=hooks) + params = Base.CodegenParams(runtime=false, hooks=hooks) _dump_function(post17057_parent, Tuple{Ptr{Int64}}, #=native=#false, #=wrapper=#false, #=strip=#false, #=dump_module=#true, #=syntax=#:att, #=optimize=#false, @@ -27,7 +27,7 @@ if VERSION < v"0.7.0-DEV.1669" end # bug 2: default module activation segfaulted on NULL child function if cached=false -params = Base.CodegenParams(cached=false) +params = Base.CodegenParams() _dump_function(post17057_parent, Tuple{Ptr{Int64}}, #=native=#false, #=wrapper=#false, #=strip=#false, #=dump_module=#true, #=syntax=#:att, #=optimize=#false,