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

Unified Diff: runtime/vm/code_patcher_arm.cc

Issue 11956004: Fix vm code base so that it can be built for --arch=simarm (no snapshot yet). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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_arm.cc
===================================================================
--- runtime/vm/code_patcher_arm.cc (revision 17107)
+++ runtime/vm/code_patcher_arm.cc (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2013, 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.
@@ -9,66 +9,62 @@
namespace dart {
-void CodePatcher::GetStaticCallAt(uword return_address,
- uword* target) {
+void CodePatcher::PatchStaticCallAt(uword addr, uword new_target_address) {
UNIMPLEMENTED();
}
-void CodePatcher::PatchStaticCallAt(uword return_address, uword new_target) {
+void CodePatcher::PatchInstanceCallAt(uword addr, uword new_target_address) {
UNIMPLEMENTED();
}
-void CodePatcher::PatchInstanceCallAt(uword return_address, uword new_target) {
+void CodePatcher::PatchEntry(const Code& code) {
UNIMPLEMENTED();
}
-bool CodePatcher::IsDartCall(uword return_address) {
+void CodePatcher::RestoreEntry(const Code& code) {
UNIMPLEMENTED();
- return false;
}
-void CodePatcher::GetInstanceCallAt(uword return_address,
- String* function_name,
- int* num_arguments,
- int* num_named_arguments,
- uword* target) {
+bool CodePatcher::CodeIsPatchable(const Code& code) {
UNIMPLEMENTED();
+ return false;
}
-void CodePatcher::PatchEntry(const Code& code) {
+bool CodePatcher::IsDartCall(uword return_address) {
UNIMPLEMENTED();
+ return false;
}
-void CodePatcher::RestoreEntry(const Code& code) {
+uword CodePatcher::GetStaticCallTargetAt(uword return_address) {
UNIMPLEMENTED();
+ return 0;
}
-bool CodePatcher::CodeIsPatchable(const Code& code) {
+uword CodePatcher::GetInstanceCallAt(uword return_address,
+ ICData* ic_data,
+ Array* arguments_descriptor) {
UNIMPLEMENTED();
- return false;
+ return 0;
}
-RawICData* CodePatcher::GetInstanceCallIcDataAt(uword return_address) {
+intptr_t CodePatcher::InstanceCallSizeInBytes() {
UNIMPLEMENTED();
- return NULL;
+ return 0;
}
-
void CodePatcher::InsertCallAt(uword start, uword target) {
UNIMPLEMENTED();
}
-
-
} // namespace dart
#endif // defined TARGET_ARCH_ARM

Powered by Google App Engine
This is Rietveld 408576698