commit | 92c607f614484ed091cfb1f73fab5c736eed78de | [log] [tgz] |
---|---|---|
author | Sebastien Hertz <shertz@google.com> | Tue Jun 04 16:18:52 2013 +0200 |
committer | Sebastien Hertz <shertz@google.com> | Tue Jun 04 19:00:09 2013 +0200 |
tree | c3929e6a415fba4216846c71ea49fd63e5ab0b81 | |
parent | 4b3dc167917f8cf700416659b1bca220c1ccafe9 [diff] |
Optimize branch instructions in interpreter. This CL cleans up branch instructions handling by optimizing instruction displacement with an offset by changing the way we compute the next instruction. On ARM, it saves at least 3 instructions for GOTO and 4 instructions for IF-XX/Z. This CL also transforms the Instruction::At CHECK into a DCHECK. This improves the compiled code when computing next instruction. Change-Id: I901699201012d2dbbaef4d9158cc97b63bfbbe84