See https://github.com/rubinius/rubinius/commit/8c1309ff792ac299bca1d9b80c94a66b40ff290b.