OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 2039 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2050 | 2050 |
2051 ACCESSORS(Script, source, Object, kSourceOffset) | 2051 ACCESSORS(Script, source, Object, kSourceOffset) |
2052 ACCESSORS(Script, name, Object, kNameOffset) | 2052 ACCESSORS(Script, name, Object, kNameOffset) |
2053 ACCESSORS(Script, id, Object, kIdOffset) | 2053 ACCESSORS(Script, id, Object, kIdOffset) |
2054 ACCESSORS(Script, line_offset, Smi, kLineOffsetOffset) | 2054 ACCESSORS(Script, line_offset, Smi, kLineOffsetOffset) |
2055 ACCESSORS(Script, column_offset, Smi, kColumnOffsetOffset) | 2055 ACCESSORS(Script, column_offset, Smi, kColumnOffsetOffset) |
2056 ACCESSORS(Script, wrapper, Proxy, kWrapperOffset) | 2056 ACCESSORS(Script, wrapper, Proxy, kWrapperOffset) |
2057 ACCESSORS(Script, type, Smi, kTypeOffset) | 2057 ACCESSORS(Script, type, Smi, kTypeOffset) |
2058 ACCESSORS(Script, line_ends, Object, kLineEndsOffset) | 2058 ACCESSORS(Script, line_ends, Object, kLineEndsOffset) |
2059 | 2059 |
| 2060 #ifdef ENABLE_DEBUGGER_SUPPORT |
2060 ACCESSORS(DebugInfo, shared, SharedFunctionInfo, kSharedFunctionInfoIndex) | 2061 ACCESSORS(DebugInfo, shared, SharedFunctionInfo, kSharedFunctionInfoIndex) |
2061 ACCESSORS(DebugInfo, original_code, Code, kOriginalCodeIndex) | 2062 ACCESSORS(DebugInfo, original_code, Code, kOriginalCodeIndex) |
2062 ACCESSORS(DebugInfo, code, Code, kPatchedCodeIndex) | 2063 ACCESSORS(DebugInfo, code, Code, kPatchedCodeIndex) |
2063 ACCESSORS(DebugInfo, break_points, FixedArray, kBreakPointsStateIndex) | 2064 ACCESSORS(DebugInfo, break_points, FixedArray, kBreakPointsStateIndex) |
2064 | 2065 |
2065 ACCESSORS(BreakPointInfo, code_position, Smi, kCodePositionIndex) | 2066 ACCESSORS(BreakPointInfo, code_position, Smi, kCodePositionIndex) |
2066 ACCESSORS(BreakPointInfo, source_position, Smi, kSourcePositionIndex) | 2067 ACCESSORS(BreakPointInfo, source_position, Smi, kSourcePositionIndex) |
2067 ACCESSORS(BreakPointInfo, statement_position, Smi, kStatementPositionIndex) | 2068 ACCESSORS(BreakPointInfo, statement_position, Smi, kStatementPositionIndex) |
2068 ACCESSORS(BreakPointInfo, break_point_objects, Object, kBreakPointObjectsIndex) | 2069 ACCESSORS(BreakPointInfo, break_point_objects, Object, kBreakPointObjectsIndex) |
| 2070 #endif |
2069 | 2071 |
2070 ACCESSORS(SharedFunctionInfo, name, Object, kNameOffset) | 2072 ACCESSORS(SharedFunctionInfo, name, Object, kNameOffset) |
2071 ACCESSORS(SharedFunctionInfo, instance_class_name, Object, | 2073 ACCESSORS(SharedFunctionInfo, instance_class_name, Object, |
2072 kInstanceClassNameOffset) | 2074 kInstanceClassNameOffset) |
2073 ACCESSORS(SharedFunctionInfo, function_data, Object, | 2075 ACCESSORS(SharedFunctionInfo, function_data, Object, |
2074 kExternalReferenceDataOffset) | 2076 kExternalReferenceDataOffset) |
2075 ACCESSORS(SharedFunctionInfo, lazy_load_data, Object, kLazyLoadDataOffset) | 2077 ACCESSORS(SharedFunctionInfo, lazy_load_data, Object, kLazyLoadDataOffset) |
2076 ACCESSORS(SharedFunctionInfo, script, Object, kScriptOffset) | 2078 ACCESSORS(SharedFunctionInfo, script, Object, kScriptOffset) |
2077 ACCESSORS(SharedFunctionInfo, debug_info, Object, kDebugInfoOffset) | 2079 ACCESSORS(SharedFunctionInfo, debug_info, Object, kDebugInfoOffset) |
2078 ACCESSORS(SharedFunctionInfo, inferred_name, String, kInferredNameOffset) | 2080 ACCESSORS(SharedFunctionInfo, inferred_name, String, kInferredNameOffset) |
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2588 #undef WRITE_INT_FIELD | 2590 #undef WRITE_INT_FIELD |
2589 #undef READ_SHORT_FIELD | 2591 #undef READ_SHORT_FIELD |
2590 #undef WRITE_SHORT_FIELD | 2592 #undef WRITE_SHORT_FIELD |
2591 #undef READ_BYTE_FIELD | 2593 #undef READ_BYTE_FIELD |
2592 #undef WRITE_BYTE_FIELD | 2594 #undef WRITE_BYTE_FIELD |
2593 | 2595 |
2594 | 2596 |
2595 } } // namespace v8::internal | 2597 } } // namespace v8::internal |
2596 | 2598 |
2597 #endif // V8_OBJECTS_INL_H_ | 2599 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |