hipe_unified_loader

DATA TYPES

offsets() = [Offset::integer() | offsets()]
reflist() = [{Data::term(), Offsets::offests()} | reflist()]
refs() = [{RefType::integer(), Reflist::reflist()} | refs()]

Functions


chunk_name(Architecture) -> term()

Returns the native code chunk name of the Architecture. (On which presumably we are running.)

load_hipe_modules() -> ok

Ensures HiPE's loader modules are loaded. Called from code.erl at start-up.

load_native_code(Mod::module_name(), Bin::binary()) -> {module, Mod} | no_native

Loads the native code of a module Mod. Returns {module,Mod} on success (for compatibility with code:load_file/1) and the atom no_native on failure.

post_beam_load(Mod) -> term()

load_module(Mod, Bin, Beam) -> term()

load(Mod, Bin) -> term()

View Functions