From 9194779ef37187b1b38d73099747459f9f5e745c Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Thu, 26 Sep 2013 10:25:22 +0200 Subject: V4: changed environment variable SHOW_CODE. Use QV4_SHOW_ASM for the generated assembly from the JIT, and use QV4_SHOW_IR to get dumps of the IR. Change-Id: Id85d3d6c87b47088c312475a7c737d54c58c7791 Reviewed-by: Simon Hausmann Reviewed-by: Lars Knoll --- src/qml/compiler/qv4ssa.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/compiler/qv4ssa.cpp') diff --git a/src/qml/compiler/qv4ssa.cpp b/src/qml/compiler/qv4ssa.cpp index 13820851e7..7054d5140c 100644 --- a/src/qml/compiler/qv4ssa.cpp +++ b/src/qml/compiler/qv4ssa.cpp @@ -75,7 +75,7 @@ QTextStream qout(stdout, QIODevice::WriteOnly); void showMeTheCode(Function *function) { - static bool showCode = !qgetenv("SHOW_CODE").isNull(); + static bool showCode = !qgetenv("QV4_SHOW_IR").isNull(); if (showCode) { QVector code; QHash leader; -- cgit v1.2.3