| 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/v8.h" | 8 #include "src/v8.h" |
| 9 | 9 |
| 10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
| 11 #include "src/macro-assembler.h" | 11 #include "src/macro-assembler.h" |
| 12 #include "src/zone-inl.h" | |
| 13 | 12 |
| 14 | 13 |
| 15 namespace v8 { | 14 namespace v8 { |
| 16 namespace internal { | 15 namespace internal { |
| 17 | 16 |
| 18 | 17 |
| 19 static inline double read_double_value(Address p) { | 18 static inline double read_double_value(Address p) { |
| 20 double d; | 19 double d; |
| 21 memcpy(&d, p, sizeof(d)); | 20 memcpy(&d, p, sizeof(d)); |
| 22 return d; | 21 return d; |
| (...skipping 958 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 981 Object** parameters_; | 980 Object** parameters_; |
| 982 Object** expression_stack_; | 981 Object** expression_stack_; |
| 983 int source_position_; | 982 int source_position_; |
| 984 | 983 |
| 985 friend class Deoptimizer; | 984 friend class Deoptimizer; |
| 986 }; | 985 }; |
| 987 | 986 |
| 988 } } // namespace v8::internal | 987 } } // namespace v8::internal |
| 989 | 988 |
| 990 #endif // V8_DEOPTIMIZER_H_ | 989 #endif // V8_DEOPTIMIZER_H_ |
| OLD | NEW |