[Bug translator/6644] New: Impure arguments prevent eliding pure function calls
joshua dot i dot stone at intel dot com
sourceware-bugzilla@sourceware.org
Sat Jun 14 14:27:00 GMT 2008
When a pure function has an argument that not pure, we should be able to
evaluate the impure argument and skip calling the pure function. For example:
function foo:long(x:long) { return x * x; }
probe begin { foo(println("hello")); }
Currently the translator isn't eliding anything out of this, but it ought to be
able to reduce it down to something like:
probe begin { println("hello"); }
--
Summary: Impure arguments prevent eliding pure function calls
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: joshua dot i dot stone at intel dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=6644
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Systemtap
mailing list