summaryrefslogtreecommitdiffstats
path: root/dex2oat
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2014-04-02 14:55:49 -0700
committerIan Rogers <irogers@google.com>2014-04-02 14:55:49 -0700
commit8afeb85d3def12b559b7565fb6d3956f81b55132 (patch)
tree60ac7c63d7adba0dc117ac88dd98cc97a879e0ca /dex2oat
parent0807e7bbbafc4b4e8e7fb1d2d54fbcb011c05c82 (diff)
downloadart-8afeb85d3def12b559b7565fb6d3956f81b55132.zip
art-8afeb85d3def12b559b7565fb6d3956f81b55132.tar.gz
art-8afeb85d3def12b559b7565fb6d3956f81b55132.tar.bz2
Pass instruction-set from runtime through to spawned dex2oat.
Change-Id: I1727af7beb9f710c29124d4d6bc9175e4856f3cc
Diffstat (limited to 'dex2oat')
-rw-r--r--dex2oat/dex2oat.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dex2oat/dex2oat.cc b/dex2oat/dex2oat.cc
index 72effde..552ec89 100644
--- a/dex2oat/dex2oat.cc
+++ b/dex2oat/dex2oat.cc
@@ -740,7 +740,7 @@ static int dex2oat(int argc, char** argv) {
// Take the default set of instruction features from the build.
InstructionSetFeatures instruction_set_features =
- ParseFeatureList(STRINGIFY(ART_DEFAULT_INSTRUCTION_SET_FEATURES));
+ ParseFeatureList(Runtime::GetDefaultInstructionSetFeatures());
#if defined(__arm__)
InstructionSet instruction_set = kThumb2;