summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly/WebAssemblyReplacePhysRegs.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-08-17 20:41:50 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-08-17 20:41:50 +0000
commitafdd8e541b8d3fa84763809469c5cd92b0b2a21d (patch)
tree6f8b59607f84ed370ec2e050928aada49af46b19 /llvm/lib/Target/WebAssembly/WebAssemblyReplacePhysRegs.cpp
parent9385680c241b031a3c2a99c4dcc004f67caab9c0 (diff)
downloadbcm5719-llvm-afdd8e541b8d3fa84763809469c5cd92b0b2a21d.tar.gz
bcm5719-llvm-afdd8e541b8d3fa84763809469c5cd92b0b2a21d.zip
Revert "[WebAssembly] Handle debug information and virtual registers without crashing"
This reverts commit r278967, since the new test is failing when you don't build the WebAssembly target (most people, since it's off-by-default). llvm-svn: 278973
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyReplacePhysRegs.cpp')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyReplacePhysRegs.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyReplacePhysRegs.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyReplacePhysRegs.cpp
index 1a83793b0d0..11bda47eac5 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyReplacePhysRegs.cpp
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyReplacePhysRegs.cpp
@@ -88,8 +88,6 @@ bool WebAssemblyReplacePhysRegs::runOnMachineFunction(MachineFunction &MF) {
if (VReg == WebAssembly::NoRegister)
VReg = MRI.createVirtualRegister(RC);
MO.setReg(VReg);
- if (MO.getParent()->isDebugValue())
- MO.setIsDebug();
Changed = true;
}
}
OpenPOWER on IntegriCloud