aboutsummaryrefslogtreecommitdiffstats
path: root/powerpc/CBuiltins.ml
diff options
context:
space:
mode:
Diffstat (limited to 'powerpc/CBuiltins.ml')
-rw-r--r--powerpc/CBuiltins.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/powerpc/CBuiltins.ml b/powerpc/CBuiltins.ml
index e054e18c..4fbe6e44 100644
--- a/powerpc/CBuiltins.ml
+++ b/powerpc/CBuiltins.ml
@@ -49,9 +49,9 @@ let builtins = {
false);
(* Memory accesses *)
"__builtin_read_int16_reversed",
- (TInt(IUShort, []), [TPtr(TInt(IUShort, []), [])], false);
+ (TInt(IUShort, []), [TPtr(TInt(IUShort, [AConst]), [])], false);
"__builtin_read_int32_reversed",
- (TInt(IUInt, []), [TPtr(TInt(IUInt, []), [])], false);
+ (TInt(IUInt, []), [TPtr(TInt(IUInt, [AConst]), [])], false);
"__builtin_write_int16_reversed",
(TVoid [], [TPtr(TInt(IUShort, []), []); TInt(IUShort, [])], false);
"__builtin_write_int32_reversed",