Index: lib/CodeGen/ItaniumCXXABI.cpp |
diff --git a/lib/CodeGen/ItaniumCXXABI.cpp b/lib/CodeGen/ItaniumCXXABI.cpp |
index 6de05f2670d4b90656064eb69c0a62aa79a1dfc6..73164bb252e6c6581f7d0eaf110d9d200923b897 100644 |
--- a/lib/CodeGen/ItaniumCXXABI.cpp |
+++ b/lib/CodeGen/ItaniumCXXABI.cpp |
@@ -358,14 +358,6 @@ CodeGen::CGCXXABI *CodeGen::CreateItaniumCXXABI(CodeGenModule &CGM) { |
case TargetCXXABI::GenericMIPS: |
return new ItaniumCXXABI(CGM, /* UseARMMethodPtrABI = */ true); |
- // @LOCALMOD-START Emscripten |
- case TargetCXXABI::Emscripten: |
- // Use ARM-style method pointers so that generated code does not assume |
- // anything about the alignment of function pointers. |
- return new ItaniumCXXABI(CGM, /* UseARMMethodPtrABI = */ true, |
- /* UseARMGuardVarABI = */ false); |
- // @LOCALMOD-END Emscripten |
- |
case TargetCXXABI::GenericItanium: |
if (CGM.getContext().getTargetInfo().getTriple().getArch() |
== llvm::Triple::le32) { |