Skip to content

Commit 7943da2

Browse files
committed
---
yaml --- r: 139217 b: refs/heads/try2 c: 85c9fc6 h: refs/heads/master i: 139215: 6499636 v: v3
1 parent 164af9d commit 7943da2

File tree

158 files changed

+1062
-1064
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

158 files changed

+1062
-1064
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: eba3367404e9ca6abf84199b5c2dbe51ce6cdbde
8+
refs/heads/try2: 85c9fc6f8f59c146c44aacb4b9abfb2c35e16089
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/src/libcore/flate.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ pub mod rustrt {
4141
}
4242
}
4343

44-
const lz_none : c_int = 0x0; // Huffman-coding only.
45-
const lz_fast : c_int = 0x1; // LZ with only one probe
46-
const lz_norm : c_int = 0x80; // LZ with 128 probes, "normal"
47-
const lz_best : c_int = 0xfff; // LZ with 4095 probes, "best"
44+
static lz_none : c_int = 0x0; // Huffman-coding only.
45+
static lz_fast : c_int = 0x1; // LZ with only one probe
46+
static lz_norm : c_int = 0x80; // LZ with 128 probes, "normal"
47+
static lz_best : c_int = 0xfff; // LZ with 4095 probes, "best"
4848

4949
pub fn deflate_bytes(bytes: &[const u8]) -> ~[u8] {
5050
do vec::as_const_buf(bytes) |b, len| {

branches/try2/src/libcore/gc.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,11 +211,11 @@ unsafe fn find_segment_for_frame(fp: *Word, segment: *StackSegment)
211211

212212
type Memory = uint;
213213

214-
const task_local_heap: Memory = 1;
215-
const exchange_heap: Memory = 2;
216-
const stack: Memory = 4;
214+
static task_local_heap: Memory = 1;
215+
static exchange_heap: Memory = 2;
216+
static stack: Memory = 4;
217217

218-
const need_cleanup: Memory = exchange_heap | stack;
218+
static need_cleanup: Memory = exchange_heap | stack;
219219

220220
// Walks stack, searching for roots of the requested type, and passes
221221
// each root to the visitor.

branches/try2/src/libcore/hashmap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pub mod linear {
2525
use uint;
2626
use vec;
2727

28-
const INITIAL_CAPACITY: uint = 32u; // 2^5
28+
static INITIAL_CAPACITY: uint = 32u; // 2^5
2929

3030
struct Bucket<K,V> {
3131
hash: uint,

0 commit comments

Comments
 (0)