Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-01-22 | Don't build a stacktrace if it's only passed to erlang:raise/3 | Björn Gustavsson | |
Consider the following function: function({function,Name,Arity,CLabel,Is0}, Lc0) -> try %% Optimize the code for the function. catch Class:Error:Stack -> io:format("Function: ~w/~w\n", [Name,Arity]), erlang:raise(Class, Error, Stack) end. The stacktrace is retrieved, but it is only used in the call to erlang:raise/3. There is no need to build a stacktrace in this function. We can avoid the building if we introduce an instruction called raw_raise/3 that works exactly like the erlang:raise/3 BIF except that its third argument must be a raw stacktrace. | |||
2017-10-11 | hipe: Extend the basic_SUITE with one more test | Kostis Sagonas | |
that checks the construction of exception information. The test is taken from the compiler SUITE but part of it (the one that constructs exceptions which differ between BEAM and HiPE) is commented out. Related to the discussion of #1596. | |||
2015-12-16 | Three more tests added | Kostis Sagonas | |
2015-12-16 | More basic tests | Kostis Sagonas | |
and some tests that the HiPE compiler is not causing trouble | |||
2015-12-16 | First part of the basic test suite for the HiPE compiler | Kostis Sagonas | |