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 6410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6421 | 6421 |
6422 // [wrapper]: the wrapper cache. This is either undefined or a WeakCell. | 6422 // [wrapper]: the wrapper cache. This is either undefined or a WeakCell. |
6423 DECL_ACCESSORS(wrapper, HeapObject) | 6423 DECL_ACCESSORS(wrapper, HeapObject) |
6424 | 6424 |
6425 // [type]: the script type. | 6425 // [type]: the script type. |
6426 DECL_INT_ACCESSORS(type) | 6426 DECL_INT_ACCESSORS(type) |
6427 | 6427 |
6428 // [line_ends]: FixedArray of line ends positions. | 6428 // [line_ends]: FixedArray of line ends positions. |
6429 DECL_ACCESSORS(line_ends, Object) | 6429 DECL_ACCESSORS(line_ends, Object) |
6430 | 6430 |
6431 // [eval_from_shared]: for eval scripts the shared funcion info for the | 6431 // [eval_from_shared]: for eval scripts the shared function info for the |
6432 // function from which eval was called. | 6432 // function from which eval was called. |
6433 DECL_ACCESSORS(eval_from_shared, Object) | 6433 DECL_ACCESSORS(eval_from_shared, Object) |
6434 | 6434 |
6435 // [eval_from_instructions_offset]: the instruction offset in the code for the | 6435 // [eval_from_instructions_offset]: the instruction offset in the code for the |
6436 // function from which eval was called where eval was called. | 6436 // function from which eval was called where eval was called. |
6437 DECL_INT_ACCESSORS(eval_from_instructions_offset) | 6437 DECL_INT_ACCESSORS(eval_from_instructions_offset) |
6438 | 6438 |
6439 // [shared_function_infos]: weak fixed array containing all shared | 6439 // [shared_function_infos]: weak fixed array containing all shared |
6440 // function infos created from this script. | 6440 // function infos created from this script. |
6441 DECL_ACCESSORS(shared_function_infos, Object) | 6441 DECL_ACCESSORS(shared_function_infos, Object) |
(...skipping 4411 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 |