diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2011-08-22 08:25:44 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2011-08-22 08:25:44 +0000 |
commit | 6ceceaed3d71a785fa1cccc1059c9a141e99eee1 (patch) | |
tree | c01abed3ac160a4a6481aa49ecce8382b19d7819 /cparser/Cutil.mli | |
parent | 3334dc4b5bcc6f58e2c487a7f6d7c2aa6e09e797 (diff) | |
download | compcert-kvx-6ceceaed3d71a785fa1cccc1059c9a141e99eee1.tar.gz compcert-kvx-6ceceaed3d71a785fa1cccc1059c9a141e99eee1.zip |
arm/PrintAsm: don't generate "vfd" directive, useless?
cparser: distinguish more carefully between lvalues and modifiable lvalues.
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1722 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'cparser/Cutil.mli')
-rw-r--r-- | cparser/Cutil.mli | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cparser/Cutil.mli b/cparser/Cutil.mli index 7bd9119e..051fafb9 100644 --- a/cparser/Cutil.mli +++ b/cparser/Cutil.mli @@ -149,8 +149,10 @@ val type_of_member : Env.t -> field -> typ small unsigned bitfields. *) val is_literal_0 : exp -> bool (* Is the given expression the integer literal "0"? *) -val is_lvalue : Env.t -> exp -> bool +val is_lvalue : exp -> bool (* Is the given expression a l-value? *) +val is_modifiable_lvalue : Env.t -> exp -> bool + (* Is the given expression a modifiable l-value? *) val valid_assignment : Env.t -> exp -> typ -> bool (* Check that an assignment of the given expression to a l-value of the given type is allowed. *) |