summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-01-11 23:10:32 +0000
committerZachary Turner <zturner@google.com>2016-01-11 23:10:32 +0000
commit00cdc77ac913c9b786d54567863ba2f4e3cfd1c5 (patch)
tree7cca01e9477422dce7057056d49ef0cfad3bc7f0 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
parent9eaa4893ef994c91c28ced7d8113d7317258186f (diff)
downloadbcm5719-llvm-00cdc77ac913c9b786d54567863ba2f4e3cfd1c5.tar.gz
bcm5719-llvm-00cdc77ac913c9b786d54567863ba2f4e3cfd1c5.zip
Don't define Bytes and String to be the same number on Py2.
This is causing issues with case labels having the same value. llvm-svn: 257409
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
-rw-r--r--lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
index 0720f4670c6..06264b66c28 100644
--- a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
+++ b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
@@ -74,11 +74,7 @@ enum class PyObjectType
Dictionary,
List,
String,
-#if PY_MAJOR_VERSION >= 3
Bytes,
-#else
- Bytes = String,
-#endif
Module,
Callable,
Tuple,
OpenPOWER on IntegriCloud