Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Unified Diff: runtime/vm/code_patcher_dbc.cc

Issue 1858283002: Initial SIMDBC interpreter. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: cleanup Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 94%
copy from runtime/vm/code_patcher_arm.cc
copy to runtime/vm/code_patcher_dbc.cc
index 7e0e8eaddbbcb6bc1d4ba99cd2b2762b7119f924..f978d54ff20f9454209888d947a414f14f099a64 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,7 @@ RawCode* CodePatcher::GetInstanceCallAt(uword return_address,
intptr_t CodePatcher::InstanceCallSizeInBytes() {
- // The instance call instruction sequence has a variable size on ARM.
+ // The instance call instruction sequence has a variable size on DBC.
zra 2016/04/08 22:37:34 Does it?
Vyacheslav Egorov (Google) 2016/04/11 10:49:10 Removed the comment
UNREACHABLE();
return 0;
}
@@ -104,4 +104,4 @@ RawCode* CodePatcher::GetNativeCallAt(uword return_address,
} // namespace dart
-#endif // defined TARGET_ARCH_ARM
+#endif // defined TARGET_ARCH_DBC

Powered by Google App Engine
This is Rietveld 408576698