Fix #1104: Separate IRTrees and JSTrees.

use `_` if argument unused