| 261 | } |
| 262 | |
| 263 | ARROW_NO_INLINE int32_t ErrorAsExceptionNoInline(int32_t v) { |
| 264 | if (ARROW_PREDICT_FALSE(v == 42)) { |
| 265 | throw std::invalid_argument("42"); |
| 266 | } |
| 267 | return v + 1; |
| 268 | } |
| 269 | |
| 270 | static void ErrorSchemeNoError(benchmark::State& state) { // NOLINT non-const reference |
| 271 | auto integers = RandomIntegers(); |
no outgoing calls
no test coverage detected