From 7999c9ee1f09f7d555e3efc39f030564f76a3354 Mon Sep 17 00:00:00 2001 From: xleroy Date: Mon, 10 May 2010 15:35:02 +0000 Subject: - Extended traces so that pointers within globals are supported as event values. - Revised handling of volatile reads: the execution environment dictates the value read, via the trace of events. git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1345 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e --- backend/CminorSel.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/CminorSel.v') diff --git a/backend/CminorSel.v b/backend/CminorSel.v index 231af8fb..65dd4dec 100644 --- a/backend/CminorSel.v +++ b/backend/CminorSel.v @@ -354,7 +354,7 @@ Inductive step: state -> trace -> state -> Prop := step (Callstate (Internal f) vargs k m) E0 (State f f.(fn_body) k (Vptr sp Int.zero) e m') | step_external_function: forall ef vargs k m t vres m', - external_call ef vargs m t vres m' -> + external_call ef (Genv.find_symbol ge) vargs m t vres m' -> step (Callstate (External ef) vargs k m) t (Returnstate vres k m') -- cgit