Skip to content

Commit 7f73cf6

Browse files
committed
---
yaml --- r: 144331 b: refs/heads/try2 c: b3fa43f h: refs/heads/master i: 144329: 53b73d9 144327: efbafa7 v: v3
1 parent 63ff7d0 commit 7f73cf6

File tree

5 files changed

+1
-72
lines changed

5 files changed

+1
-72
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 74b2d9e19b2784aed009bd34aaeed43248944aca
8+
refs/heads/try2: b3fa43f6e0c94d39fc08846c53eac48e2903b97f
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/mk/rt.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ RUNTIME_CXXS_$(1)_$(2) := \
7575
rt/rust_gc_metadata.cpp \
7676
rt/rust_util.cpp \
7777
rt/rust_log.cpp \
78-
rt/rust_exchange_alloc.cpp \
7978
rt/isaac/randport.cpp \
8079
rt/miniz.cpp \
8180
rt/rust_abi.cpp \

branches/try2/src/rt/rust_exchange_alloc.cpp

Lines changed: 0 additions & 35 deletions
This file was deleted.

branches/try2/src/rt/rust_exchange_alloc.h

Lines changed: 0 additions & 24 deletions
This file was deleted.

branches/try2/src/rt/rust_util.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#define RUST_UTIL_H
1313

1414
#include <limits.h>
15-
#include "rust_exchange_alloc.h"
1615
#include "rust_type.h"
1716

1817
extern struct type_desc str_body_tydesc;
@@ -57,16 +56,6 @@ vec_data(rust_vec *v) {
5756
return reinterpret_cast<T*>(v->data);
5857
}
5958

60-
inline void reserve_vec_exact(rust_vec** vpp,
61-
size_t size) {
62-
if (size > (*vpp)->alloc) {
63-
rust_exchange_alloc exchange_alloc;
64-
*vpp = (rust_vec*)exchange_alloc
65-
.realloc(*vpp, size + sizeof(rust_vec));
66-
(*vpp)->alloc = size;
67-
}
68-
}
69-
7059
typedef rust_vec rust_str;
7160

7261
inline size_t get_box_size(size_t body_size, size_t body_align) {

0 commit comments

Comments
 (0)