Index: src/ia32/assembler-ia32.h |
diff --git a/src/ia32/assembler-ia32.h b/src/ia32/assembler-ia32.h |
index 7a828c796779ec11ba336a56676a16ea632cd102..fe9f880e771bfc567d211b58420b674f11439be6 100644 |
--- a/src/ia32/assembler-ia32.h |
+++ b/src/ia32/assembler-ia32.h |
@@ -1098,6 +1098,8 @@ class Assembler : public AssemblerBase { |
// Generate the constant pool for the generated code. |
void PopulateConstantPool(ConstantPoolArray* constant_pool); |
+ bool is_constant_pool_available() const { return false; } |
+ |
protected: |
void emit_sse_operand(XMMRegister reg, const Operand& adr); |
void emit_sse_operand(XMMRegister dst, XMMRegister src); |
@@ -1106,6 +1108,11 @@ class Assembler : public AssemblerBase { |
byte* addr_at(int pos) { return buffer_ + pos; } |
+ void set_constant_pool_available(bool available) { |
+ // Constant pool is not supported on ia32. |
+ UNREACHABLE(); |
+ } |
+ |
private: |
uint32_t long_at(int pos) { |
@@ -1160,6 +1167,10 @@ class Assembler : public AssemblerBase { |
friend class CodePatcher; |
friend class EnsureSpace; |
+ // constant pool |
+ friend class FrameAndConstantPoolScope; |
+ friend class ConstantPoolUnavailableScope; |
+ |
// code generation |
RelocInfoWriter reloc_info_writer; |