Index: src/arm/assembler-arm.h |
diff --git a/src/arm/assembler-arm.h b/src/arm/assembler-arm.h |
index bc12480e9bf2d6d8bec038310c87b9bac440e5d8..3b9bb804fd331c144563d6522239c6967933a817 100644 |
--- a/src/arm/assembler-arm.h |
+++ b/src/arm/assembler-arm.h |
@@ -647,7 +647,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 |
@@ -1276,8 +1276,6 @@ class Assembler : public AssemblerBase { |
void db(uint8_t data); |
void dd(uint32_t data); |
- int pc_offset() const { return pc_ - buffer_; } |
- |
PositionsRecorder* positions_recorder() { return &positions_recorder_; } |
// Read/patch instructions |
@@ -1380,13 +1378,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_; |
- |
int next_buffer_check_; // pc offset of next buffer check |
// Code generation |
@@ -1395,7 +1386,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 |
// Constant pool generation |
// Pools are emitted in the instruction stream, preferably after unconditional |