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

Unified Diff: runtime/vm/code_patcher_arm64.cc

Issue 221133002: Begins work on ARM64, first assembler test. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: adds files Created 6 years, 9 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
« no previous file with comments | « runtime/vm/code_generator_test.cc ('k') | runtime/vm/code_patcher_arm64_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/code_patcher_arm64.cc
===================================================================
--- runtime/vm/code_patcher_arm64.cc (revision 0)
+++ runtime/vm/code_patcher_arm64.cc (revision 0)
@@ -0,0 +1,88 @@
+// Copyright (c) 2014, 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_ARM64.
+#if defined(TARGET_ARCH_ARM64)
+
+#include "vm/code_patcher.h"
+
+#include "vm/instructions.h"
+#include "vm/object.h"
+
+namespace dart {
+
+RawArray* CodePatcher::GetClosureArgDescAt(uword return_address,
+ const Code& code) {
+ UNIMPLEMENTED();
+ return NULL;
+}
+
+
+uword CodePatcher::GetStaticCallTargetAt(uword return_address,
+ const Code& code) {
+ UNIMPLEMENTED();
+ return 0;
+}
+
+
+void CodePatcher::PatchStaticCallAt(uword return_address,
+ const Code& code,
+ uword new_target) {
+ UNIMPLEMENTED();
+}
+
+
+void CodePatcher::PatchInstanceCallAt(uword return_address,
+ const Code& code,
+ uword new_target) {
+ UNIMPLEMENTED();
+}
+
+
+int32_t CodePatcher::GetPoolOffsetAt(uword return_address) {
+ UNIMPLEMENTED();
+ return 0;
+}
+
+
+void CodePatcher::SetPoolOffsetAt(uword return_address, int32_t offset) {
+ UNIMPLEMENTED();
+}
+
+
+void CodePatcher::InsertCallAt(uword start, uword target) {
+ UNIMPLEMENTED();
+}
+
+
+uword CodePatcher::GetInstanceCallAt(uword return_address,
+ const Code& code,
+ ICData* ic_data) {
+ UNIMPLEMENTED();
+ return 0;
+}
+
+
+intptr_t CodePatcher::InstanceCallSizeInBytes() {
+ // The instance call instruction sequence has a variable size on ARM.
+ UNREACHABLE();
+ return 0;
+}
+
+
+RawFunction* CodePatcher::GetUnoptimizedStaticCallAt(
+ uword return_address, const Code& code, ICData* ic_data_result) {
+ UNIMPLEMENTED();
+ return NULL;
+}
+
+
+RawObject* CodePatcher::GetEdgeCounterAt(uword pc, const Code& code) {
+ UNIMPLEMENTED();
+ return NULL;
+}
+
+} // namespace dart
+
+#endif // defined TARGET_ARCH_ARM64
« no previous file with comments | « runtime/vm/code_generator_test.cc ('k') | runtime/vm/code_patcher_arm64_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698