7fc8f72c25
This CL provides inline IL code for the getters _getInt8, _getInt16, etc. to speed up [] and byte array views. The code uses the existing LoadIndexed instructions by passing a index scale factor explicitly: For normal arrays loads, the scale factor is equal to the element size. For byte array access, the scale factor is always 1. I'm adding inlined setters in a separate CL. Review URL: https://codereview.chromium.org//12218008 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18173 260f80e4-7a28-3924-810f-c04153c831b5