aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_opcodes_h.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/nir/nir_opcodes_h.py')
-rw-r--r--src/compiler/nir/nir_opcodes_h.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_opcodes_h.py b/src/compiler/nir/nir_opcodes_h.py
index 8ad17c84d49..6b4e2fe052e 100644
--- a/src/compiler/nir/nir_opcodes_h.py
+++ b/src/compiler/nir/nir_opcodes_h.py
@@ -29,7 +29,7 @@ template = """\
#ifndef _NIR_OPCODES_
#define _NIR_OPCODES_
-<% opcode_names = sorted(opcodes.iterkeys()) %>
+<% opcode_names = sorted(opcodes.keys()) %>
typedef enum {
% for name in opcode_names: