| Index: src/ia32/assembler-ia32.h
|
| diff --git a/src/ia32/assembler-ia32.h b/src/ia32/assembler-ia32.h
|
| index 9fb7baa478d30f622e9269891e46f1e89a034a21..b8d42b4c0634c49108b11d50d6e21eff8e8dd98a 100644
|
| --- a/src/ia32/assembler-ia32.h
|
| +++ b/src/ia32/assembler-ia32.h
|
| @@ -582,7 +582,7 @@ class Assembler : public AssemblerBase {
|
| // upon destruction of the assembler.
|
| // TODO(vitalyr): the assembler does not need an isolate.
|
| Assembler(Isolate* isolate, void* buffer, int buffer_size);
|
| - ~Assembler();
|
| + virtual ~Assembler() { }
|
|
|
| // GetCode emits any pending (non-emitted) code and fills the descriptor
|
| // desc. GetCode() is idempotent; it returns the same result if no other
|
| @@ -1091,8 +1091,6 @@ class Assembler : public AssemblerBase {
|
| void db(uint8_t data);
|
| void dd(uint32_t data);
|
|
|
| - int pc_offset() const { return pc_ - buffer_; }
|
| -
|
| // Check if there is less than kGap bytes available in the buffer.
|
| // If this is the case, we need to grow the buffer before emitting
|
| // an instruction or relocation information.
|
| @@ -1111,7 +1109,6 @@ class Assembler : public AssemblerBase {
|
|
|
| // Avoid overflows for displacements etc.
|
| static const int kMaximalBufferSize = 512*MB;
|
| - static const int kMinimalBufferSize = 4*KB;
|
|
|
| byte byte_at(int pos) { return buffer_[pos]; }
|
| void set_byte_at(int pos, byte value) { buffer_[pos] = value; }
|
| @@ -1177,15 +1174,7 @@ class Assembler : public AssemblerBase {
|
| friend class CodePatcher;
|
| friend class EnsureSpace;
|
|
|
| - // Code buffer:
|
| - // The buffer into which code and relocation info are generated.
|
| - byte* buffer_;
|
| - int buffer_size_;
|
| - // True if the assembler owns the buffer, false if buffer is external.
|
| - bool own_buffer_;
|
| -
|
| // code generation
|
| - byte* pc_; // the program counter; moves forward
|
| RelocInfoWriter reloc_info_writer;
|
|
|
| PositionsRecorder positions_recorder_;
|
|
|