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/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 4467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4478 inline void set_parameter_count(int number_of_parameters); | 4478 inline void set_parameter_count(int number_of_parameters); |
4479 | 4479 |
4480 // Accessors for the constant pool. | 4480 // Accessors for the constant pool. |
4481 DECL_ACCESSORS(constant_pool, FixedArray) | 4481 DECL_ACCESSORS(constant_pool, FixedArray) |
4482 | 4482 |
4483 // Accessors for handler table containing offsets of exception handlers. | 4483 // Accessors for handler table containing offsets of exception handlers. |
4484 DECL_ACCESSORS(handler_table, FixedArray) | 4484 DECL_ACCESSORS(handler_table, FixedArray) |
4485 | 4485 |
4486 // Accessors for source position table containing mappings between byte code | 4486 // Accessors for source position table containing mappings between byte code |
4487 // offset and source position. | 4487 // offset and source position. |
4488 DECL_ACCESSORS(source_position_table, FixedArray) | 4488 DECL_ACCESSORS(source_position_table, ByteArray) |
4489 | 4489 |
4490 DECLARE_CAST(BytecodeArray) | 4490 DECLARE_CAST(BytecodeArray) |
4491 | 4491 |
4492 // Dispatched behavior. | 4492 // Dispatched behavior. |
4493 inline int BytecodeArraySize(); | 4493 inline int BytecodeArraySize(); |
4494 | 4494 |
4495 inline int instruction_size(); | 4495 inline int instruction_size(); |
4496 | 4496 |
4497 int SourcePosition(int offset); | 4497 int SourcePosition(int offset); |
4498 int SourceStatementPosition(int offset); | 4498 int SourceStatementPosition(int offset); |
(...skipping 6354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10853 } | 10853 } |
10854 return value; | 10854 return value; |
10855 } | 10855 } |
10856 }; | 10856 }; |
10857 | 10857 |
10858 | 10858 |
10859 } // NOLINT, false-positive due to second-order macros. | 10859 } // NOLINT, false-positive due to second-order macros. |
10860 } // NOLINT, false-positive due to second-order macros. | 10860 } // NOLINT, false-positive due to second-order macros. |
10861 | 10861 |
10862 #endif // V8_OBJECTS_H_ | 10862 #endif // V8_OBJECTS_H_ |
OLD | NEW |