top
|
up
|
prev
|
next
NativeValue Class
Definition at line
60
of
GenObject.hpp
Constructors
NativeValue
(
void
* value_)
Member Functions
void
Load
(
Emitter
& emitter,
OperationFlags
flags)
override
void
Store
(
Emitter
& emitter,
OperationFlags
flags)
override
Member Variables
void
*
value
Constructor Details
NativeValue Constructor
cmajor::ir::NativeValue::NativeValue(
void
* value_)
Definition at line
63
of
GenObject.hpp
:
63
:
value
(
value_
)
{
}
Member Function Details
Load Member Function
void
cmajor::ir::NativeValue::Load(
Emitter
& emitter,
OperationFlags
flags)
override
Definition at line
19
of
GenObject.cpp
:
20
{
21
emitter
.
Stack
(
)
.
Push
(
value
)
;
22
}
Declaration at line
64
of
GenObject.hpp
Base class overridden functions:
cmajor::ir::GenObject::Load
Calls:
cmajor::ir::Emitter::Stack
,
cmajor::ir::ValueStack::Push
Store Member Function
void
cmajor::ir::NativeValue::Store(
Emitter
& emitter,
OperationFlags
flags)
override
Definition at line
24
of
GenObject.cpp
:
25
{
26
void
*
val
=
emitter
.
Stack
(
)
.
Pop
(
)
;
27
emitter
.
CreateStore
(
val
,
value
)
;
28
}
Declaration at line
65
of
GenObject.hpp
Base class overridden functions:
cmajor::ir::GenObject::Store
Calls:
cmajor::ir::Emitter::CreateStore
,
cmajor::ir::Emitter::Stack
,
cmajor::ir::ValueStack::Pop
top
|
up
|
prev
|
next