aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WasmObjectFile.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2018-05-18 20:51:38 +0000
committerEric Fiselier <eric@efcs.ca>2018-05-18 20:51:38 +0000
commit29e02657322f0cdfaefce0ae2d29f3e02ba0a3cc (patch)
tree9ba950f419b5c688467e46279ee9b1c41553d094 /llvm/lib/Object/WasmObjectFile.cpp
parent401b5ecfeaa014b2c420c5419e5e2edfe2e56390 (diff)
downloadllvm-29e02657322f0cdfaefce0ae2d29f3e02ba0a3cc.zip
llvm-29e02657322f0cdfaefce0ae2d29f3e02ba0a3cc.tar.gz
llvm-29e02657322f0cdfaefce0ae2d29f3e02ba0a3cc.tar.bz2
private_typeinfo: limit is_dst_type_derived_from_static_type optimization
Patch by Ryan Prichard If the destination type does not derive from the static type, we can skip the search_above_dst call, but we still need to run the !does_dst_type_point_to_our_static_type block of code. That block of code will increment info->number_to_dst_ptr to 2, and because dest isn't derived from static, the cast will ultimately fail. Fixes PR33439 Reviewed as https://reviews.llvm.org/D36447 llvm-svn: 332767
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions