Index: src/mips/assembler-mips.h |
diff --git a/src/mips/assembler-mips.h b/src/mips/assembler-mips.h |
index db797ce9dc7b2c1a5f791dd2c0716712627fbb29..75d110a36cb2f3530e937fc90102a3dc4ca1dcfd 100644 |
--- a/src/mips/assembler-mips.h |
+++ b/src/mips/assembler-mips.h |
@@ -523,7 +523,7 @@ class Assembler : public AssemblerBase { |
// is too small, a fatal error occurs. No deallocation of the buffer is done |
// upon destruction of the assembler. |
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 |
@@ -943,8 +943,6 @@ class Assembler : public AssemblerBase { |
void db(uint8_t data); |
void dd(uint32_t data); |
- int32_t pc_offset() const { return pc_ - buffer_; } |
- |
PositionsRecorder* positions_recorder() { return &positions_recorder_; } |
// Postpone the generation of the trampoline pool for the specified number of |
@@ -1087,13 +1085,6 @@ class Assembler : public AssemblerBase { |
} |
private: |
- // 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_; |
- |
// Buffer size and constant pool distance are checked together at regular |
// intervals of kBufferCheckInterval emitted bytes. |
static const int kBufferCheckInterval = 1*KB/2; |
@@ -1104,7 +1095,6 @@ class Assembler : public AssemblerBase { |
// not have to check for overflow. The same is true for writes of large |
// relocation info entries. |
static const int kGap = 32; |
- byte* pc_; // The program counter - moves forward. |
// Repeated checking whether the trampoline pool should be emitted is rather |