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 2094 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2105 | 2105 |
2106 ACCESSORS(Script, source, Object, kSourceOffset) | 2106 ACCESSORS(Script, source, Object, kSourceOffset) |
2107 ACCESSORS(Script, name, Object, kNameOffset) | 2107 ACCESSORS(Script, name, Object, kNameOffset) |
2108 ACCESSORS(Script, id, Object, kIdOffset) | 2108 ACCESSORS(Script, id, Object, kIdOffset) |
2109 ACCESSORS(Script, line_offset, Smi, kLineOffsetOffset) | 2109 ACCESSORS(Script, line_offset, Smi, kLineOffsetOffset) |
2110 ACCESSORS(Script, column_offset, Smi, kColumnOffsetOffset) | 2110 ACCESSORS(Script, column_offset, Smi, kColumnOffsetOffset) |
2111 ACCESSORS(Script, data, Object, kDataOffset) | 2111 ACCESSORS(Script, data, Object, kDataOffset) |
2112 ACCESSORS(Script, context_data, Object, kContextOffset) | 2112 ACCESSORS(Script, context_data, Object, kContextOffset) |
2113 ACCESSORS(Script, wrapper, Proxy, kWrapperOffset) | 2113 ACCESSORS(Script, wrapper, Proxy, kWrapperOffset) |
2114 ACCESSORS(Script, type, Smi, kTypeOffset) | 2114 ACCESSORS(Script, type, Smi, kTypeOffset) |
| 2115 ACCESSORS(Script, compilation_type, Smi, kCompilationTypeOffset) |
2115 ACCESSORS(Script, line_ends, Object, kLineEndsOffset) | 2116 ACCESSORS(Script, line_ends, Object, kLineEndsOffset) |
| 2117 ACCESSORS(Script, eval_from_function, Object, kEvalFromFunctionOffset) |
| 2118 ACCESSORS(Script, eval_from_instructions_offset, Smi, |
| 2119 kEvalFrominstructionsOffsetOffset) |
2116 | 2120 |
2117 #ifdef ENABLE_DEBUGGER_SUPPORT | 2121 #ifdef ENABLE_DEBUGGER_SUPPORT |
2118 ACCESSORS(DebugInfo, shared, SharedFunctionInfo, kSharedFunctionInfoIndex) | 2122 ACCESSORS(DebugInfo, shared, SharedFunctionInfo, kSharedFunctionInfoIndex) |
2119 ACCESSORS(DebugInfo, original_code, Code, kOriginalCodeIndex) | 2123 ACCESSORS(DebugInfo, original_code, Code, kOriginalCodeIndex) |
2120 ACCESSORS(DebugInfo, code, Code, kPatchedCodeIndex) | 2124 ACCESSORS(DebugInfo, code, Code, kPatchedCodeIndex) |
2121 ACCESSORS(DebugInfo, break_points, FixedArray, kBreakPointsStateIndex) | 2125 ACCESSORS(DebugInfo, break_points, FixedArray, kBreakPointsStateIndex) |
2122 | 2126 |
2123 ACCESSORS(BreakPointInfo, code_position, Smi, kCodePositionIndex) | 2127 ACCESSORS(BreakPointInfo, code_position, Smi, kCodePositionIndex) |
2124 ACCESSORS(BreakPointInfo, source_position, Smi, kSourcePositionIndex) | 2128 ACCESSORS(BreakPointInfo, source_position, Smi, kSourcePositionIndex) |
2125 ACCESSORS(BreakPointInfo, statement_position, Smi, kStatementPositionIndex) | 2129 ACCESSORS(BreakPointInfo, statement_position, Smi, kStatementPositionIndex) |
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2646 #undef WRITE_INT_FIELD | 2650 #undef WRITE_INT_FIELD |
2647 #undef READ_SHORT_FIELD | 2651 #undef READ_SHORT_FIELD |
2648 #undef WRITE_SHORT_FIELD | 2652 #undef WRITE_SHORT_FIELD |
2649 #undef READ_BYTE_FIELD | 2653 #undef READ_BYTE_FIELD |
2650 #undef WRITE_BYTE_FIELD | 2654 #undef WRITE_BYTE_FIELD |
2651 | 2655 |
2652 | 2656 |
2653 } } // namespace v8::internal | 2657 } } // namespace v8::internal |
2654 | 2658 |
2655 #endif // V8_OBJECTS_INL_H_ | 2659 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |