diff options
author | TDYa127 <tdy@google.com> | 2012-05-28 21:49:23 -0700 |
---|---|---|
committer | Shih-wei Liao <sliao@google.com> | 2012-06-03 08:59:14 -0700 |
commit | af543476661966c83a1e1c4db4fbef0d9a2d3afa (patch) | |
tree | 25a85124f4f3ecc96292d8d9d74d70eb62be1f22 /src/compiler_llvm/ir_builder.h | |
parent | cb8f890e0723c4c9379aaf5c58bc80096c043f21 (diff) | |
download | art-af543476661966c83a1e1c4db4fbef0d9a2d3afa.zip art-af543476661966c83a1e1c4db4fbef0d9a2d3afa.tar.gz art-af543476661966c83a1e1c4db4fbef0d9a2d3afa.tar.bz2 |
Lazy pushing shadow frame.
Function:
aget v0, v1, v2
return v0
Original:
push shadow frame;
if (null pointer) { throw; pop shadow frame; unwind; }
if (index out of bounds) { throw; pop shadow frame; unwind; }
load from array;
pop shadow frame;
return;
New:
if (null pointer) { push shadow frame; throw; pop shadow frame; unwind; }
if (index out of bounds) { push shadow frame; throw; pop shadow frame; unwind; }
load from array;
return;
Change-Id: I7fc0ff12b9a5454f8e1491b9ce1cdef3afcbed23
Diffstat (limited to 'src/compiler_llvm/ir_builder.h')
0 files changed, 0 insertions, 0 deletions