diff options
author | Alp Toker <alp@nuanti.com> | 2014-01-11 13:27:28 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-01-11 13:27:28 +0000 |
commit | f0a245944eca82327d5c939a9541cedc81230e47 (patch) | |
tree | b24c18db2316bf0ced8ac1d53068b8b65c26f6f1 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h | |
parent | 258dbb3b12af12293926c05a78ef2850d3f9e8fb (diff) | |
download | bcm5719-llvm-f0a245944eca82327d5c939a9541cedc81230e47.tar.gz bcm5719-llvm-f0a245944eca82327d5c939a9541cedc81230e47.zip |
lit: execfile() isn't present in Python 3.3
On the other hand, exec(compile()) doesn't work in older Python versions in the
2.x series.
This commit introduces exec(compile()) with a fallback to plain exec(). That'll
hopefully hit the sweet spot in terms of version support.
Followup to r198766 which added enhanced source locations for lit cfg parsing.
llvm-svn: 199006
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h')
0 files changed, 0 insertions, 0 deletions