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 "v8.h" | 8 #include "src/v8.h" |
9 | 9 |
10 #include "allocation.h" | 10 #include "src/allocation.h" |
11 #include "macro-assembler.h" | 11 #include "src/macro-assembler.h" |
12 #include "zone-inl.h" | 12 #include "src/zone-inl.h" |
13 | 13 |
14 | 14 |
15 namespace v8 { | 15 namespace v8 { |
16 namespace internal { | 16 namespace internal { |
17 | 17 |
18 | 18 |
19 static inline double read_double_value(Address p) { | 19 static inline double read_double_value(Address p) { |
20 #ifdef V8_HOST_CAN_READ_UNALIGNED | 20 #ifdef V8_HOST_CAN_READ_UNALIGNED |
21 return Memory::double_at(p); | 21 return Memory::double_at(p); |
22 #else // V8_HOST_CAN_READ_UNALIGNED | 22 #else // V8_HOST_CAN_READ_UNALIGNED |
(...skipping 939 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
962 Object** parameters_; | 962 Object** parameters_; |
963 Object** expression_stack_; | 963 Object** expression_stack_; |
964 int source_position_; | 964 int source_position_; |
965 | 965 |
966 friend class Deoptimizer; | 966 friend class Deoptimizer; |
967 }; | 967 }; |
968 | 968 |
969 } } // namespace v8::internal | 969 } } // namespace v8::internal |
970 | 970 |
971 #endif // V8_DEOPTIMIZER_H_ | 971 #endif // V8_DEOPTIMIZER_H_ |
OLD | NEW |