Avoid inlining calls to external functions
authorDavid Neto <dneto@google.com>
Fri, 31 Mar 2017 14:36:58 +0000 (10:36 -0400)
committerDavid Neto <dneto@google.com>
Fri, 31 Mar 2017 14:36:58 +0000 (10:36 -0400)
commitceb1d4f2fdbd48d7de94a693a77b1153d03f1431
tree57182f1efbe36ea13187f0f2bd0210f422dbecd0
parent4fc930229dff7669aaf315e0563bc586242d8e79
Avoid inlining calls to external functions

External functions don't have bodies to inline anyway.
Fixes https://github.com/KhronosGroup/SPIRV-Tools/issues/605
source/opt/inline_pass.cpp
source/opt/inline_pass.h
test/opt/inline_test.cpp