summaryrefslogtreecommitdiff
path: root/asmcomp/amd64
diff options
context:
space:
mode:
authorMark Shinwell <mshinwell@janestreet.com>2015-12-18 16:42:40 +0000
committerMark Shinwell <mshinwell@janestreet.com>2015-12-18 16:42:40 +0000
commit933fdb2687da5c7681b0121ba25ca3548055ee07 (patch)
treedabf403c5cb4a60cf7aa5b7511ed816f87e2db11 /asmcomp/amd64
parentf6b5c9d579ebc316b5bbe22c321db2e626ae4622 (diff)
downloadocaml-933fdb2687da5c7681b0121ba25ca3548055ee07.tar.gz
Improved annotations on Psetfield etc
Diffstat (limited to 'asmcomp/amd64')
-rw-r--r--asmcomp/amd64/selection.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/asmcomp/amd64/selection.ml b/asmcomp/amd64/selection.ml
index 857a481dcb..d4907c05b7 100644
--- a/asmcomp/amd64/selection.ml
+++ b/asmcomp/amd64/selection.ml
@@ -196,7 +196,7 @@ method! select_operation op args =
assert false
end
(* Recognize store instructions *)
- | Cstore (Word_int|Word_val as chunk) ->
+ | Cstore ((Word_int|Word_val as chunk), _init) ->
begin match args with
[loc; Cop(Caddi, [Cop(Cload _, [loc']); Cconst_int n])]
when loc = loc' && self#is_immediate n ->