File tree Expand file tree Collapse file tree 5 files changed +1
-72
lines changed Expand file tree Collapse file tree 5 files changed +1
-72
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
5
5
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
- refs/heads/try2: 74b2d9e19b2784aed009bd34aaeed43248944aca
8
+ refs/heads/try2: b3fa43f6e0c94d39fc08846c53eac48e2903b97f
9
9
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
10
10
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
11
11
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
Original file line number Diff line number Diff line change @@ -75,7 +75,6 @@ RUNTIME_CXXS_$(1)_$(2) := \
75
75
rt/rust_gc_metadata.cpp \
76
76
rt/rust_util.cpp \
77
77
rt/rust_log.cpp \
78
- rt/rust_exchange_alloc.cpp \
79
78
rt/isaac/randport.cpp \
80
79
rt/miniz.cpp \
81
80
rt/rust_abi.cpp \
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 12
12
#define RUST_UTIL_H
13
13
14
14
#include < limits.h>
15
- #include " rust_exchange_alloc.h"
16
15
#include " rust_type.h"
17
16
18
17
extern struct type_desc str_body_tydesc;
@@ -57,16 +56,6 @@ vec_data(rust_vec *v) {
57
56
return reinterpret_cast <T*>(v->data );
58
57
}
59
58
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
-
70
59
typedef rust_vec rust_str;
71
60
72
61
inline size_t get_box_size (size_t body_size, size_t body_align) {
You can’t perform that action at this time.
0 commit comments