diff options
Diffstat (limited to 'chromium/v8/src/codegen/safepoint-table.h')
-rw-r--r-- | chromium/v8/src/codegen/safepoint-table.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/chromium/v8/src/codegen/safepoint-table.h b/chromium/v8/src/codegen/safepoint-table.h index fccce1a7a69..1df4311036d 100644 --- a/chromium/v8/src/codegen/safepoint-table.h +++ b/chromium/v8/src/codegen/safepoint-table.h @@ -164,7 +164,6 @@ class SafepointTableBuilder { explicit SafepointTableBuilder(Zone* zone) : deoptimization_info_(zone), emitted_(false), - last_lazy_safepoint_(0), zone_(zone) {} // Get the offset of the emitted safepoint table in the code. @@ -173,13 +172,6 @@ class SafepointTableBuilder { // Define a new safepoint for the current position in the body. Safepoint DefineSafepoint(Assembler* assembler, Safepoint::DeoptMode mode); - // Record deoptimization index for lazy deoptimization for the last - // outstanding safepoints. - void RecordLazyDeoptimizationIndex(int index); - void BumpLastLazySafepointIndex() { - last_lazy_safepoint_ = deoptimization_info_.size(); - } - // Emit the safepoint table after the body. The number of bits per // entry must be enough to hold all the pointer indexes. V8_EXPORT_PRIVATE void Emit(Assembler* assembler, int bits_per_entry); @@ -188,7 +180,8 @@ class SafepointTableBuilder { // trampoline field. Calling this function ensures that the safepoint // table contains the trampoline PC {trampoline} that replaced the // return PC {pc} on the stack. - int UpdateDeoptimizationInfo(int pc, int trampoline, int start); + int UpdateDeoptimizationInfo(int pc, int trampoline, int start, + unsigned deopt_index); private: struct DeoptimizationInfo { @@ -215,7 +208,6 @@ class SafepointTableBuilder { unsigned offset_; bool emitted_; - size_t last_lazy_safepoint_; Zone* zone_; |