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_OBJECTS_H_ | 5 #ifndef V8_OBJECTS_H_ |
6 #define V8_OBJECTS_H_ | 6 #define V8_OBJECTS_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 | 9 |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 8109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8120 inline void change_ic_generic_count(int delta); | 8120 inline void change_ic_generic_count(int delta); |
8121 | 8121 |
8122 inline void initialize_storage(); | 8122 inline void initialize_storage(); |
8123 | 8123 |
8124 inline void change_own_type_change_checksum(); | 8124 inline void change_own_type_change_checksum(); |
8125 inline int own_type_change_checksum(); | 8125 inline int own_type_change_checksum(); |
8126 | 8126 |
8127 inline void set_inlined_type_change_checksum(int checksum); | 8127 inline void set_inlined_type_change_checksum(int checksum); |
8128 inline bool matches_inlined_type_change_checksum(int checksum); | 8128 inline bool matches_inlined_type_change_checksum(int checksum); |
8129 | 8129 |
8130 | |
8131 DECLARE_CAST(TypeFeedbackInfo) | 8130 DECLARE_CAST(TypeFeedbackInfo) |
8132 | 8131 |
8133 // Dispatched behavior. | 8132 // Dispatched behavior. |
8134 DECLARE_PRINTER(TypeFeedbackInfo) | 8133 DECLARE_PRINTER(TypeFeedbackInfo) |
8135 DECLARE_VERIFIER(TypeFeedbackInfo) | 8134 DECLARE_VERIFIER(TypeFeedbackInfo) |
8136 | 8135 |
8137 static const int kStorage1Offset = HeapObject::kHeaderSize; | 8136 static const int kStorage1Offset = HeapObject::kHeaderSize; |
8138 static const int kStorage2Offset = kStorage1Offset + kPointerSize; | 8137 static const int kStorage2Offset = kStorage1Offset + kPointerSize; |
8139 static const int kStorage3Offset = kStorage2Offset + kPointerSize; | 8138 static const int kStorage3Offset = kStorage2Offset + kPointerSize; |
8140 static const int kSize = kStorage3Offset + kPointerSize; | 8139 static const int kSize = kStorage3Offset + kPointerSize; |
(...skipping 2776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10917 } else { | 10916 } else { |
10918 value &= ~(1 << bit_position); | 10917 value &= ~(1 << bit_position); |
10919 } | 10918 } |
10920 return value; | 10919 return value; |
10921 } | 10920 } |
10922 }; | 10921 }; |
10923 | 10922 |
10924 } } // namespace v8::internal | 10923 } } // namespace v8::internal |
10925 | 10924 |
10926 #endif // V8_OBJECTS_H_ | 10925 #endif // V8_OBJECTS_H_ |
OLD | NEW |