| 1 | // Copyright (C) 2016 The Qt Company Ltd. |
|---|---|
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
| 3 | |
| 4 | #include "config.h" |
| 5 | #include "Options.h" |
| 6 | |
| 7 | #include <QByteArray> |
| 8 | |
| 9 | namespace JSC { |
| 10 | |
| 11 | bool Options::showDisassembly() |
| 12 | { |
| 13 | static const bool showCode = qEnvironmentVariableIsSet(varName: "QV4_SHOW_ASM"); |
| 14 | return showCode; |
| 15 | } |
| 16 | |
| 17 | } |
| 18 |
