OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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 <iosfwd> | 8 #include <iosfwd> |
9 | 9 |
10 #include "src/assert-scope.h" | 10 #include "src/assert-scope.h" |
(...skipping 4444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4455 inline void set_interrupt_budget(int interrupt_budget); | 4455 inline void set_interrupt_budget(int interrupt_budget); |
4456 | 4456 |
4457 // Accessors for the constant pool. | 4457 // Accessors for the constant pool. |
4458 DECL_ACCESSORS(constant_pool, FixedArray) | 4458 DECL_ACCESSORS(constant_pool, FixedArray) |
4459 | 4459 |
4460 // Accessors for handler table containing offsets of exception handlers. | 4460 // Accessors for handler table containing offsets of exception handlers. |
4461 DECL_ACCESSORS(handler_table, FixedArray) | 4461 DECL_ACCESSORS(handler_table, FixedArray) |
4462 | 4462 |
4463 // Accessors for source position table containing mappings between byte code | 4463 // Accessors for source position table containing mappings between byte code |
4464 // offset and source position. | 4464 // offset and source position. |
4465 DECL_ACCESSORS(source_position_table, FixedArray) | 4465 DECL_ACCESSORS(source_position_table, ByteArray) |
4466 | 4466 |
4467 DECLARE_CAST(BytecodeArray) | 4467 DECLARE_CAST(BytecodeArray) |
4468 | 4468 |
4469 // Dispatched behavior. | 4469 // Dispatched behavior. |
4470 inline int BytecodeArraySize(); | 4470 inline int BytecodeArraySize(); |
4471 | 4471 |
4472 inline int instruction_size(); | 4472 inline int instruction_size(); |
4473 | 4473 |
4474 int SourcePosition(int offset); | 4474 int SourcePosition(int offset); |
4475 int SourceStatementPosition(int offset); | 4475 int SourceStatementPosition(int offset); |
(...skipping 6358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10834 } | 10834 } |
10835 return value; | 10835 return value; |
10836 } | 10836 } |
10837 }; | 10837 }; |
10838 | 10838 |
10839 | 10839 |
10840 } // NOLINT, false-positive due to second-order macros. | 10840 } // NOLINT, false-positive due to second-order macros. |
10841 } // NOLINT, false-positive due to second-order macros. | 10841 } // NOLINT, false-positive due to second-order macros. |
10842 | 10842 |
10843 #endif // V8_OBJECTS_H_ | 10843 #endif // V8_OBJECTS_H_ |
OLD | NEW |