[][src]Module wasmer_runtime_core::codegen

The codegen module provides common functions and data structures used by multiple backends during the code generation process.

Structs

BreakpointInfo

Information for a breakpoint

EventSink

A sink for parse events.

MiddlewareChain

A container for a chain of middlewares.

SimpleStreamingCompilerGen

A simple generator for a StreamingCompiler.

StreamingCompiler

A streaming compiler which is designed to generated code for a module based on a stream of wasm parser events.

Enums

Event

An event generated during parsing of a wasm binary

InternalEvent

Kinds of InternalEvents created during parsing.

Traits

FunctionCodeGenerator

The function-scope code generator trait.

FunctionMiddleware

A trait that represents the signature required to implement middleware for a function.

ModuleCodeGenerator

A trait that represents the functions needed to be implemented to generate code for a module.

Functions

validating_parser_config

Create a new ValidatingParserConfig with the given features.

Type Definitions

BreakpointHandler

A type that defines a function pointer, which is called when breakpoints occur.

BreakpointMap

Maps instruction pointers to their breakpoint handlers.