Files
sdk/runtime/vm/code_patcher_arm64.cc
T
zra@google.com 2fe51715e5 Begins work on ARM64, first assembler test.
Most new code is in constants_arm64.h and
{assembler,disassembler,simulator}_arm64.{h,cc}

The rest of the CL just #def's out tests, modifies status files,
and adds UNIMPLEMENTED functions, etc.

R=regis@google.com

Review URL: https://codereview.chromium.org//221133002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34654 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-02 17:39:32 +00:00

89 lines
2.0 KiB
C++

// 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