From 239ae0f0cd39cc082dcffd61619c279940055e5b Mon Sep 17 00:00:00 2001 From: Patrick Stevens <3138005+Smaug123@users.noreply.github.com> Date: Sun, 24 Aug 2025 20:44:18 +0100 Subject: [PATCH] Implement dereferencing more (#117) --- WoofWare.PawPrint/NullaryIlOp.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WoofWare.PawPrint/NullaryIlOp.fs b/WoofWare.PawPrint/NullaryIlOp.fs index 76f9b09..908e4c3 100644 --- a/WoofWare.PawPrint/NullaryIlOp.fs +++ b/WoofWare.PawPrint/NullaryIlOp.fs @@ -52,7 +52,7 @@ module NullaryIlOp = | EvalStackValue.NativeInt nativeIntSource -> failwith $"TODO: Native int pointer dereferencing not implemented for {targetType}" | EvalStackValue.ObjectRef managedHeapAddress -> - failwith "TODO: Object reference dereferencing not implemented" + IlMachineState.dereferencePointer state (ManagedPointerSource.Heap managedHeapAddress) | other -> failwith $"Unexpected eval stack value for Ldind operation: {other}" let loadedValue = loadedValue |> EvalStackValue.ofCliType