diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-02-09 10:24:26 -0800 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-02-09 10:24:26 -0800 |
commit | a0702b54d1db35a6006644882c0b5420d8670958 (patch) | |
tree | e246bb342237e8caabd45450301cb7cc5e4ccf24 /deps/v8/src/safepoint-table.h | |
parent | a48a0755358d322f4a593d09c331432c10a500bc (diff) | |
download | android-node-v8-a0702b54d1db35a6006644882c0b5420d8670958.tar.gz android-node-v8-a0702b54d1db35a6006644882c0b5420d8670958.tar.bz2 android-node-v8-a0702b54d1db35a6006644882c0b5420d8670958.zip |
Upgrade V8 to 3.1.2
Diffstat (limited to 'deps/v8/src/safepoint-table.h')
-rw-r--r-- | deps/v8/src/safepoint-table.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/deps/v8/src/safepoint-table.h b/deps/v8/src/safepoint-table.h index eeeae37fbe..8803d06f5b 100644 --- a/deps/v8/src/safepoint-table.h +++ b/deps/v8/src/safepoint-table.h @@ -220,8 +220,8 @@ class SafepointTableBuilder BASE_EMBEDDED { int arguments, int deoptimization_index); - // Update the last safepoint with the size of the code generated for the gap - // following it. + // Update the last safepoint with the size of the code generated until the + // end of the gap following it. void SetPcAfterGap(int pc) { ASSERT(!deoptimization_info_.is_empty()); int index = deoptimization_info_.length() - 1; @@ -232,6 +232,11 @@ class SafepointTableBuilder BASE_EMBEDDED { // entry must be enough to hold all the pointer indexes. void Emit(Assembler* assembler, int bits_per_entry); + // Count the number of deoptimization points where the next + // following deoptimization point comes less than limit bytes + // after the end of this point's gap. + int CountShortDeoptimizationIntervals(unsigned limit); + private: struct DeoptimizationInfo { unsigned pc; @@ -247,8 +252,8 @@ class SafepointTableBuilder BASE_EMBEDDED { ZoneList<ZoneList<int>*> indexes_; ZoneList<ZoneList<int>*> registers_; - bool emitted_; unsigned offset_; + bool emitted_; DISALLOW_COPY_AND_ASSIGN(SafepointTableBuilder); }; |