Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
type_check_mode.h
Go to the documentation of this file.
1// Copyright (c) 2020, 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#ifndef RUNTIME_VM_COMPILER_API_TYPE_CHECK_MODE_H_
6#define RUNTIME_VM_COMPILER_API_TYPE_CHECK_MODE_H_
7
8namespace dart {
9
10// Invocation mode for TypeCheck runtime entry that describes
11// where we are calling it from.
13 // TypeCheck is invoked from LazySpecializeTypeTest stub.
14 // It should replace stub on the type with a specialized version.
16
17 // TypeCheck is invoked from the SlowTypeTest stub.
18 // This means that cache can be lazily created (if needed)
19 // and dst_name can be fetched from the pool.
21
22 // TypeCheck is invoked from normal inline AssertAssignable.
23 // Both cache and dst_name must be already populated.
25};
26
27} // namespace dart
28
29#endif // RUNTIME_VM_COMPILER_API_TYPE_CHECK_MODE_H_
@ kTypeCheckFromLazySpecializeStub
@ kTypeCheckFromInline
@ kTypeCheckFromSlowStub