Skip to content

Commit a6c1496

Browse files
committed
rt: Include rust_shape.h in rust_obstack.cpp and remove the duplicate DPRINT() macro
1 parent 156bc7f commit a6c1496

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/rt/rust_obstack.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,20 @@
33
#include <algorithm>
44
#include <cassert>
55
#include <cstdlib>
6+
#include <iostream>
67
#include <new>
78
#include <stdint.h>
89

910
#include "rust_internal.h"
1011
#include "rust_obstack.h"
12+
#include "rust_shape.h"
1113
#include "rust_task.h"
1214

1315
// ISAAC, let go of max()!
1416
#ifdef max
1517
#undef max
1618
#endif
1719

18-
//#define DPRINT(fmt,...) fprintf(stderr, fmt, ##__VA_ARGS__)
19-
#define DPRINT(fmt,...)
20-
2120
//const size_t DEFAULT_CHUNK_SIZE = 4096;
2221
const size_t DEFAULT_CHUNK_SIZE = 500000;
2322
const size_t DEFAULT_ALIGNMENT = 16;

0 commit comments

Comments
 (0)