[Truffle] partial merge with Graal.