From 2d7b7f2f50d5c9ca8a71a88faba51503c15bb051 Mon Sep 17 00:00:00 2001 From: Volker Berlin Date: Sun, 2 May 2021 11:46:07 +0200 Subject: [PATCH] TODO --- src/de/inetsoftware/jwebassembly/module/StackInspector.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/de/inetsoftware/jwebassembly/module/StackInspector.java b/src/de/inetsoftware/jwebassembly/module/StackInspector.java index 89b6bc1..9d48936 100644 --- a/src/de/inetsoftware/jwebassembly/module/StackInspector.java +++ b/src/de/inetsoftware/jwebassembly/module/StackInspector.java @@ -1,5 +1,5 @@ /* - Copyright 2020 Volker Berlin (i-net software) + Copyright 2020 - 2021 Volker Berlin (i-net software) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -72,6 +72,8 @@ class StackInspector { } i--; // we are on the right position but the loop increment } + } else { + // TODO poCount == 1 means an ternary operator (Question mark operator). We should return the operator with the lowest level but not null (ValueType.eqref). } } }