[erlang-questions] HiPE compiler

Björn Gustavsson bgustavsson@REDACTED
Mon Jan 30 08:20:03 CET 2012

On Mon, Jan 30, 2012 at 3:11 AM, Daniel Luna <daniel@REDACTED> wrote:
> Just remember to compile your files with debug_info for this to work.
> HiPE needs the information in there to do its magic.

No, that is not correct. HiPE does not the abstract code in the
BEAM file. It uses the BEAM byte code itself to generate native

By the way, there is an easy way add native code to existing
BEAM files, with no need for the source code:

erlc +native FILE.beam

Björn Gustavsson, Erlang/OTP, Ericsson AB

More information about the erlang-questions mailing list