Simplified and precised the pass for inlines.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Merge pull request #354 from ddobrev/master

Simplified and precised the pass for inlines