aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python/prepare_binding_Python.py
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2018-09-04 17:46:12 +0000
committerDan Gohman <dan433584@gmail.com>2018-09-04 17:46:12 +0000
commit045a217bee40c24a0ad8e20450c3714c74f67b47 (patch)
tree13757680b83b1209e77c2f5f9be43f550f82a4c3 /lldb/scripts/Python/prepare_binding_Python.py
parent7a474b65791685ddc16d80d0b447691fa6eee165 (diff)
downloadllvm-045a217bee40c24a0ad8e20450c3714c74f67b47.zip
llvm-045a217bee40c24a0ad8e20450c3714c74f67b47.tar.gz
llvm-045a217bee40c24a0ad8e20450c3714c74f67b47.tar.bz2
[WebAssembly] Fix operand rewriting in inline asm lowering.
Use MachineOperand::ChangeToImmediate rather than reassigning MachineOperands to new values created from MachineOperand::CreateImm, so that their parent pointers are preserved. This fixes "Instruction has operand with wrong parent set" errors reported by the MachineVerifier. llvm-svn: 341389
Diffstat (limited to 'lldb/scripts/Python/prepare_binding_Python.py')
0 files changed, 0 insertions, 0 deletions