diff --git a/test/native_tests.jl b/test/native_tests.jl index 57723738..868e80e8 100644 --- a/test/native_tests.jl +++ b/test/native_tests.jl @@ -474,11 +474,7 @@ end mod = @eval module $(gensym()) using ..GPUCompiler - @static if isdefined(Base.Experimental, Symbol("@overlay")) Base.Experimental.@MethodTable(method_table) - else - const method_table = nothing - end kernel() = child() child() = 0 diff --git a/test/native_testsetup.jl b/test/native_testsetup.jl index 25acc85a..973b300d 100644 --- a/test/native_testsetup.jl +++ b/test/native_testsetup.jl @@ -8,11 +8,7 @@ using GPUCompiler include("runtime.jl") # local method table for device functions -@static if isdefined(Base.Experimental, Symbol("@overlay")) Base.Experimental.@MethodTable(test_method_table) -else -const test_method_table = nothing -end struct CompilerParams <: AbstractCompilerParams entry_safepoint::Bool