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 1539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1550 #endif | 1550 #endif |
1551 | 1551 |
1552 inline void VerifyApiCallResultType(); | 1552 inline void VerifyApiCallResultType(); |
1553 | 1553 |
1554 // Prints this object without details. | 1554 // Prints this object without details. |
1555 void ShortPrint(FILE* out = stdout); | 1555 void ShortPrint(FILE* out = stdout); |
1556 | 1556 |
1557 // Prints this object without details to a message accumulator. | 1557 // Prints this object without details to a message accumulator. |
1558 void ShortPrint(StringStream* accumulator); | 1558 void ShortPrint(StringStream* accumulator); |
1559 | 1559 |
1560 // For our gdb macros, we should perhaps change these in the future. | |
1561 void Print(); | |
1562 | |
1563 DECLARE_CAST(Object) | 1560 DECLARE_CAST(Object) |
1564 | 1561 |
1565 // Layout description. | 1562 // Layout description. |
1566 static const int kHeaderSize = 0; // Object does not take up any space. | 1563 static const int kHeaderSize = 0; // Object does not take up any space. |
1567 | 1564 |
1568 #ifdef OBJECT_PRINT | 1565 #ifdef OBJECT_PRINT |
| 1566 // For our gdb macros, we should perhaps change these in the future. |
| 1567 void Print(); |
| 1568 |
1569 // Prints this object with details. | 1569 // Prints this object with details. |
1570 void Print(OStream& os); // NOLINT | 1570 void Print(OStream& os); // NOLINT |
1571 #endif | 1571 #endif |
1572 | 1572 |
1573 private: | 1573 private: |
1574 DISALLOW_IMPLICIT_CONSTRUCTORS(Object); | 1574 DISALLOW_IMPLICIT_CONSTRUCTORS(Object); |
1575 }; | 1575 }; |
1576 | 1576 |
1577 | 1577 |
1578 struct Brief { | 1578 struct Brief { |
(...skipping 9632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11211 } else { | 11211 } else { |
11212 value &= ~(1 << bit_position); | 11212 value &= ~(1 << bit_position); |
11213 } | 11213 } |
11214 return value; | 11214 return value; |
11215 } | 11215 } |
11216 }; | 11216 }; |
11217 | 11217 |
11218 } } // namespace v8::internal | 11218 } } // namespace v8::internal |
11219 | 11219 |
11220 #endif // V8_OBJECTS_H_ | 11220 #endif // V8_OBJECTS_H_ |
OLD | NEW |