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 // Review notes: | 5 // Review notes: |
6 // | 6 // |
7 // - The use of macros in these inline functions may seem superfluous | 7 // - The use of macros in these inline functions may seem superfluous |
8 // but it is absolutely needed to make sure gcc generates optimal | 8 // but it is absolutely needed to make sure gcc generates optimal |
9 // code. gcc is not happy when attempting to inline too deep. | 9 // code. gcc is not happy when attempting to inline too deep. |
10 // | 10 // |
(...skipping 6790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6801 ACCESSORS(JSDate, min, Object, kMinOffset) | 6801 ACCESSORS(JSDate, min, Object, kMinOffset) |
6802 ACCESSORS(JSDate, sec, Object, kSecOffset) | 6802 ACCESSORS(JSDate, sec, Object, kSecOffset) |
6803 | 6803 |
6804 | 6804 |
6805 SMI_ACCESSORS(JSMessageObject, type, kTypeOffset) | 6805 SMI_ACCESSORS(JSMessageObject, type, kTypeOffset) |
6806 ACCESSORS(JSMessageObject, argument, Object, kArgumentsOffset) | 6806 ACCESSORS(JSMessageObject, argument, Object, kArgumentsOffset) |
6807 ACCESSORS(JSMessageObject, script, Object, kScriptOffset) | 6807 ACCESSORS(JSMessageObject, script, Object, kScriptOffset) |
6808 ACCESSORS(JSMessageObject, stack_frames, Object, kStackFramesOffset) | 6808 ACCESSORS(JSMessageObject, stack_frames, Object, kStackFramesOffset) |
6809 SMI_ACCESSORS(JSMessageObject, start_position, kStartPositionOffset) | 6809 SMI_ACCESSORS(JSMessageObject, start_position, kStartPositionOffset) |
6810 SMI_ACCESSORS(JSMessageObject, end_position, kEndPositionOffset) | 6810 SMI_ACCESSORS(JSMessageObject, end_position, kEndPositionOffset) |
6811 | 6811 SMI_ACCESSORS(JSMessageObject, error_level, kErrorLevelOffset) |
6812 | 6812 |
6813 INT_ACCESSORS(Code, instruction_size, kInstructionSizeOffset) | 6813 INT_ACCESSORS(Code, instruction_size, kInstructionSizeOffset) |
6814 INT_ACCESSORS(Code, prologue_offset, kPrologueOffset) | 6814 INT_ACCESSORS(Code, prologue_offset, kPrologueOffset) |
6815 INT_ACCESSORS(Code, constant_pool_offset, kConstantPoolOffset) | 6815 INT_ACCESSORS(Code, constant_pool_offset, kConstantPoolOffset) |
6816 ACCESSORS(Code, relocation_info, ByteArray, kRelocationInfoOffset) | 6816 ACCESSORS(Code, relocation_info, ByteArray, kRelocationInfoOffset) |
6817 ACCESSORS(Code, handler_table, FixedArray, kHandlerTableOffset) | 6817 ACCESSORS(Code, handler_table, FixedArray, kHandlerTableOffset) |
6818 ACCESSORS(Code, deoptimization_data, FixedArray, kDeoptimizationDataOffset) | 6818 ACCESSORS(Code, deoptimization_data, FixedArray, kDeoptimizationDataOffset) |
6819 ACCESSORS(Code, source_position_table, ByteArray, kSourcePositionTableOffset) | 6819 ACCESSORS(Code, source_position_table, ByteArray, kSourcePositionTableOffset) |
6820 ACCESSORS(Code, protected_instructions, FixedArray, kProtectedInstructionOffset) | 6820 ACCESSORS(Code, protected_instructions, FixedArray, kProtectedInstructionOffset) |
6821 ACCESSORS(Code, raw_type_feedback_info, Object, kTypeFeedbackInfoOffset) | 6821 ACCESSORS(Code, raw_type_feedback_info, Object, kTypeFeedbackInfoOffset) |
(...skipping 1644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8466 #undef WRITE_INT64_FIELD | 8466 #undef WRITE_INT64_FIELD |
8467 #undef READ_BYTE_FIELD | 8467 #undef READ_BYTE_FIELD |
8468 #undef WRITE_BYTE_FIELD | 8468 #undef WRITE_BYTE_FIELD |
8469 #undef NOBARRIER_READ_BYTE_FIELD | 8469 #undef NOBARRIER_READ_BYTE_FIELD |
8470 #undef NOBARRIER_WRITE_BYTE_FIELD | 8470 #undef NOBARRIER_WRITE_BYTE_FIELD |
8471 | 8471 |
8472 } // namespace internal | 8472 } // namespace internal |
8473 } // namespace v8 | 8473 } // namespace v8 |
8474 | 8474 |
8475 #endif // V8_OBJECTS_INL_H_ | 8475 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |