Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::ConstantTemporaryAllocator Class Reference

#include <flow_graph_compiler.h>

Inheritance diagram for dart::ConstantTemporaryAllocator:
dart::TemporaryRegisterAllocator dart::ValueObject

Public Member Functions

 ConstantTemporaryAllocator (Register tmp)
 
Register AllocateTemporary () override
 
void ReleaseTemporary () override
 
- Public Member Functions inherited from dart::TemporaryRegisterAllocator
virtual ~TemporaryRegisterAllocator ()
 
virtual Register AllocateTemporary ()=0
 
virtual void ReleaseTemporary ()=0
 
- Public Member Functions inherited from dart::ValueObject
 ValueObject ()
 
 ~ValueObject ()
 

Detailed Description

Definition at line 51 of file flow_graph_compiler.h.

Constructor & Destructor Documentation

◆ ConstantTemporaryAllocator()

dart::ConstantTemporaryAllocator::ConstantTemporaryAllocator ( Register  tmp)
inlineexplicit

Definition at line 53 of file flow_graph_compiler.h.

53: tmp_(tmp) {}

Member Function Documentation

◆ AllocateTemporary()

Register dart::ConstantTemporaryAllocator::AllocateTemporary ( )
inlineoverridevirtual

Implements dart::TemporaryRegisterAllocator.

Definition at line 55 of file flow_graph_compiler.h.

55{ return tmp_; }

◆ ReleaseTemporary()

void dart::ConstantTemporaryAllocator::ReleaseTemporary ( )
inlineoverridevirtual

Implements dart::TemporaryRegisterAllocator.

Definition at line 56 of file flow_graph_compiler.h.

56{}

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