2011-10-05 05:20:07 +00:00
|
|
|
// 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"
|
|
|
|
#if defined(TARGET_ARCH_X64)
|
|
|
|
|
|
|
|
#include "vm/runtime_entry.h"
|
|
|
|
|
2020-04-16 22:59:03 +00:00
|
|
|
#if !defined(DART_PRECOMPILED_RUNTIME)
|
2017-09-04 14:18:37 +00:00
|
|
|
#include "vm/compiler/assembler/assembler.h"
|
2011-12-08 00:03:08 +00:00
|
|
|
#include "vm/stub_code.h"
|
2020-04-16 22:59:03 +00:00
|
|
|
#endif // !defined(DART_PRECOMPILED_RUNTIME)
|
2011-12-08 00:03:08 +00:00
|
|
|
|
2011-10-05 05:20:07 +00:00
|
|
|
namespace dart {
|
|
|
|
|
2011-12-08 00:03:08 +00:00
|
|
|
#define __ assembler->
|
|
|
|
|
2015-09-02 21:58:26 +00:00
|
|
|
uword RuntimeEntry::GetEntryPoint() const {
|
|
|
|
return reinterpret_cast<uword>(function());
|
|
|
|
}
|
|
|
|
|
2011-10-05 05:20:07 +00:00
|
|
|
} // namespace dart
|
|
|
|
|
|
|
|
#endif // defined TARGET_ARCH_X64
|