| Index: src/mips/assembler-mips.h
|
| diff --git a/src/mips/assembler-mips.h b/src/mips/assembler-mips.h
|
| index c6b12b76d7a8002477eb7791081ee861b97e4d4c..7f2d5076e7da8fc46433124df2b7560071446035 100644
|
| --- a/src/mips/assembler-mips.h
|
| +++ b/src/mips/assembler-mips.h
|
| @@ -1111,6 +1111,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:
|
| // Relocation for a type-recording IC has the AST id added to it. This
|
| // member variable is a way to pass the information from the call site to
|
| @@ -1174,6 +1176,11 @@ class Assembler : public AssemblerBase {
|
| return block_buffer_growth_;
|
| }
|
|
|
| + void set_constant_pool_available(bool available) {
|
| + // Constant pool is not supported on mips.
|
| + UNREACHABLE();
|
| + }
|
| +
|
| private:
|
| // Buffer size and constant pool distance are checked together at regular
|
| // intervals of kBufferCheckInterval emitted bytes.
|
| @@ -1368,6 +1375,10 @@ class Assembler : public AssemblerBase {
|
| PositionsRecorder positions_recorder_;
|
| friend class PositionsRecorder;
|
| friend class EnsureSpace;
|
| +
|
| + // constant pool
|
| + friend class FrameAndConstantPoolScope;
|
| + friend class ConstantPoolUnavailableScope;
|
| };
|
|
|
|
|
|
|