mirror of
https://github.com/dart-lang/sdk
synced 2024-09-18 21:31:20 +00:00
ee0f608ce4
This version is Clang/GCC only and does not support Windows because it uses computed goto's. Only unoptimized mode is supported. Architecture is described in constants_dbc.h and stack_frame_dbc.h. R=fschneider@google.com, zra@google.com Review URL: https://codereview.chromium.org/1858283002 .
30 lines
653 B
C++
30 lines
653 B
C++
// Copyright (c) 2016, 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"
|
|
#if defined(TARGET_ARCH_DBC)
|
|
|
|
#include "vm/runtime_entry.h"
|
|
|
|
#include "vm/assembler.h"
|
|
#include "vm/simulator.h"
|
|
#include "vm/stub_code.h"
|
|
|
|
namespace dart {
|
|
|
|
|
|
uword RuntimeEntry::GetEntryPoint() const {
|
|
return reinterpret_cast<uword>(function());
|
|
}
|
|
|
|
|
|
void RuntimeEntry::Call(Assembler* assembler, intptr_t argument_count) const {
|
|
UNIMPLEMENTED();
|
|
}
|
|
|
|
|
|
} // namespace dart
|
|
|
|
#endif // defined TARGET_ARCH_DBC
|