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