folly: Range: detail::throwOutOfRange -> std::__throw_out_of_range
Summary: No need to define our own. Generated code is similar: https://godbolt.org/g/5xWrNx (one extra move instruction). ``` .L20: subq $8, %rsp call S::outOfRange() [clone .isra.0] ``` ``` .LC1: .string "out of range" .L26: subq $8, %rsp movl $.LC1, %edi call std::__throw_out_of_range(char const*) ``` Reviewed By: Orvid Differential Revision: D3945578 fbshipit-source-id: c65e9dea55e8f01f51766b2695af68d2bc92c266
Showing
Please register or sign in to comment