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 6305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6316 ACCESSORS(JSDate, cache_stamp, Object, kCacheStampOffset) | 6316 ACCESSORS(JSDate, cache_stamp, Object, kCacheStampOffset) |
6317 ACCESSORS(JSDate, year, Object, kYearOffset) | 6317 ACCESSORS(JSDate, year, Object, kYearOffset) |
6318 ACCESSORS(JSDate, month, Object, kMonthOffset) | 6318 ACCESSORS(JSDate, month, Object, kMonthOffset) |
6319 ACCESSORS(JSDate, day, Object, kDayOffset) | 6319 ACCESSORS(JSDate, day, Object, kDayOffset) |
6320 ACCESSORS(JSDate, weekday, Object, kWeekdayOffset) | 6320 ACCESSORS(JSDate, weekday, Object, kWeekdayOffset) |
6321 ACCESSORS(JSDate, hour, Object, kHourOffset) | 6321 ACCESSORS(JSDate, hour, Object, kHourOffset) |
6322 ACCESSORS(JSDate, min, Object, kMinOffset) | 6322 ACCESSORS(JSDate, min, Object, kMinOffset) |
6323 ACCESSORS(JSDate, sec, Object, kSecOffset) | 6323 ACCESSORS(JSDate, sec, Object, kSecOffset) |
6324 | 6324 |
6325 | 6325 |
6326 ACCESSORS(JSMessageObject, type, String, kTypeOffset) | 6326 SMI_ACCESSORS(JSMessageObject, type, kTypeOffset) |
6327 ACCESSORS(JSMessageObject, arguments, JSArray, kArgumentsOffset) | 6327 ACCESSORS(JSMessageObject, argument, Object, kArgumentsOffset) |
6328 ACCESSORS(JSMessageObject, script, Object, kScriptOffset) | 6328 ACCESSORS(JSMessageObject, script, Object, kScriptOffset) |
6329 ACCESSORS(JSMessageObject, stack_frames, Object, kStackFramesOffset) | 6329 ACCESSORS(JSMessageObject, stack_frames, Object, kStackFramesOffset) |
6330 SMI_ACCESSORS(JSMessageObject, start_position, kStartPositionOffset) | 6330 SMI_ACCESSORS(JSMessageObject, start_position, kStartPositionOffset) |
6331 SMI_ACCESSORS(JSMessageObject, end_position, kEndPositionOffset) | 6331 SMI_ACCESSORS(JSMessageObject, end_position, kEndPositionOffset) |
6332 | 6332 |
6333 | 6333 |
6334 INT_ACCESSORS(Code, instruction_size, kInstructionSizeOffset) | 6334 INT_ACCESSORS(Code, instruction_size, kInstructionSizeOffset) |
6335 INT_ACCESSORS(Code, prologue_offset, kPrologueOffset) | 6335 INT_ACCESSORS(Code, prologue_offset, kPrologueOffset) |
6336 ACCESSORS(Code, relocation_info, ByteArray, kRelocationInfoOffset) | 6336 ACCESSORS(Code, relocation_info, ByteArray, kRelocationInfoOffset) |
6337 ACCESSORS(Code, handler_table, FixedArray, kHandlerTableOffset) | 6337 ACCESSORS(Code, handler_table, FixedArray, kHandlerTableOffset) |
(...skipping 1289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7627 #undef READ_SHORT_FIELD | 7627 #undef READ_SHORT_FIELD |
7628 #undef WRITE_SHORT_FIELD | 7628 #undef WRITE_SHORT_FIELD |
7629 #undef READ_BYTE_FIELD | 7629 #undef READ_BYTE_FIELD |
7630 #undef WRITE_BYTE_FIELD | 7630 #undef WRITE_BYTE_FIELD |
7631 #undef NOBARRIER_READ_BYTE_FIELD | 7631 #undef NOBARRIER_READ_BYTE_FIELD |
7632 #undef NOBARRIER_WRITE_BYTE_FIELD | 7632 #undef NOBARRIER_WRITE_BYTE_FIELD |
7633 | 7633 |
7634 } } // namespace v8::internal | 7634 } } // namespace v8::internal |
7635 | 7635 |
7636 #endif // V8_OBJECTS_INL_H_ | 7636 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |