summaryrefslogtreecommitdiff
path: root/runtime/interpreter/interpreter.cc
diff options
context:
space:
mode:
author Douglas Leung <douglas.leung@imgtec.com> 2016-02-25 20:05:47 -0800
committer Douglas Leung <douglas.leung@imgtec.com> 2016-02-25 20:05:47 -0800
commit200f040af3e4fe9e178cb63c90860d58d90ef665 (patch)
treeee57a9a9fe55bb8c4c333d3f87d245517913e31f /runtime/interpreter/interpreter.cc
parent8ff01690eb2796604b8927076fdde7452b4c8a60 (diff)
[MIPS] Add Fast Art interpreter for Mips32.
Change-Id: I6b9714dc8c01b8c9080bcba175faec1d2de08f8f
Diffstat (limited to 'runtime/interpreter/interpreter.cc')
-rw-r--r--runtime/interpreter/interpreter.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/interpreter/interpreter.cc b/runtime/interpreter/interpreter.cc
index a595d33f04..8b72d7189e 100644
--- a/runtime/interpreter/interpreter.cc
+++ b/runtime/interpreter/interpreter.cc
@@ -241,7 +241,7 @@ static std::ostream& operator<<(std::ostream& os, const InterpreterImplKind& rhs
}
#if !defined(__clang__)
-#if (defined(__arm__) || defined(__i386__) || defined(__aarch64__))
+#if (defined(__arm__) || defined(__i386__) || defined(__aarch64__) || (defined(__mips__) && !defined(__LP64__)))
// TODO: remove when all targets implemented.
static constexpr InterpreterImplKind kInterpreterImplKind = kMterpImplKind;
#else
@@ -249,7 +249,7 @@ static constexpr InterpreterImplKind kInterpreterImplKind = kComputedGotoImplKin
#endif
#else
// Clang 3.4 fails to build the goto interpreter implementation.
-#if (defined(__arm__) || defined(__i386__) || defined(__aarch64__))
+#if (defined(__arm__) || defined(__i386__) || defined(__aarch64__) || (defined(__mips__) && !defined(__LP64__)))
static constexpr InterpreterImplKind kInterpreterImplKind = kMterpImplKind;
#else
static constexpr InterpreterImplKind kInterpreterImplKind = kSwitchImplKind;