mirror of
https://github.com/intel/llvm.git
synced 2026-02-03 10:39:35 +08:00
Add some if/then to avoid calling a function to get dynamic/synthetic types if we know we aren't going to need to call it. Avoid calling a function that returns a shared pointer twice: once for testing it and once for assigning it (even though that shared pointer is cached inside the value object), it just makes the code a bit clearer. llvm-svn: 240299
52 KiB
52 KiB