ArkScript
A small, fast, functional and scripting language for video games
InstLoc.hpp
Go to the documentation of this file.
1
#ifndef ARK_COMPILER_INTERMEDIATEREPRESENTATION_INSTLOC_HPP
2
#define ARK_COMPILER_INTERMEDIATEREPRESENTATION_INSTLOC_HPP
3
4
#include <cstdint>
5
6
namespace
Ark::internal
7
{
8
// pp (2 bytes), ip (2 bytes), filename id (2 bytes), line (4 bytes) -> 10 bytes per record
9
struct
InstLoc
10
{
11
uint16_t
page_pointer
;
12
uint16_t
inst_pointer
;
13
uint16_t
filename_id
;
14
uint32_t
line
;
15
};
16
}
17
18
#endif
// ARK_COMPILER_INTERMEDIATEREPRESENTATION_INSTLOC_HPP
Ark::internal
Definition
Builtins.hpp:25
Ark::internal::InstLoc
Definition
InstLoc.hpp:10
Ark::internal::InstLoc::page_pointer
uint16_t page_pointer
Definition
InstLoc.hpp:11
Ark::internal::InstLoc::inst_pointer
uint16_t inst_pointer
Definition
InstLoc.hpp:12
Ark::internal::InstLoc::filename_id
uint16_t filename_id
Definition
InstLoc.hpp:13
Ark::internal::InstLoc::line
uint32_t line
Definition
InstLoc.hpp:14
include
Ark
Compiler
IntermediateRepresentation
InstLoc.hpp
Generated on Wed May 21 2025 18:40:52 for ArkScript by
1.12.0