Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Unified Diff: include/llvm/ADT/Triple.h

Issue 1692803002: Remove Emscripten support (Closed) Base URL: https://chromium.googlesource.com/a/native_client/pnacl-llvm.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « configure ('k') | include/llvm/InitializePasses.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/llvm/ADT/Triple.h
diff --git a/include/llvm/ADT/Triple.h b/include/llvm/ADT/Triple.h
index acc8d9fb1ddcf772e6c84b80a24715edee5e7501..b8dacaaf19e91495eb90b870b3b84ac306ee06b0 100644
--- a/include/llvm/ADT/Triple.h
+++ b/include/llvm/ADT/Triple.h
@@ -75,7 +75,6 @@ public:
nvptx64, // NVPTX: 64-bit
le32, // le32: generic little-endian 32-bit CPU (PNaCl / Emscripten)
le64, // le64: generic little-endian 64-bit CPU (PNaCl / Emscripten)
- asmjs, // asm.js JavaScript subset @LOCALMOD Emscripten
amdil, // AMDIL
amdil64, // AMDIL with 64-bit pointers
hsail, // AMD HSAIL
@@ -139,7 +138,6 @@ public:
Haiku,
Minix,
RTEMS,
- Emscripten, // Emscripten JavaScript runtime @LOCALMOD Emscripten
NaCl, // Native Client
CNK, // BG/P Compute-Node Kernel
Bitrig,
@@ -403,7 +401,6 @@ public:
bool isOSMSVCRT() const { return false; }
bool isOSWindows() const { return false; }
bool isOSNaCl() const { return getOS() == Triple::NaCl; }
- bool isOSEmscripten() const { return false; }
bool isOSLinux() const { return getOS() == Triple::Linux; }
bool isOSBinFormatELF() const { return true; }
bool isOSBinFormatCOFF() const { return false; }
@@ -429,7 +426,6 @@ public:
bool isOSMSVCRT() const { return false; }
bool isOSWindows() const { return false; }
bool isOSNaCl() const { return false; }
- bool isOSEmscripten() const { return true; }
bool isOSLinux() const { return false; }
bool isOSBinFormatELF() const { return true; }
bool isOSBinFormatCOFF() const { return false; }
@@ -518,13 +514,6 @@ public:
return getOS() == Triple::NaCl;
}
- // @LOCALMOD-START Emscripten
- /// \brief Tests whether the OS is Emscripten.
- bool isOSEmscripten() const {
- return getOS() == Triple::Emscripten;
- }
- // @LOCALMOD-END Emscripten
-
/// \brief Tests whether the OS is Linux.
bool isOSLinux() const {
return getOS() == Triple::Linux;
« no previous file with comments | « configure ('k') | include/llvm/InitializePasses.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698