OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_ALLOCATION_SITE_SCOPES_H_ | 5 #ifndef V8_ALLOCATION_SITE_SCOPES_H_ |
6 #define V8_ALLOCATION_SITE_SCOPES_H_ | 6 #define V8_ALLOCATION_SITE_SCOPES_H_ |
7 | 7 |
8 #include "src/ast/ast.h" | 8 #include "src/ast/ast.h" |
9 #include "src/handles.h" | 9 #include "src/handles.h" |
10 #include "src/objects.h" | 10 #include "src/objects.h" |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 DCHECK(object.is_null() || *object == scope_site->transition_info()); | 87 DCHECK(object.is_null() || *object == scope_site->transition_info()); |
88 } | 88 } |
89 | 89 |
90 bool ShouldCreateMemento(Handle<JSObject> object); | 90 bool ShouldCreateMemento(Handle<JSObject> object); |
91 | 91 |
92 private: | 92 private: |
93 Handle<AllocationSite> top_site_; | 93 Handle<AllocationSite> top_site_; |
94 bool activated_; | 94 bool activated_; |
95 }; | 95 }; |
96 | 96 |
97 | |
98 } // namespace internal | 97 } // namespace internal |
99 } // namespace v8 | 98 } // namespace v8 |
100 | 99 |
101 #endif // V8_ALLOCATION_SITE_SCOPES_H_ | 100 #endif // V8_ALLOCATION_SITE_SCOPES_H_ |
OLD | NEW |