From 1e94313d8722bac51630724607644ba462d740be Mon Sep 17 00:00:00 2001 From: Loris Leiva Date: Wed, 3 Jan 2024 14:55:31 +0000 Subject: [PATCH] Update getDefinedTypeHistogramVisitor.ts --- src/visitors/getDefinedTypeHistogramVisitor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/visitors/getDefinedTypeHistogramVisitor.ts b/src/visitors/getDefinedTypeHistogramVisitor.ts index 1db4b0db9..57130c975 100644 --- a/src/visitors/getDefinedTypeHistogramVisitor.ts +++ b/src/visitors/getDefinedTypeHistogramVisitor.ts @@ -104,7 +104,7 @@ export function getDefinedTypeHistogramVisitor(): Visitor inDefinedTypes: Number(mode === 'definedType'), inInstructionArgs: Number(mode === 'instruction'), directlyAsInstructionArgs: Number( - mode === 'instruction' && stackLevel <= 2 + mode === 'instruction' && stackLevel <= 1 ), }, };