b7cf1328a1
- Introduce Debugger class. - Each isolate has a debugger object. - Introduce stubs that can be put in place of static or dynamic Dart function calls. - Very rudimentary command line option to place a breakpoint at the beginning of a function. Review URL: http://codereview.chromium.org//8687037 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1928 260f80e4-7a28-3924-810f-c04153c831b5
74 lines
1.7 KiB
C++
74 lines
1.7 KiB
C++
// Copyright (c) 2011, 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/code_patcher.h"
|
|
|
|
namespace dart {
|
|
|
|
void CodePatcher::GetStaticCallAt(uword return_address,
|
|
Function* function,
|
|
uword* target) {
|
|
UNIMPLEMENTED();
|
|
}
|
|
|
|
|
|
void CodePatcher::PatchStaticCallAt(uword return_address, uword new_target) {
|
|
UNIMPLEMENTED();
|
|
}
|
|
|
|
|
|
void CodePatcher::PatchInstanceCallAt(uword return_address, uword new_target) {
|
|
UNIMPLEMENTED();
|
|
}
|
|
|
|
|
|
bool CodePatcher::IsDartCall(uword return_address) {
|
|
UNIMPLEMENTED();
|
|
return false;
|
|
}
|
|
|
|
|
|
void CodePatcher::GetInstanceCallAt(uword return_address,
|
|
String* function_name,
|
|
int* num_arguments,
|
|
int* num_named_arguments,
|
|
uword* target) {
|
|
UNIMPLEMENTED();
|
|
}
|
|
|
|
|
|
void CodePatcher::PatchEntry(const Code& code) {
|
|
UNIMPLEMENTED();
|
|
}
|
|
|
|
|
|
void CodePatcher::RestoreEntry(const Code& code) {
|
|
UNIMPLEMENTED();
|
|
}
|
|
|
|
|
|
bool CodePatcher::CodeIsPatchable(const Code& code) {
|
|
UNIMPLEMENTED();
|
|
return false;
|
|
}
|
|
|
|
|
|
RawArray* CodePatcher::GetInstanceCallIcDataAt(uword return_address) {
|
|
UNIMPLEMENTED();
|
|
return NULL;
|
|
}
|
|
|
|
|
|
void CodePatcher::SetInstanceCallIcDataAt(uword return_address,
|
|
const Array& ic_data) {
|
|
UNIMPLEMENTED();
|
|
}
|
|
|
|
} // namespace dart
|
|
|
|
#endif // defined TARGET_ARCH_ARM
|