diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-04-28 10:46:26 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-04-28 10:46:26 -0700 |
commit | 3b75f5070d491712eeaeefe5f12019e34e6b2250 (patch) | |
tree | 554825fca52ee9154ad10d689ea73c8d52bc7c71 /deps/v8/src/arm/assembler-arm.h | |
parent | 8f79169aef6cd447ff193616e49335473eeb15ba (diff) | |
download | node-new-3b75f5070d491712eeaeefe5f12019e34e6b2250.tar.gz |
Upgrade V8 to 2.2.6
Diffstat (limited to 'deps/v8/src/arm/assembler-arm.h')
-rw-r--r-- | deps/v8/src/arm/assembler-arm.h | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/deps/v8/src/arm/assembler-arm.h b/deps/v8/src/arm/assembler-arm.h index e6284d3c98..839ed67375 100644 --- a/deps/v8/src/arm/assembler-arm.h +++ b/deps/v8/src/arm/assembler-arm.h @@ -941,6 +941,10 @@ class Assembler : public Malloced { 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. @@ -956,14 +960,7 @@ class Assembler : public Malloced { int pc_offset() const { return pc_ - buffer_; } int current_position() const { return current_position_; } - int current_statement_position() const { return current_position_; } - - void StartBlockConstPool() { - const_pool_blocked_nesting_++; - } - void EndBlockConstPool() { - const_pool_blocked_nesting_--; - } + int current_statement_position() const { return current_statement_position_; } // Read/patch instructions static Instr instr_at(byte* pc) { return *reinterpret_cast<Instr*>(pc); } @@ -1001,6 +998,13 @@ class Assembler : public Malloced { 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. |