mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 00:13:50 +00:00
![Ryan Macnak](/assets/img/avatar_default.png)
- Fixes SIMD registers clobbered by write barrier on ARM64. - Moves code generation out of non-compiler directory. - Removes unnecessary building of Dart frames on leaf runtime calls. - Removes unnecessary Threads slots for write barrier Code objects. - Removes duplicate saves of SP in leaf runtime calls on ARM64 and RISC-V. - Avoids some redundant SP updates on RISC-V. TEST=ci Change-Id: Idb92127658edc90b320923ef3d882a7219a450ae Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/236842 Reviewed-by: Alexander Markov <alexmarkov@google.com> Reviewed-by: Slava Egorov <vegorov@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>
24 lines
568 B
C++
24 lines
568 B
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"
|
|
#if defined(TARGET_ARCH_IA32)
|
|
|
|
#include "vm/runtime_entry.h"
|
|
|
|
#include "vm/compiler/assembler/assembler.h"
|
|
#include "vm/stub_code.h"
|
|
|
|
namespace dart {
|
|
|
|
#define __ assembler->
|
|
|
|
uword RuntimeEntry::GetEntryPoint() const {
|
|
return reinterpret_cast<uword>(function());
|
|
}
|
|
|
|
} // namespace dart
|
|
|
|
#endif // defined TARGET_ARCH_IA32
|