rt: Include rust_shape.h in rust_obstack.cpp and remove the duplicate DPRINT() macro

This commit is contained in:
Patrick Walton 2011-09-01 11:44:13 -07:00
parent 156bc7f012
commit a6c14964c8

View File

@ -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;