Skip to content

Commit e8a6935

Browse files
committed
---
yaml --- r: 2773 b: refs/heads/master c: 4364be3 h: refs/heads/master i: 2771: 330b2e8 v: v3
1 parent 1b89190 commit e8a6935

File tree

3 files changed

+1
-14
lines changed

3 files changed

+1
-14
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 9a88ba2b81a7376737591edeb98f9350386bf958
2+
refs/heads/master: 4364be3744a1286e5f8df0bcd06e9182d496cbb4

trunk/src/rt/rust_crate_cache.cpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -132,18 +132,6 @@ rust_crate_cache::rust_sym::get_val() {
132132

133133

134134

135-
rust_crate_cache::lib *
136-
rust_crate_cache::get_lib(size_t n, char const *name)
137-
{
138-
I(dom, n < crate->n_libs);
139-
lib *library = libs[n];
140-
if (!library) {
141-
library = new (dom) lib(dom, name);
142-
libs[n] = library;
143-
}
144-
return library;
145-
}
146-
147135
static inline void
148136
adjust_disp(uintptr_t &disp, const void *oldp, const void *newp)
149137
{

trunk/src/rt/rust_internal.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,6 @@ rust_crate_cache : public dom_owned<rust_crate_cache>,
322322
~rust_sym();
323323
};
324324

325-
lib *get_lib(size_t n, char const *name);
326325
type_desc *get_type_desc(size_t size,
327326
size_t align,
328327
size_t n_descs,

0 commit comments

Comments
 (0)