aboutsummaryrefslogtreecommitdiffstats
path: root/src/3rdparty/masm/stubs/Options.cpp
blob: 639e0655db766bd59b87d0f5cef89221e9ed345b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only

#include "config.h"
#include "Options.h"

#include <QByteArray>

namespace JSC {

bool Options::showDisassembly()
{
    static const bool showCode = qEnvironmentVariableIsSet("QV4_SHOW_ASM");
    return showCode;
}

}