From 2d99316ec617e7fb10f034d9495b3fd14d89a064 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 22 Jan 2019 08:05:17 -0700 Subject: [PATCH] Remove duplicate copy of WebAssembly::TargetIndex Commit 9c870ef82e introduced a copy of WebAssembly::TargetIndex, causing the build to fail on x86-64 Fedora 29. This patch fixes the problem by removing the second copy. --- lib/Target/WebAssembly/WebAssembly.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/Target/WebAssembly/WebAssembly.h b/lib/Target/WebAssembly/WebAssembly.h index 4a0fa27c1bca..3285898a4b1f 100644 --- a/lib/Target/WebAssembly/WebAssembly.h +++ b/lib/Target/WebAssembly/WebAssembly.h @@ -86,10 +86,6 @@ namespace WebAssembly { enum TargetIndex { TI_LOCAL_START, TI_GLOBAL_START, TI_OPERAND_STACK_START }; } // end namespace WebAssembly -namespace WebAssembly { -enum TargetIndex { TI_LOCAL_START, TI_GLOBAL_START, TI_OPERAND_STACK_START }; -} // end namespace WebAssembly - } // end namespace llvm #endif