aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPetar Jovanovic <petar.jovanovic@rt-rk.com>2013-10-05 20:21:54 +0200
committerPetar Jovanovic <petar.jovanovic@rt-rk.com>2013-10-05 20:21:54 +0200
commit0588a8b5d075090adb3bd16fafd16a43d6125784 (patch)
tree15248e9a409224a0165726f8c1e8a4eac24f015e /include
parented6b15283ff5f9d13cb48f88ba6e189be11291e8 (diff)
[MIPS] Define PnaclTargetArchitectureMips_32
LowerNaClTargetArch has to return const PnaclTargetArchitectureMips_32 for MIPS. The constant is later used in ResolvePNaClIntrinsics pass. BUG= https://code.google.com/p/nativeclient/issues/detail?id=3602 R=jfb@chromium.org Review URL: https://codereview.chromium.org/25887007
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetLowering.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h
index 7ce6584762..091368382e 100644
--- a/include/llvm/Target/TargetLowering.h
+++ b/include/llvm/Target/TargetLowering.h
@@ -117,13 +117,14 @@ public:
// @LOCALMOD-START
// This needs to be kept in sync with
- // native_client/src/untrusted/nacl/pnaclintrin.h.
+ // native_client/src/untrusted/nacl/pnacl.h.
enum PnaclTargetArchitecture {
PnaclTargetArchitectureInvalid = 0,
PnaclTargetArchitectureX86_32,
PnaclTargetArchitectureX86_64,
PnaclTargetArchitectureARM_32,
- PnaclTargetArchitectureARM_32_Thumb
+ PnaclTargetArchitectureARM_32_Thumb,
+ PnaclTargetArchitectureMips_32
};
// @LOCALMOD-END