aboutsummaryrefslogtreecommitdiffstats
path: root/ia32
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2015-08-21 17:53:44 +0200
committerXavier Leroy <xavier.leroy@inria.fr>2015-08-21 17:53:44 +0200
commit4f187fdafdac0cf4a8b83964c89d79741dbd813e (patch)
treed99aa80714b2b07817133ea8e4fc00a16f4b0adf /ia32
parent84c3580d0514c24a7c29eeec635e16183c3c5c65 (diff)
downloadcompcert-4f187fdafdac0cf4a8b83964c89d79741dbd813e.tar.gz
compcert-4f187fdafdac0cf4a8b83964c89d79741dbd813e.zip
Adapt the PowerPC port to the new builtin representation.
__builtin_get_spr() and __builtin_set_spr() work, but horrible error message if the SPR argument is not a constant. powerpc/AsmToJSON.ml needs updating.
Diffstat (limited to 'ia32')
-rw-r--r--ia32/SelectOp.vp2
1 files changed, 0 insertions, 2 deletions
diff --git a/ia32/SelectOp.vp b/ia32/SelectOp.vp
index bd3a4850..744902ec 100644
--- a/ia32/SelectOp.vp
+++ b/ia32/SelectOp.vp
@@ -521,5 +521,3 @@ Nondetfunction builtin_arg (e: expr) :=
| Eload chunk (Ainstack ofs) Enil => BA_loadstack chunk ofs
| _ => BA e
end.
-
-Definition builtin_function_const (id: ident) := false.