| Index: src/ia32/assembler-ia32.h
|
| ===================================================================
|
| --- src/ia32/assembler-ia32.h (revision 6894)
|
| +++ src/ia32/assembler-ia32.h (working copy)
|
| @@ -973,6 +973,10 @@
|
|
|
| PositionsRecorder* positions_recorder() { return &positions_recorder_; }
|
|
|
| + int relocation_writer_size() {
|
| + return (buffer_ + buffer_size_) - reloc_info_writer.pos();
|
| + }
|
| +
|
| // Avoid overflows for displacements etc.
|
| static const int kMaximalBufferSize = 512*MB;
|
| static const int kMinimalBufferSize = 4*KB;
|
|
|