diff options
| author | 2018-11-08 15:08:57 +0000 | |
|---|---|---|
| committer | 2018-11-08 17:09:16 +0000 | |
| commit | 8ed45c876077771455d63dd7e315b439230812f8 (patch) | |
| tree | 239cc6db092fa00908af0be433b80baff16b172e /runtime/interpreter/interpreter.cc | |
| parent | a5de05da46e8a93436e68e7e0d242dce46269527 (diff) | |
Add test configuration for the switch interpreter.
Bug: 31358597
Test: ./art/test/testrunner/run_build_test_target.py art-interpreter-cxx
Change-Id: Iebb7a3a5168a27654984f3749a7b86542422671b
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, |