diff options
| author | Sam Clegg <sbc@chromium.org> | 2017-06-20 04:47:58 +0000 |
|---|---|---|
| committer | Sam Clegg <sbc@chromium.org> | 2017-06-20 04:47:58 +0000 |
| commit | 7f055dee27e5144dab71dd04e673ca048ae3c7b2 (patch) | |
| tree | 0300ebef080c3c1cd42384cf7783688851327739 /llvm/lib/MC | |
| parent | b7787fd076f307a09075108525bdbabb44cd7373 (diff) | |
| download | bcm5719-llvm-7f055dee27e5144dab71dd04e673ca048ae3c7b2.tar.gz bcm5719-llvm-7f055dee27e5144dab71dd04e673ca048ae3c7b2.zip | |
[WebAssembly] Fix build failures introduced in r305769
This fixes two build failures that only occur in certain
configurations:
- error: unused function 'operator<<'
- error: control reaches end of non-void function
Differential Revision: https://reviews.llvm.org/D34382
llvm-svn: 305770
Diffstat (limited to 'llvm/lib/MC')
| -rw-r--r-- | llvm/lib/MC/WasmObjectWriter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/MC/WasmObjectWriter.cpp b/llvm/lib/MC/WasmObjectWriter.cpp index a4faaf0f6f6..dd2e371c114 100644 --- a/llvm/lib/MC/WasmObjectWriter.cpp +++ b/llvm/lib/MC/WasmObjectWriter.cpp @@ -162,8 +162,7 @@ struct WasmRelocationEntry { #endif }; -inline raw_ostream &operator<<(raw_ostream &OS, - const WasmRelocationEntry &Rel) { +raw_ostream &operator<<(raw_ostream &OS, const WasmRelocationEntry &Rel) { Rel.print(OS); return OS; } |

