]> git.lizzy.rs Git - rust.git/commitdiff
EntityMap got renamed to SecondaryMap
authorbjorn3 <bjorn3@users.noreply.github.com>
Thu, 27 Sep 2018 17:19:16 +0000 (19:19 +0200)
committerbjorn3 <bjorn3@users.noreply.github.com>
Thu, 27 Sep 2018 17:19:16 +0000 (19:19 +0200)
src/pretty_clif.rs

index 08e685841aace03b9e9069382b841d307d3ed8aa..53e0d5cd1cefc57db69e7eed6ec149c0e057c0e9 100644 (file)
@@ -2,7 +2,7 @@
 use std::collections::HashMap;
 use std::fmt;
 
-use cranelift::codegen::entity::EntityMap;
+use cranelift::codegen::entity::SecondaryMap;
 use cranelift::codegen::write::{FuncWriter, PlainWriter};
 
 use crate::prelude::*;
@@ -14,7 +14,7 @@ fn write_instruction(
         &mut self,
         w: &mut dyn fmt::Write,
         func: &Function,
-        aliases: &EntityMap<Value, Vec<Value>>,
+        aliases: &SecondaryMap<Value, Vec<Value>>,
         isa: Option<&dyn isa::TargetIsa>,
         inst: Inst,
         indent: usize,