Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(320)

Side by Side Diff: src/objects-inl.h

Issue 90003: Make it possible to add a user data object to each script compiled (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/objects-debug.cc ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 2035 matching lines...) Expand 10 before | Expand all | Expand 10 after
2046 ACCESSORS(SignatureInfo, receiver, Object, kReceiverOffset) 2046 ACCESSORS(SignatureInfo, receiver, Object, kReceiverOffset)
2047 ACCESSORS(SignatureInfo, args, Object, kArgsOffset) 2047 ACCESSORS(SignatureInfo, args, Object, kArgsOffset)
2048 2048
2049 ACCESSORS(TypeSwitchInfo, types, Object, kTypesOffset) 2049 ACCESSORS(TypeSwitchInfo, types, Object, kTypesOffset)
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, data, Object, kDataOffset)
2056 ACCESSORS(Script, wrapper, Proxy, kWrapperOffset) 2057 ACCESSORS(Script, wrapper, Proxy, kWrapperOffset)
2057 ACCESSORS(Script, type, Smi, kTypeOffset) 2058 ACCESSORS(Script, type, Smi, kTypeOffset)
2058 ACCESSORS(Script, line_ends, Object, kLineEndsOffset) 2059 ACCESSORS(Script, line_ends, Object, kLineEndsOffset)
2059 2060
2060 #ifdef ENABLE_DEBUGGER_SUPPORT 2061 #ifdef ENABLE_DEBUGGER_SUPPORT
2061 ACCESSORS(DebugInfo, shared, SharedFunctionInfo, kSharedFunctionInfoIndex) 2062 ACCESSORS(DebugInfo, shared, SharedFunctionInfo, kSharedFunctionInfoIndex)
2062 ACCESSORS(DebugInfo, original_code, Code, kOriginalCodeIndex) 2063 ACCESSORS(DebugInfo, original_code, Code, kOriginalCodeIndex)
2063 ACCESSORS(DebugInfo, code, Code, kPatchedCodeIndex) 2064 ACCESSORS(DebugInfo, code, Code, kPatchedCodeIndex)
2064 ACCESSORS(DebugInfo, break_points, FixedArray, kBreakPointsStateIndex) 2065 ACCESSORS(DebugInfo, break_points, FixedArray, kBreakPointsStateIndex)
2065 2066
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
2590 #undef WRITE_INT_FIELD 2591 #undef WRITE_INT_FIELD
2591 #undef READ_SHORT_FIELD 2592 #undef READ_SHORT_FIELD
2592 #undef WRITE_SHORT_FIELD 2593 #undef WRITE_SHORT_FIELD
2593 #undef READ_BYTE_FIELD 2594 #undef READ_BYTE_FIELD
2594 #undef WRITE_BYTE_FIELD 2595 #undef WRITE_BYTE_FIELD
2595 2596
2596 2597
2597 } } // namespace v8::internal 2598 } } // namespace v8::internal
2598 2599
2599 #endif // V8_OBJECTS_INL_H_ 2600 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects-debug.cc ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698