Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Static Public Member Functions | Static Public Attributes | List of all members
dart::DeoptId Class Reference

#include <deopt_id.h>

Inheritance diagram for dart::DeoptId:
dart::AllStatic

Static Public Member Functions

static intptr_t Next (intptr_t deopt_id)
 
static intptr_t ToDeoptAfter (intptr_t deopt_id)
 
static bool IsDeoptBefore (intptr_t deopt_id)
 
static bool IsDeoptAfter (intptr_t deopt_id)
 

Static Public Attributes

static constexpr intptr_t kNone = -1
 

Detailed Description

Definition at line 25 of file deopt_id.h.

Member Function Documentation

◆ IsDeoptAfter()

static bool dart::DeoptId::IsDeoptAfter ( intptr_t  deopt_id)
inlinestatic

Definition at line 40 of file deopt_id.h.

40 {
41 return (deopt_id % kStep) == kAfterOffset;
42 }

◆ IsDeoptBefore()

static bool dart::DeoptId::IsDeoptBefore ( intptr_t  deopt_id)
inlinestatic

Definition at line 36 of file deopt_id.h.

36 {
37 return (deopt_id % kStep) == kBeforeOffset;
38 }

◆ Next()

static intptr_t dart::DeoptId::Next ( intptr_t  deopt_id)
inlinestatic

Definition at line 29 of file deopt_id.h.

29{ return deopt_id + kStep; }

◆ ToDeoptAfter()

static intptr_t dart::DeoptId::ToDeoptAfter ( intptr_t  deopt_id)
inlinestatic

Definition at line 31 of file deopt_id.h.

31 {
32 ASSERT(IsDeoptBefore(deopt_id));
33 return deopt_id + kAfterOffset;
34 }
static bool IsDeoptBefore(intptr_t deopt_id)
Definition deopt_id.h:36
#define ASSERT(E)

Member Data Documentation

◆ kNone

constexpr intptr_t dart::DeoptId::kNone = -1
staticconstexpr

Definition at line 27 of file deopt_id.h.


The documentation for this class was generated from the following file: