Index: runtime/vm/code_patcher_dbc.cc |
diff --git a/runtime/vm/code_patcher_arm.cc b/runtime/vm/code_patcher_dbc.cc |
similarity index 92% |
copy from runtime/vm/code_patcher_arm.cc |
copy to runtime/vm/code_patcher_dbc.cc |
index 7e0e8eaddbbcb6bc1d4ba99cd2b2762b7119f924..e0010abf373529a37a5af0519e05cd9c965fcaaa 100644 |
--- a/runtime/vm/code_patcher_arm.cc |
+++ b/runtime/vm/code_patcher_dbc.cc |
@@ -1,9 +1,9 @@ |
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
+// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-#include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM. |
-#if defined(TARGET_ARCH_ARM) |
+#include "vm/globals.h" // Needed here to get TARGET_ARCH_DBC. |
+#if defined(TARGET_ARCH_DBC) |
#include "vm/code_patcher.h" |
@@ -50,7 +50,6 @@ RawCode* CodePatcher::GetInstanceCallAt(uword return_address, |
intptr_t CodePatcher::InstanceCallSizeInBytes() { |
- // The instance call instruction sequence has a variable size on ARM. |
UNREACHABLE(); |
return 0; |
} |
@@ -104,4 +103,4 @@ RawCode* CodePatcher::GetNativeCallAt(uword return_address, |
} // namespace dart |
-#endif // defined TARGET_ARCH_ARM |
+#endif // defined TARGET_ARCH_DBC |