about summary refs log tree commit diff
path: root/src/comp/lib
diff options
context:
space:
mode:
authorErick Tryzelaar <erick.tryzelaar@gmail.com>2011-08-12 07:15:18 -0700
committerGraydon Hoare <graydon@mozilla.com>2011-08-16 15:05:56 -0700
commite4a0f997fb01b9cbb650532fea1278159faff064 (patch)
tree6544a660e7af2a2485a14d200730d38e08ef29e4 /src/comp/lib
parentf764f9a8cf52e686ba6e54b594e6bbbdd5bc7b32 (diff)
downloadrust-e4a0f997fb01b9cbb650532fea1278159faff064.tar.gz
rust-e4a0f997fb01b9cbb650532fea1278159faff064.zip
Port the compiler to the typaram foo<T> syntax.
Diffstat (limited to 'src/comp/lib')
-rw-r--r--src/comp/lib/llvm.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/comp/lib/llvm.rs b/src/comp/lib/llvm.rs
index 3c22299b19c..12bcb5ad5fa 100644
--- a/src/comp/lib/llvm.rs
+++ b/src/comp/lib/llvm.rs
@@ -1420,8 +1420,8 @@ fn new_builder(llbb: BasicBlockRef) -> builder {
 
 /* Memory-managed object interface to type handles. */
 
-obj type_names(type_names: std::map::hashmap[TypeRef, str],
-               named_types: std::map::hashmap[str, TypeRef]) {
+obj type_names(type_names: std::map::hashmap<TypeRef, str>,
+               named_types: std::map::hashmap<str, TypeRef>) {
 
     fn associate(s: str, t: TypeRef) {
         assert (!named_types.contains_key(s));
@@ -1446,8 +1446,8 @@ fn mk_type_names() -> type_names {
 
     fn eq(a: &TypeRef, b: &TypeRef) -> bool { ret a as uint == b as uint; }
 
-    let hasher: std::map::hashfn[TypeRef] = hash;
-    let eqer: std::map::eqfn[TypeRef] = eq;
+    let hasher: std::map::hashfn<TypeRef> = hash;
+    let eqer: std::map::eqfn<TypeRef> = eq;
     let tn = std::map::mk_hashmap[TypeRef, str](hasher, eqer);
 
     ret type_names(tn, nt);