[sledge] Add: __llair_choice intrinsic

Summary: To use for nondeterministic choice in tests.

Reviewed By: ngorogiannis

Differential Revision: D23459509

fbshipit-source-id: 318930d02
master
Josh Berdine 4 years ago committed by Facebook GitHub Bot
parent 6f435a74d7
commit 2c16e15c92

@ -16,6 +16,8 @@ __attribute__((noreturn)) void __llair_throw(void* thrown_exception);
/* This models allocation that cannot fail. */ /* This models allocation that cannot fail. */
void* __llair_alloc(unsigned size); void* __llair_alloc(unsigned size);
int __llair_choice();
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif

Loading…
Cancel
Save