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 8072 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8083 inline void change_ic_generic_count(int delta); | 8083 inline void change_ic_generic_count(int delta); |
8084 | 8084 |
8085 inline void initialize_storage(); | 8085 inline void initialize_storage(); |
8086 | 8086 |
8087 inline void change_own_type_change_checksum(); | 8087 inline void change_own_type_change_checksum(); |
8088 inline int own_type_change_checksum(); | 8088 inline int own_type_change_checksum(); |
8089 | 8089 |
8090 inline void set_inlined_type_change_checksum(int checksum); | 8090 inline void set_inlined_type_change_checksum(int checksum); |
8091 inline bool matches_inlined_type_change_checksum(int checksum); | 8091 inline bool matches_inlined_type_change_checksum(int checksum); |
8092 | 8092 |
8093 | |
8094 DECLARE_CAST(TypeFeedbackInfo) | 8093 DECLARE_CAST(TypeFeedbackInfo) |
8095 | 8094 |
8096 // Dispatched behavior. | 8095 // Dispatched behavior. |
8097 DECLARE_PRINTER(TypeFeedbackInfo) | 8096 DECLARE_PRINTER(TypeFeedbackInfo) |
8098 DECLARE_VERIFIER(TypeFeedbackInfo) | 8097 DECLARE_VERIFIER(TypeFeedbackInfo) |
8099 | 8098 |
8100 static const int kStorage1Offset = HeapObject::kHeaderSize; | 8099 static const int kStorage1Offset = HeapObject::kHeaderSize; |
8101 static const int kStorage2Offset = kStorage1Offset + kPointerSize; | 8100 static const int kStorage2Offset = kStorage1Offset + kPointerSize; |
8102 static const int kStorage3Offset = kStorage2Offset + kPointerSize; | 8101 static const int kStorage3Offset = kStorage2Offset + kPointerSize; |
8103 static const int kSize = kStorage3Offset + kPointerSize; | 8102 static const int kSize = kStorage3Offset + kPointerSize; |
(...skipping 2747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10851 } else { | 10850 } else { |
10852 value &= ~(1 << bit_position); | 10851 value &= ~(1 << bit_position); |
10853 } | 10852 } |
10854 return value; | 10853 return value; |
10855 } | 10854 } |
10856 }; | 10855 }; |
10857 | 10856 |
10858 } } // namespace v8::internal | 10857 } } // namespace v8::internal |
10859 | 10858 |
10860 #endif // V8_OBJECTS_H_ | 10859 #endif // V8_OBJECTS_H_ |
OLD | NEW |