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

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
« no previous file with comments | « runtime/vm/code_generator.cc ('k') | runtime/vm/constants_arm.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/code_patcher_arm.cc
===================================================================
--- runtime/vm/code_patcher_arm.cc (revision 17245)
+++ 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,9 +9,9 @@
namespace dart {
-void CodePatcher::GetStaticCallAt(uword return_address,
- uword* target) {
+uword CodePatcher::GetStaticCallTargetAt(uword return_address) {
UNIMPLEMENTED();
+ return 0;
}
@@ -25,50 +25,30 @@
}
-bool CodePatcher::IsDartCall(uword return_address) {
+void CodePatcher::InsertCallAt(uword start, uword target) {
UNIMPLEMENTED();
- return false;
}
-void CodePatcher::GetInstanceCallAt(uword return_address,
- String* function_name,
- int* num_arguments,
- int* num_named_arguments,
- uword* target) {
+bool CodePatcher::IsDartCall(uword return_address) {
UNIMPLEMENTED();
-}
-
-
-void CodePatcher::PatchEntry(const Code& code) {
- UNIMPLEMENTED();
-}
-
-
-void CodePatcher::RestoreEntry(const Code& code) {
- UNIMPLEMENTED();
-}
-
-
-bool CodePatcher::CodeIsPatchable(const Code& code) {
- UNIMPLEMENTED();
return false;
}
-RawICData* CodePatcher::GetInstanceCallIcDataAt(uword return_address) {
+uword CodePatcher::GetInstanceCallAt(uword return_address,
+ ICData* ic_data,
+ Array* arguments_descriptor) {
UNIMPLEMENTED();
- return NULL;
+ return 0;
}
-
-void CodePatcher::InsertCallAt(uword start, uword target) {
+intptr_t CodePatcher::InstanceCallSizeInBytes() {
UNIMPLEMENTED();
+ return 0;
}
-
-
} // namespace dart
#endif // defined TARGET_ARCH_ARM
« no previous file with comments | « runtime/vm/code_generator.cc ('k') | runtime/vm/constants_arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698