summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-06-13 17:23:15 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-06-13 17:23:15 +0000
commita0b4c565fddb8249488414fb8583c1f60578009b (patch)
tree12126f5e1d5f684a77a26a85566a19dabfc99dba /llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp
parent408b45249a708608d57a8ec377d7e70a84cd0080 (diff)
downloadbcm5719-llvm-a0b4c565fddb8249488414fb8583c1f60578009b.tar.gz
bcm5719-llvm-a0b4c565fddb8249488414fb8583c1f60578009b.zip
Don't use std::errc.
As noted on Errc.h: // * std::errc is just marked with is_error_condition_enum. This means that // common patters like AnErrorCode == errc::no_such_file_or_directory take // 4 virtual calls instead of two comparisons. And on some libstdc++ those virtual functions conclude that ------------------------ int main() { std::error_code foo = std::make_error_code(std::errc::no_such_file_or_directory); return foo == std::errc::no_such_file_or_directory; } ------------------------- should exit with 0. llvm-svn: 239685
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud