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 "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/assert-scope.h" | 9 #include "src/assert-scope.h" |
10 #include "src/builtins.h" | 10 #include "src/builtins.h" |
(...skipping 1552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1563 | 1563 |
1564 #ifdef OBJECT_PRINT | 1564 #ifdef OBJECT_PRINT |
1565 // For our gdb macros, we should perhaps change these in the future. | 1565 // For our gdb macros, we should perhaps change these in the future. |
1566 void Print(); | 1566 void Print(); |
1567 | 1567 |
1568 // Prints this object with details. | 1568 // Prints this object with details. |
1569 void Print(OStream& os); // NOLINT | 1569 void Print(OStream& os); // NOLINT |
1570 #endif | 1570 #endif |
1571 | 1571 |
1572 private: | 1572 private: |
| 1573 friend class LookupIterator; |
1573 friend class PrototypeIterator; | 1574 friend class PrototypeIterator; |
1574 | 1575 |
1575 // Return the map of the root of object's prototype chain. | 1576 // Return the map of the root of object's prototype chain. |
1576 Map* GetRootMap(Isolate* isolate); | 1577 Map* GetRootMap(Isolate* isolate); |
1577 | 1578 |
1578 DISALLOW_IMPLICIT_CONSTRUCTORS(Object); | 1579 DISALLOW_IMPLICIT_CONSTRUCTORS(Object); |
1579 }; | 1580 }; |
1580 | 1581 |
1581 | 1582 |
1582 struct Brief { | 1583 struct Brief { |
(...skipping 9645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11228 } else { | 11229 } else { |
11229 value &= ~(1 << bit_position); | 11230 value &= ~(1 << bit_position); |
11230 } | 11231 } |
11231 return value; | 11232 return value; |
11232 } | 11233 } |
11233 }; | 11234 }; |
11234 | 11235 |
11235 } } // namespace v8::internal | 11236 } } // namespace v8::internal |
11236 | 11237 |
11237 #endif // V8_OBJECTS_H_ | 11238 #endif // V8_OBJECTS_H_ |
OLD | NEW |