| Index: src/arm/assembler-arm.h
|
| ===================================================================
|
| --- src/arm/assembler-arm.h (revision 4506)
|
| +++ src/arm/assembler-arm.h (working copy)
|
| @@ -941,6 +941,10 @@
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(BlockConstPoolScope);
|
| };
|
|
|
| + // Postpone the generation of the constant pool for the specified number of
|
| + // instructions.
|
| + void BlockConstPoolFor(int instructions);
|
| +
|
| // Debugging
|
|
|
| // Mark address of the ExitJSFrame code.
|
| @@ -958,13 +962,6 @@
|
| int current_position() const { return current_position_; }
|
| int current_statement_position() const { return current_statement_position_; }
|
|
|
| - void StartBlockConstPool() {
|
| - const_pool_blocked_nesting_++;
|
| - }
|
| - void EndBlockConstPool() {
|
| - const_pool_blocked_nesting_--;
|
| - }
|
| -
|
| // Read/patch instructions
|
| static Instr instr_at(byte* pc) { return *reinterpret_cast<Instr*>(pc); }
|
| static void instr_at_put(byte* pc, Instr instr) {
|
| @@ -1001,6 +998,13 @@
|
| if (no_const_pool_before_ < pc_offset) no_const_pool_before_ = pc_offset;
|
| }
|
|
|
| + void StartBlockConstPool() {
|
| + const_pool_blocked_nesting_++;
|
| + }
|
| + void EndBlockConstPool() {
|
| + const_pool_blocked_nesting_--;
|
| + }
|
| +
|
| private:
|
| // Code buffer:
|
| // The buffer into which code and relocation info are generated.
|
|
|