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 5750 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5761 } | 5761 } |
5762 | 5762 |
5763 // Locating source position. | 5763 // Locating source position. |
5764 int SourcePosition(Address pc); | 5764 int SourcePosition(Address pc); |
5765 int SourceStatementPosition(Address pc); | 5765 int SourceStatementPosition(Address pc); |
5766 | 5766 |
5767 DECLARE_CAST(Code) | 5767 DECLARE_CAST(Code) |
5768 | 5768 |
5769 // Dispatched behavior. | 5769 // Dispatched behavior. |
5770 int CodeSize() { return SizeFor(body_size()); } | 5770 int CodeSize() { return SizeFor(body_size()); } |
5771 inline void CodeIterateBody(ObjectVisitor* v); | 5771 void CodeIterateBody(ObjectVisitor* v); |
5772 | 5772 |
5773 template<typename StaticVisitor> | 5773 template<typename StaticVisitor> |
5774 inline void CodeIterateBody(Heap* heap); | 5774 inline void CodeIterateBody(Heap* heap); |
5775 | 5775 |
5776 DECLARE_PRINTER(Code) | 5776 DECLARE_PRINTER(Code) |
5777 DECLARE_VERIFIER(Code) | 5777 DECLARE_VERIFIER(Code) |
5778 | 5778 |
5779 void ClearInlineCaches(); | 5779 void ClearInlineCaches(); |
5780 void ClearInlineCaches(Kind kind); | 5780 void ClearInlineCaches(Kind kind); |
5781 | 5781 |
(...skipping 5490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11272 } else { | 11272 } else { |
11273 value &= ~(1 << bit_position); | 11273 value &= ~(1 << bit_position); |
11274 } | 11274 } |
11275 return value; | 11275 return value; |
11276 } | 11276 } |
11277 }; | 11277 }; |
11278 | 11278 |
11279 } } // namespace v8::internal | 11279 } } // namespace v8::internal |
11280 | 11280 |
11281 #endif // V8_OBJECTS_H_ | 11281 #endif // V8_OBJECTS_H_ |
OLD | NEW |