diff options
author | Rui Ueyama <ruiu@google.com> | 2018-02-28 00:09:22 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2018-02-28 00:09:22 +0000 |
commit | e3498ec56284009a0909220fedab2b610cf831d0 (patch) | |
tree | fe954c9bdb35e54d0c997088de382180ecce1310 /clang/lib/CodeGen/CGVTables.cpp | |
parent | fa2fc906d2708be6e868e80fec4806f24dcd6f2b (diff) | |
download | bcm5719-llvm-e3498ec56284009a0909220fedab2b610cf831d0.tar.gz bcm5719-llvm-e3498ec56284009a0909220fedab2b610cf831d0.zip |
[WebAssembly] Separate addUndefined into addUndefined{Function,Data,Global}.
Previously, one function adds all types of undefined symbols. That
doesn't fit to the wasm's undefined symbol semantics well because
different types of undefined symbols are very different in wasm.
As a result, separate control flows merge in this addUndefined function
and then separate again for each type. That wasn't easy to read.
This patch separates the function into three functions. Now it is pretty
clear what we are doing for each undefined symbol type.
Differential Revision: https://reviews.llvm.org/D43697
llvm-svn: 326271
Diffstat (limited to 'clang/lib/CodeGen/CGVTables.cpp')
0 files changed, 0 insertions, 0 deletions