summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
69c9ea3)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252925
91177308-0d34-0410-b5e6-
96231b3b80d8
void WebAssemblyAsmPrinter::EmitInstruction(const MachineInstr *MI) {
DEBUG(dbgs() << "EmitInstruction: " << *MI << '\n');
void WebAssemblyAsmPrinter::EmitInstruction(const MachineInstr *MI) {
DEBUG(dbgs() << "EmitInstruction: " << *MI << '\n');
- unsigned NumDefs = MI->getDesc().getNumDefs();
- assert(NumDefs <= 1 &&
+ assert(MI->getDesc().getNumDefs() <= 1 &&
"Instructions with multiple result values not implemented");
switch (MI->getOpcode()) {
"Instructions with multiple result values not implemented");
switch (MI->getOpcode()) {