Flutter Engine
The Flutter Engine
third_party
dart-lang
sdk
runtime
vm
ama_test.cc
Go to the documentation of this file.
1
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
2
// for details. All rights reserved. Use of this source code is governed by a
3
// BSD-style license that can be found in the LICENSE file.
4
5
#include "
platform/assert.h
"
6
#include "
platform/globals.h
"
7
8
#include "
include/dart_api.h
"
9
10
#include "
vm/constants.h
"
11
#include "
vm/unit_test.h
"
12
13
namespace
dart
{
14
15
TEST_CASE
(AMA_Test) {
16
// NOTE: These are expectations we should strive to maintain. Please reach out
17
// to go/dart-ama before changing them.
18
#if defined(TARGET_ARCH_ARM64)
19
COMPILE_ASSERT
(
R27
==
PP
);
20
COMPILE_ASSERT
(
R15
==
SPREG
);
21
COMPILE_ASSERT
(
R26
==
THR
);
22
COMPILE_ASSERT
(
R21
==
DISPATCH_TABLE_REG
);
23
#endif
24
}
25
26
}
// namespace dart
assert.h
dart_api.h
dart
Definition:
dart_vm.cc:33
dart::THR
const Register THR
Definition:
constants_arm.h:321
dart::DISPATCH_TABLE_REG
const Register DISPATCH_TABLE_REG
Definition:
constants_arm.h:313
dart::R26
@ R26
Definition:
constants_arm64.h:61
dart::R21
@ R21
Definition:
constants_arm64.h:56
dart::R27
@ R27
Definition:
constants_arm64.h:62
dart::R15
@ R15
Definition:
constants_arm.h:97
dart::TEST_CASE
TEST_CASE(DirectoryCurrent)
Definition:
directory_test.cc:18
dart::PP
const Register PP
Definition:
constants_arm.h:312
dart::SPREG
const Register SPREG
Definition:
constants_arm.h:314
dart::COMPILE_ASSERT
COMPILE_ASSERT(kUnreachableReference==WeakTable::kNoValue)
globals.h
constants.h
unit_test.h
Generated on Sun Jun 23 2024 21:55:25 for Flutter Engine by
1.9.4