public void popFrame() {
        if (!runStack.isEmpty() && framePointers.peek() < runStack.size()) {
            runStack.subList(framePointers.pop(), runStack.size() - 1).clear();
        } else {
            framePointers.pop();
        }
    }