OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 #include "property.h" | 5 #include "src/property.h" |
6 | 6 |
7 #include "handles-inl.h" | 7 #include "src/handles-inl.h" |
8 | 8 |
9 namespace v8 { | 9 namespace v8 { |
10 namespace internal { | 10 namespace internal { |
11 | 11 |
12 void LookupResult::Iterate(ObjectVisitor* visitor) { | 12 void LookupResult::Iterate(ObjectVisitor* visitor) { |
13 LookupResult* current = this; // Could be NULL. | 13 LookupResult* current = this; // Could be NULL. |
14 while (current != NULL) { | 14 while (current != NULL) { |
15 visitor->VisitPointer(BitCast<Object**>(¤t->holder_)); | 15 visitor->VisitPointer(BitCast<Object**>(¤t->holder_)); |
16 visitor->VisitPointer(BitCast<Object**>(¤t->transition_)); | 16 visitor->VisitPointer(BitCast<Object**>(¤t->transition_)); |
17 current = current->next_; | 17 current = current->next_; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 | 71 |
72 void Descriptor::Print(FILE* out) { | 72 void Descriptor::Print(FILE* out) { |
73 PrintF(out, "Descriptor "); | 73 PrintF(out, "Descriptor "); |
74 GetKey()->ShortPrint(out); | 74 GetKey()->ShortPrint(out); |
75 PrintF(out, " @ "); | 75 PrintF(out, " @ "); |
76 GetValue()->ShortPrint(out); | 76 GetValue()->ShortPrint(out); |
77 } | 77 } |
78 #endif | 78 #endif |
79 | 79 |
80 } } // namespace v8::internal | 80 } } // namespace v8::internal |
OLD | NEW |