From 3a050b22f37f3c79a10a8ebae3d292fa77e91b76 Mon Sep 17 00:00:00 2001 From: xleroy Date: Sun, 23 May 2010 15:26:33 +0000 Subject: More faithful semantics for volatile reads and writes. git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1346 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e --- cfrontend/Csem.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cfrontend/Csem.v') diff --git a/cfrontend/Csem.v b/cfrontend/Csem.v index 4e4c3795..42884091 100644 --- a/cfrontend/Csem.v +++ b/cfrontend/Csem.v @@ -901,7 +901,7 @@ Inductive step: state -> trace -> state -> Prop := E0 (State f f.(fn_body) k e m2) | step_external_function: forall id targs tres vargs k m vres t m', - external_call (external_function id targs tres) (Genv.find_symbol ge) vargs m t vres m' -> + external_call (external_function id targs tres) ge vargs m t vres m' -> step (Callstate (External id targs tres) vargs k m) t (Returnstate vres k m') @@ -1106,7 +1106,7 @@ with eval_funcall: mem -> fundef -> list val -> trace -> mem -> val -> Prop := Mem.free_list m3 (blocks_of_env e) = Some m4 -> eval_funcall m (Internal f) vargs t m4 vres | eval_funcall_external: forall m id targs tres vargs t vres m', - external_call (external_function id targs tres) (Genv.find_symbol ge) vargs m t vres m' -> + external_call (external_function id targs tres) ge vargs m t vres m' -> eval_funcall m (External id targs tres) vargs t m' vres. Scheme exec_stmt_ind2 := Minimality for exec_stmt Sort Prop -- cgit