Phasor 3.3.0
Stack VM based Programming Language
Loading...
Searching...
No Matches
BytecodeDeserializer.cpp File Reference
#include "BytecodeDeserializer.hpp"
#include <cstring>
#include <stdexcept>
#include <filesystem>
#include <phsint.hpp>
#include "metadata.h"
Include dependency graph for BytecodeDeserializer.cpp:

Go to the source code of this file.

Namespaces

namespace  Phasor
 The Phasor Programming Language and Runtime.

Functions

void init_crc32_table_deserializer ()

Variables

const Phasor::u8 SECTION_CONSTANTS = 0x01
const Phasor::u8 SECTION_VARIABLES = 0x02
const Phasor::u8 SECTION_INSTRUCTIONS = 0x03
const Phasor::u8 SECTION_FUNCTIONS = 0x04
const Phasor::u8 SECTION_STRUCTS = 0x05
static Phasor::u32 crc32_table [256]
static bool crc32_table_initialized = false

Function Documentation

◆ init_crc32_table_deserializer()

void init_crc32_table_deserializer ( )

Definition at line 18 of file BytecodeDeserializer.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ crc32_table

Phasor::u32 crc32_table[256]
static

Definition at line 15 of file BytecodeDeserializer.cpp.

◆ crc32_table_initialized

bool crc32_table_initialized = false
static

Definition at line 16 of file BytecodeDeserializer.cpp.

◆ SECTION_CONSTANTS

const Phasor::u8 SECTION_CONSTANTS = 0x01

Definition at line 9 of file BytecodeDeserializer.cpp.

◆ SECTION_FUNCTIONS

const Phasor::u8 SECTION_FUNCTIONS = 0x04

Definition at line 12 of file BytecodeDeserializer.cpp.

◆ SECTION_INSTRUCTIONS

const Phasor::u8 SECTION_INSTRUCTIONS = 0x03

Definition at line 11 of file BytecodeDeserializer.cpp.

◆ SECTION_STRUCTS

const Phasor::u8 SECTION_STRUCTS = 0x05

Definition at line 13 of file BytecodeDeserializer.cpp.

◆ SECTION_VARIABLES

const Phasor::u8 SECTION_VARIABLES = 0x02

Definition at line 10 of file BytecodeDeserializer.cpp.