OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 8195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8206 return transition_info()->IsJSArray() || transition_info()->IsJSObject(); | 8206 return transition_info()->IsJSArray() || transition_info()->IsJSObject(); |
8207 } | 8207 } |
8208 | 8208 |
8209 MaybeObject* DigestTransitionFeedback(ElementsKind to_kind); | 8209 MaybeObject* DigestTransitionFeedback(ElementsKind to_kind); |
8210 | 8210 |
8211 enum Reason { | 8211 enum Reason { |
8212 TENURING, | 8212 TENURING, |
8213 TRANSITIONS | 8213 TRANSITIONS |
8214 }; | 8214 }; |
8215 | 8215 |
8216 void AddDependentCompilationInfo(Reason reason, CompilationInfo* info); | 8216 static void AddDependentCompilationInfo(Handle<AllocationSite> site, |
8217 void AddDependentCode(Reason reason, Handle<Code> code); | 8217 Reason reason, |
| 8218 CompilationInfo* info); |
8218 | 8219 |
8219 DECLARE_PRINTER(AllocationSite) | 8220 DECLARE_PRINTER(AllocationSite) |
8220 DECLARE_VERIFIER(AllocationSite) | 8221 DECLARE_VERIFIER(AllocationSite) |
8221 | 8222 |
8222 static inline AllocationSite* cast(Object* obj); | 8223 static inline AllocationSite* cast(Object* obj); |
8223 static inline AllocationSiteMode GetMode( | 8224 static inline AllocationSiteMode GetMode( |
8224 ElementsKind boilerplate_elements_kind); | 8225 ElementsKind boilerplate_elements_kind); |
8225 static inline AllocationSiteMode GetMode(ElementsKind from, ElementsKind to); | 8226 static inline AllocationSiteMode GetMode(ElementsKind from, ElementsKind to); |
8226 static inline bool CanTrack(InstanceType type); | 8227 static inline bool CanTrack(InstanceType type); |
8227 | 8228 |
(...skipping 2401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10629 } else { | 10630 } else { |
10630 value &= ~(1 << bit_position); | 10631 value &= ~(1 << bit_position); |
10631 } | 10632 } |
10632 return value; | 10633 return value; |
10633 } | 10634 } |
10634 }; | 10635 }; |
10635 | 10636 |
10636 } } // namespace v8::internal | 10637 } } // namespace v8::internal |
10637 | 10638 |
10638 #endif // V8_OBJECTS_H_ | 10639 #endif // V8_OBJECTS_H_ |
OLD | NEW |