summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-07-21 09:58:22 +0200
committerNikita Popov <npopov@redhat.com>2023-07-21 10:05:52 +0200
commit218f97578b26f7a89f7f8ed0748c31ef0181f80a (patch)
tree91087d0045bca08558e406b59c0b525264502d54 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent8da62b865fe5bfe36af273954a29a63a78bfd7b9 (diff)
[IR] Accept non-Instruction in BinaryOperator::CreateWithCopiedFlags() (NFC)
The underlying copyIRFlags() API accepts arbitrary values and can work with flags on operators (i.e. instructions or constant expressions). Remove the arbitrary limitation that the CreateWithCopiedFlags() API imposes, so we can directly pass through values matched by PatternMatch, which can be constant expressions. The attached test case works fine now, but would crash with an upcoming change to not produce and constant expressions.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions