[erlang-questions] hipe problems with R14B?

Kostis Sagonas <>
Fri Oct 15 19:29:01 CEST 2010


Kostis Sagonas wrote:
> Dan Kelley wrote:
>> I can't, but this minimal reproducer shows the problem:
>>
>> -----
>> -module(example).
>> -export([bar/1]).
>>
>> bar (Baz) ->
>>     binary_part(Baz, 0, 1).
> 
> ....  SNIP
> 
> and there is no case for BIFs with more than two arguments.  I will look 
> into this.

This can be fixed by the patch that appears in:

http://github.com/kostis/otp/commit/c0933e3d8158a2e783548070e4edd2f0bbacd6bd

the repository is: http://github.com/kostis/otp/tree/hipe-fixes

Since this is very simple I trust that somebody from the OTP team will 
include it directly to 'dev'.

Kostis


More information about the erlang-patches mailing list