commit | bba675b4b14b2e09dae40a23b603e20d1e1be36f | [log] [tgz] |
---|---|---|
author | Goktug Gokdogan <goktug@google.com> | Thu Aug 28 19:10:26 2014 -0700 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Aug 29 23:10:07 2014 +0000 |
tree | 99c79df61d0ebd1b70fdcbac3cd06afe57792910 | |
parent | 35c892b9c99929e5962b08290854456fd81c1ded [diff] |
Replaces String cast with unsafe cast where it is safe Unfortunately, GWT compiler doesn't optimize cast that are guarded with instanceOf checks which results in double checking for casting. This patch fixes such double checks in critical emul code for String. Change-Id: I2d3176bf2d41d3b0cc22747422d6d4c032ee3761