| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_DEOPTIMIZER_H_ | 5 #ifndef V8_DEOPTIMIZER_H_ |
| 6 #define V8_DEOPTIMIZER_H_ | 6 #define V8_DEOPTIMIZER_H_ |
| 7 | 7 |
| 8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/deoptimize-reason.h" | 9 #include "src/deoptimize-reason.h" |
| 10 #include "src/macro-assembler.h" | 10 #include "src/macro-assembler.h" |
| (...skipping 798 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 809 int parameter_count() { return parameter_count_; } | 809 int parameter_count() { return parameter_count_; } |
| 810 | 810 |
| 811 static int registers_offset() { | 811 static int registers_offset() { |
| 812 return OFFSET_OF(FrameDescription, register_values_.registers_); | 812 return OFFSET_OF(FrameDescription, register_values_.registers_); |
| 813 } | 813 } |
| 814 | 814 |
| 815 static int double_registers_offset() { | 815 static int double_registers_offset() { |
| 816 return OFFSET_OF(FrameDescription, register_values_.double_registers_); | 816 return OFFSET_OF(FrameDescription, register_values_.double_registers_); |
| 817 } | 817 } |
| 818 | 818 |
| 819 static int float_registers_offset() { |
| 820 return OFFSET_OF(FrameDescription, register_values_.float_registers_); |
| 821 } |
| 822 |
| 819 static int frame_size_offset() { | 823 static int frame_size_offset() { |
| 820 return offsetof(FrameDescription, frame_size_); | 824 return offsetof(FrameDescription, frame_size_); |
| 821 } | 825 } |
| 822 | 826 |
| 823 static int pc_offset() { return offsetof(FrameDescription, pc_); } | 827 static int pc_offset() { return offsetof(FrameDescription, pc_); } |
| 824 | 828 |
| 825 static int state_offset() { return offsetof(FrameDescription, state_); } | 829 static int state_offset() { return offsetof(FrameDescription, state_); } |
| 826 | 830 |
| 827 static int continuation_offset() { | 831 static int continuation_offset() { |
| 828 return offsetof(FrameDescription, continuation_); | 832 return offsetof(FrameDescription, continuation_); |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1100 std::vector<Handle<Object> > expression_stack_; | 1104 std::vector<Handle<Object> > expression_stack_; |
| 1101 int source_position_; | 1105 int source_position_; |
| 1102 | 1106 |
| 1103 friend class Deoptimizer; | 1107 friend class Deoptimizer; |
| 1104 }; | 1108 }; |
| 1105 | 1109 |
| 1106 } // namespace internal | 1110 } // namespace internal |
| 1107 } // namespace v8 | 1111 } // namespace v8 |
| 1108 | 1112 |
| 1109 #endif // V8_DEOPTIMIZER_H_ | 1113 #endif // V8_DEOPTIMIZER_H_ |
| OLD | NEW |