aboutsummaryrefslogtreecommitdiffstats
path: root/x86
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2017-02-13 11:15:34 +0100
committerXavier Leroy <xavier.leroy@inria.fr>2017-02-13 11:15:34 +0100
commit3bd82b3cb10a721f2e2c8db6d0271c83a22095a3 (patch)
tree5bcb0ee57b1ab5f8083594f0596edcf1cd3990e8 /x86
parentc736e7d34560fef54ec4ab652be28bf2df4e907f (diff)
downloadcompcert-3bd82b3cb10a721f2e2c8db6d0271c83a22095a3.tar.gz
compcert-3bd82b3cb10a721f2e2c8db6d0271c83a22095a3.zip
Use "Local" as prefix
Open Local becomes Local Open. This silences Coq 8.6's warning. Also: remove one useless Require-inside-a-module that caused another warning.
Diffstat (limited to 'x86')
-rw-r--r--x86/Asmgen.v4
-rw-r--r--x86/Asmgenproof1.v2
-rw-r--r--x86/SelectLongproof.v4
-rw-r--r--x86/SelectOp.vp2
-rw-r--r--x86/SelectOpproof.v2
5 files changed, 7 insertions, 7 deletions
diff --git a/x86/Asmgen.v b/x86/Asmgen.v
index bb26d507..a627881b 100644
--- a/x86/Asmgen.v
+++ b/x86/Asmgen.v
@@ -16,8 +16,8 @@ Require Import Coqlib Errors.
Require Import AST Integers Floats Memdata.
Require Import Op Locations Mach Asm.
-Open Local Scope string_scope.
-Open Local Scope error_monad_scope.
+Local Open Scope string_scope.
+Local Open Scope error_monad_scope.
(** The code generation functions take advantage of several characteristics of the [Mach] code generated by earlier passes of the compiler:
- Argument and result registers are of the correct type.
diff --git a/x86/Asmgenproof1.v b/x86/Asmgenproof1.v
index 401be7d7..6191ea39 100644
--- a/x86/Asmgenproof1.v
+++ b/x86/Asmgenproof1.v
@@ -17,7 +17,7 @@ Require Import AST Errors Integers Floats Values Memory Globalenvs.
Require Import Op Locations Conventions Mach Asm.
Require Import Asmgen Asmgenproof0.
-Open Local Scope error_monad_scope.
+Local Open Scope error_monad_scope.
(** * Correspondence between Mach registers and x86 registers *)
diff --git a/x86/SelectLongproof.v b/x86/SelectLongproof.v
index f7d5df10..2262a70b 100644
--- a/x86/SelectLongproof.v
+++ b/x86/SelectLongproof.v
@@ -19,8 +19,8 @@ Require Import Cminor Op CminorSel.
Require Import SelectOp SelectOpproof SplitLong SplitLongproof.
Require Import SelectLong.
-Open Local Scope cminorsel_scope.
-Open Local Scope string_scope.
+Local Open Scope cminorsel_scope.
+Local Open Scope string_scope.
(** * Correctness of the instruction selection functions for 64-bit operators *)
diff --git a/x86/SelectOp.vp b/x86/SelectOp.vp
index db546d99..f8010f0a 100644
--- a/x86/SelectOp.vp
+++ b/x86/SelectOp.vp
@@ -41,7 +41,7 @@ Require Import Compopts.
Require Import AST Integers Floats.
Require Import Op CminorSel.
-Open Local Scope cminorsel_scope.
+Local Open Scope cminorsel_scope.
(** ** Constants **)
diff --git a/x86/SelectOpproof.v b/x86/SelectOpproof.v
index ce15b6e1..cdb79c6f 100644
--- a/x86/SelectOpproof.v
+++ b/x86/SelectOpproof.v
@@ -24,7 +24,7 @@ Require Import Op.
Require Import CminorSel.
Require Import SelectOp.
-Open Local Scope cminorsel_scope.
+Local Open Scope cminorsel_scope.
(** * Useful lemmas and tactics *)