summaryrefslogtreecommitdiffstats
path: root/runtime/interpreter/interpreter.cc
diff options
context:
space:
mode:
authorSebastien Hertz <shertz@google.com>2013-10-18 10:35:39 +0200
committerSebastien Hertz <shertz@google.com>2013-10-18 10:38:13 +0200
commit2c88b38ec22278c325c2917fdc60f0674e8b7976 (patch)
tree8179daf7af605b98b13f37d6a88f2c2f27b507b0 /runtime/interpreter/interpreter.cc
parentf6e4a59cf58471ba69b0eafb34b3a43b2b95caa1 (diff)
downloadart-2c88b38ec22278c325c2917fdc60f0674e8b7976.zip
art-2c88b38ec22278c325c2917fdc60f0674e8b7976.tar.gz
art-2c88b38ec22278c325c2917fdc60f0674e8b7976.tar.bz2
Make goto-based interpreter the default interpreter.
Change-Id: Id21b57893864a72b77a78ef7df874c2c06209dc9
Diffstat (limited to 'runtime/interpreter/interpreter.cc')
-rw-r--r--runtime/interpreter/interpreter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/interpreter/interpreter.cc b/runtime/interpreter/interpreter.cc
index 48c0014..d7555dd 100644
--- a/runtime/interpreter/interpreter.cc
+++ b/runtime/interpreter/interpreter.cc
@@ -269,7 +269,7 @@ enum InterpreterImplKind {
kComputedGotoImplKind // computed-goto-based interpreter implementation.
};
-static const InterpreterImplKind kInterpreterImplKind = kSwitchImpl;
+static const InterpreterImplKind kInterpreterImplKind = kComputedGotoImplKind;
static JValue Execute(Thread* self, MethodHelper& mh, const DexFile::CodeItem* code_item,
ShadowFrame& shadow_frame, JValue result_register)