Fetched from: https://codereview.qt-project.org/#/c/99784/

From e9d00f6279f9cfefc5a3144d5953bb7934aed418 Mon Sep 17 00:00:00 2001
From: Samuel Martin <s.martin49@gmail.com>
Date: Thu, 13 Nov 2014 15:29:38 +0100
Subject: [PATCH] Fix build failure with python3

Task-number: QTBUG-33692
Change-Id: I7a3bc6217110ce3a0bf5fee4b3b675dee39d8ac5

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
---
 Source/JavaScriptCore/disassembler/udis86/itab.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Source/JavaScriptCore/disassembler/udis86/itab.py b/Source/JavaScriptCore/disassembler/udis86/itab.py
index 3d50ad0..90bd3e0 100644
--- a/Source/JavaScriptCore/disassembler/udis86/itab.py
+++ b/Source/JavaScriptCore/disassembler/udis86/itab.py
@@ -314,7 +314,7 @@ class UdItabGenerator( ud_opcode.UdOpcodeTables ):
         self.ItabH.write( "\n" )
 
         self.ItabH.write("\n/* itab entry operand definitions */\n");
-        operands = self.OperandDict.keys()
+        operands = list( self.OperandDict.keys() )
         operands.sort()
         for o in operands:
             self.ItabH.write("#define O_%-7s { %-12s %-8s }\n" %
-- 
2.1.3

