aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyPeephole.cpp
diff options
context:
space:
mode:
authorJF Bastien <jfb@google.com>2016-01-26 20:24:51 +0000
committerJF Bastien <jfb@google.com>2016-01-26 20:24:51 +0000
commit43436716aa18f8a1aa9e680afc9b1d1df0170ad9 (patch)
treecf7095b3581d2fdb7831cfbfd93c02f473e7edda /llvm/lib/Target/WebAssembly/WebAssemblyPeephole.cpp
parent060cc200d05f461ede7bb066d94f854e3481e6ea (diff)
downloadllvm-43436716aa18f8a1aa9e680afc9b1d1df0170ad9.zip
llvm-43436716aa18f8a1aa9e680afc9b1d1df0170ad9.tar.gz
llvm-43436716aa18f8a1aa9e680afc9b1d1df0170ad9.tar.bz2
WebAssembly NFC: update error message
I forgot to update this one in my previous patch. llvm-svn: 258853
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyPeephole.cpp')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyPeephole.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyPeephole.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyPeephole.cpp
index 5f457f0..40b809b 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyPeephole.cpp
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyPeephole.cpp
@@ -126,7 +126,8 @@ bool WebAssemblyPeephole::runOnMachineFunction(MachineFunction &MF) {
break;
} else {
report_fatal_error("Peephole: call to builtin function with "
- "wrong signature, not consuming reg");
+ "wrong signature, not consuming reg or "
+ "frame index");
}
}
}