diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2011-09-01 11:44:13 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2011-09-01 11:47:58 -0700 |
| commit | a6c14964c8094e7816d544cdb0b1c47057e76577 (patch) | |
| tree | c319a5a9b4e60266beabb7fe10b3116cd332ecb5 /src/rt/rust_obstack.cpp | |
| parent | 156bc7f0127a0d880e914080e9b240b6928c9efe (diff) | |
| download | rust-a6c14964c8094e7816d544cdb0b1c47057e76577.tar.gz rust-a6c14964c8094e7816d544cdb0b1c47057e76577.zip | |
rt: Include rust_shape.h in rust_obstack.cpp and remove the duplicate DPRINT() macro
Diffstat (limited to 'src/rt/rust_obstack.cpp')
| -rw-r--r-- | src/rt/rust_obstack.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rt/rust_obstack.cpp b/src/rt/rust_obstack.cpp index 81e57af1984..a3a992c2c57 100644 --- a/src/rt/rust_obstack.cpp +++ b/src/rt/rust_obstack.cpp @@ -3,11 +3,13 @@ #include <algorithm> #include <cassert> #include <cstdlib> +#include <iostream> #include <new> #include <stdint.h> #include "rust_internal.h" #include "rust_obstack.h" +#include "rust_shape.h" #include "rust_task.h" // ISAAC, let go of max()! @@ -15,9 +17,6 @@ #undef max #endif -//#define DPRINT(fmt,...) fprintf(stderr, fmt, ##__VA_ARGS__) -#define DPRINT(fmt,...) - //const size_t DEFAULT_CHUNK_SIZE = 4096; const size_t DEFAULT_CHUNK_SIZE = 500000; const size_t DEFAULT_ALIGNMENT = 16; |
