summaryrefslogtreecommitdiff
path: root/cfrontend/C2C.ml
diff options
context:
space:
mode:
Diffstat (limited to 'cfrontend/C2C.ml')
-rw-r--r--cfrontend/C2C.ml5
1 files changed, 5 insertions, 0 deletions
diff --git a/cfrontend/C2C.ml b/cfrontend/C2C.ml
index e7d8337..6ee217c 100644
--- a/cfrontend/C2C.ml
+++ b/cfrontend/C2C.ml
@@ -92,6 +92,11 @@ let builtins_generic = {
(TInt(IInt, []),
[TPtr(TInt(IChar, [AConst]), []); TInt(IInt, [])],
false);
+ (* Software memory barrier *)
+ "__builtin_membar",
+ (TVoid [],
+ [],
+ false);
(* Variable arguments *)
(* va_start(ap,n)
(preprocessing) --> __builtin_va_start(ap, arg)