summaryrefslogtreecommitdiff
path: root/src/compiler/llvm/compiler_llvm.h
diff options
context:
space:
mode:
author Ian Rogers <irogers@google.com> 2013-06-11 10:26:37 -0700
committer Ian Rogers <irogers@google.com> 2013-06-11 10:26:37 -0700
commit62342ec720069cebe55f45aea2ff8512a17e7d62 (patch)
tree36e0d8d230163049d5f98b83f821fcb051b69b5d /src/compiler/llvm/compiler_llvm.h
parentccf124800fe025be3ca05c28a60514909ca66a11 (diff)
Mark newly allocated objects as precise.
New-arrays were previously precise because of finality. Because this has been weakened we need to explicitly mark allocated arrays as precise. Fix RegTypeCache::FromUninitialized that was not making newly allocated objects precise if the class wasn't final. As the object is being allocated we can be sure of its preciseness. For core, increases type based interface devirtualization from 0.136% to 2.873% (21x improvement) and general devirtualization from 1.874% to 4.663% (2.5x improvement). Change-Id: I494c5b4de7227bd5c8ca9cf37399594182dcd6f8
Diffstat (limited to 'src/compiler/llvm/compiler_llvm.h')
0 files changed, 0 insertions, 0 deletions