diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-09-10 15:38:28 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-09-10 17:08:36 -0700 |
| commit | cb7a5395ddfaa7b8fc40db57b32c22f69780ccd6 (patch) | |
| tree | 4c79be0560610f8ae49a16670ff9dede47bcaaf1 /src/rustc/lib | |
| parent | 29003c799f41cce948bc043cdd1350ca4bee949e (diff) | |
Convert std::map to camel case
Diffstat (limited to 'src/rustc/lib')
| -rw-r--r-- | src/rustc/lib/llvm.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rustc/lib/llvm.rs b/src/rustc/lib/llvm.rs index 4e529239401..64258fcd43a 100644 --- a/src/rustc/lib/llvm.rs +++ b/src/rustc/lib/llvm.rs @@ -1,4 +1,4 @@ -use std::map::hashmap; +use std::map::HashMap; use libc::{c_char, c_int, c_uint, c_longlong, c_ulonglong}; @@ -1038,8 +1038,8 @@ fn SetLinkage(Global: ValueRef, Link: Linkage) { /* Memory-managed object interface to type handles. */ -type type_names = @{type_names: std::map::hashmap<TypeRef, ~str>, - named_types: std::map::hashmap<~str, TypeRef>}; +type type_names = @{type_names: std::map::HashMap<TypeRef, ~str>, + named_types: std::map::HashMap<~str, TypeRef>}; fn associate_type(tn: type_names, s: ~str, t: TypeRef) { assert tn.type_names.insert(t, s); @@ -1057,7 +1057,7 @@ fn name_has_type(tn: type_names, s: ~str) -> Option<TypeRef> { fn mk_type_names() -> type_names { pure fn hash(t: &TypeRef) -> uint { *t as uint } pure fn eq(a: &TypeRef, b: &TypeRef) -> bool { *a == *b } - @{type_names: std::map::hashmap(), + @{type_names: std::map::HashMap(), named_types: std::map::str_hash()} } |
