Skip to content
Snippets Groups Projects
Commit 70cc9bf9 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Optimizer [treeopt]: Support operator call short-hand.

A short-hand notation may now be used to match operator calls.
Eg the following fragment:

  F_APPLY(F_CONSTANT[TYPEOF($$->u.sval) == T_FUNCTION]
		    [SUBTYPEOF($$->u.sval) == FUNCTION_BUILTIN]
		    [$$->u.sval.u.efun->function == f_ge],
	  F_ARG_LIST(X, Y))

can now be written as:

  F_GE(X, Y)
parent d41ed071
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment