From 6cd6d52e0e227d300e7249cf7854c12b2fd27020 Mon Sep 17 00:00:00 2001 From: Valentin Churavy Date: Wed, 12 Jun 2024 17:52:25 -0400 Subject: [PATCH] fixup! Apply suggestions from code review --- src/compiler/interpreter.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/interpreter.jl b/src/compiler/interpreter.jl index a92de83ba3..95ff12a422 100644 --- a/src/compiler/interpreter.jl +++ b/src/compiler/interpreter.jl @@ -65,7 +65,7 @@ Core.Compiler.get_inference_cache(interp::EnzymeInterpreter) = interp.local_cach @static if HAS_INTEGRATED_CACHE Core.Compiler.cache_owner(interp::EnzymeInterpreter) = interp.token else - Core.Compiler.code_cache(interp::EnzymeInterpreter) = WorldView(interp.cache, interp.world) + Core.Compiler.code_cache(interp::EnzymeInterpreter) = WorldView(interp.code_cache, interp.world) end # No need to do any locking since we're not putting our results into the runtime cache