diff options
| author | 2018-11-09 11:23:43 +0000 | |
|---|---|---|
| committer | 2018-11-09 11:23:43 +0000 | |
| commit | fdf6401e1594e71a1e86d455d55333b939160bd9 (patch) | |
| tree | 3f06c26230a0382f2196e60259e54eb2ee8786de /runtime/interpreter/interpreter.cc | |
| parent | 9c4bb4578df6449e61c1c46ea4eee36f463b0414 (diff) | |
| parent | 8ed45c876077771455d63dd7e315b439230812f8 (diff) | |
Merge "Add test configuration for the switch interpreter."
Diffstat (limited to 'runtime/interpreter/interpreter.cc')
| -rw-r--r-- | runtime/interpreter/interpreter.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/interpreter/interpreter.cc b/runtime/interpreter/interpreter.cc index 5784b9b898..d004d642d0 100644 --- a/runtime/interpreter/interpreter.cc +++ b/runtime/interpreter/interpreter.cc @@ -237,7 +237,11 @@ enum InterpreterImplKind { kMterpImplKind // Assembly interpreter }; +#if ART_USE_CXX_INTERPRETER +static constexpr InterpreterImplKind kInterpreterImplKind = kSwitchImplKind; +#else static constexpr InterpreterImplKind kInterpreterImplKind = kMterpImplKind; +#endif static inline JValue Execute( Thread* self, |