Chromium Code Reviews| Index: src/lithium.h |
| =================================================================== |
| --- src/lithium.h (revision 9915) |
| +++ src/lithium.h (working copy) |
| @@ -454,6 +454,7 @@ |
| translation_index_(-1), |
| ast_id_(ast_id), |
| parameter_count_(parameter_count), |
| + pc_offset_(-1), |
| values_(value_count), |
| representations_(value_count), |
| spilled_registers_(NULL), |
| @@ -467,6 +468,7 @@ |
| int translation_index() const { return translation_index_; } |
| int ast_id() const { return ast_id_; } |
| int parameter_count() const { return parameter_count_; } |
| + int pc_offset() const { return pc_offset_; } |
| LOperand** spilled_registers() const { return spilled_registers_; } |
| LOperand** spilled_double_registers() const { |
| return spilled_double_registers_; |
| @@ -483,10 +485,12 @@ |
| return representations_[index].IsTagged(); |
| } |
| - void Register(int deoptimization_index, int translation_index) { |
| + void Register(int deoptimization_index, int translation_index, |
|
Vyacheslav Egorov (Chromium)
2011/11/10 15:50:54
one argument on a line
fschneider
2011/11/11 14:09:08
Done.
|
| + int pc_offset) { |
| ASSERT(!HasBeenRegistered()); |
| deoptimization_index_ = deoptimization_index; |
| translation_index_ = translation_index; |
| + pc_offset_ = pc_offset; |
| } |
| bool HasBeenRegistered() const { |
| return deoptimization_index_ != Safepoint::kNoDeoptimizationIndex; |
| @@ -507,6 +511,7 @@ |
| int translation_index_; |
| int ast_id_; |
| int parameter_count_; |
| + int pc_offset_; |
| ZoneList<LOperand*> values_; |
| ZoneList<Representation> representations_; |