summaryrefslogtreecommitdiff
path: root/compiler/optimizing/scheduler_arm.h
diff options
context:
space:
mode:
author xueliang.zhong <xueliang.zhong@linaro.org> 2017-05-25 16:50:39 +0100
committer xueliang.zhong <xueliang.zhong@linaro.org> 2017-06-02 10:36:27 +0100
commit72a75f7d6878ef46437098a94066c14e91e00216 (patch)
treeeb2da80bbb06f37ddf25a71dbbd0c531d760d754 /compiler/optimizing/scheduler_arm.h
parentcce39b5b4fc00ab9e6b4aaed1e7fa6928f0ec594 (diff)
Fix build failure in scheduler_arm with ART_USE_OLD_ARM_BACKEND=1
Test: m ART_USE_VIXL_ARM_BACKEND=true test-art-host Test: m ART_USE_VIXL_ARM_BACKEND=true test-art-target Change-Id: Id6019ec26a9e9ffe5c0ca7eb2535f094ea009763
Diffstat (limited to 'compiler/optimizing/scheduler_arm.h')
-rw-r--r--compiler/optimizing/scheduler_arm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/optimizing/scheduler_arm.h b/compiler/optimizing/scheduler_arm.h
index 8d5e4f375b..cb679fcd2d 100644
--- a/compiler/optimizing/scheduler_arm.h
+++ b/compiler/optimizing/scheduler_arm.h
@@ -17,7 +17,11 @@
#ifndef ART_COMPILER_OPTIMIZING_SCHEDULER_ARM_H_
#define ART_COMPILER_OPTIMIZING_SCHEDULER_ARM_H_
+#ifdef ART_USE_OLD_ARM_BACKEND
+#include "code_generator_arm.h"
+#else
#include "code_generator_arm_vixl.h"
+#endif
#include "scheduler.h"
namespace art {