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 8113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8124 inline void change_ic_generic_count(int delta); | 8124 inline void change_ic_generic_count(int delta); |
8125 | 8125 |
8126 inline void initialize_storage(); | 8126 inline void initialize_storage(); |
8127 | 8127 |
8128 inline void change_own_type_change_checksum(); | 8128 inline void change_own_type_change_checksum(); |
8129 inline int own_type_change_checksum(); | 8129 inline int own_type_change_checksum(); |
8130 | 8130 |
8131 inline void set_inlined_type_change_checksum(int checksum); | 8131 inline void set_inlined_type_change_checksum(int checksum); |
8132 inline bool matches_inlined_type_change_checksum(int checksum); | 8132 inline bool matches_inlined_type_change_checksum(int checksum); |
8133 | 8133 |
8134 | |
8135 DECLARE_CAST(TypeFeedbackInfo) | 8134 DECLARE_CAST(TypeFeedbackInfo) |
8136 | 8135 |
8137 // Dispatched behavior. | 8136 // Dispatched behavior. |
8138 DECLARE_PRINTER(TypeFeedbackInfo) | 8137 DECLARE_PRINTER(TypeFeedbackInfo) |
8139 DECLARE_VERIFIER(TypeFeedbackInfo) | 8138 DECLARE_VERIFIER(TypeFeedbackInfo) |
8140 | 8139 |
8141 static const int kStorage1Offset = HeapObject::kHeaderSize; | 8140 static const int kStorage1Offset = HeapObject::kHeaderSize; |
8142 static const int kStorage2Offset = kStorage1Offset + kPointerSize; | 8141 static const int kStorage2Offset = kStorage1Offset + kPointerSize; |
8143 static const int kStorage3Offset = kStorage2Offset + kPointerSize; | 8142 static const int kStorage3Offset = kStorage2Offset + kPointerSize; |
8144 static const int kSize = kStorage3Offset + kPointerSize; | 8143 static const int kSize = kStorage3Offset + kPointerSize; |
(...skipping 2776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10921 } else { | 10920 } else { |
10922 value &= ~(1 << bit_position); | 10921 value &= ~(1 << bit_position); |
10923 } | 10922 } |
10924 return value; | 10923 return value; |
10925 } | 10924 } |
10926 }; | 10925 }; |
10927 | 10926 |
10928 } } // namespace v8::internal | 10927 } } // namespace v8::internal |
10929 | 10928 |
10930 #endif // V8_OBJECTS_H_ | 10929 #endif // V8_OBJECTS_H_ |
OLD | NEW |