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

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

Issue 181113008: Revert "Remove Script::SetData and the script_data parameter from Script::(Compile|New)." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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') | src/objects-printer.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 4898 matching lines...) Expand 10 before | Expand all | Expand 10 after
4909 ACCESSORS(AllocationSite, dependent_code, DependentCode, 4909 ACCESSORS(AllocationSite, dependent_code, DependentCode,
4910 kDependentCodeOffset) 4910 kDependentCodeOffset)
4911 ACCESSORS(AllocationSite, weak_next, Object, kWeakNextOffset) 4911 ACCESSORS(AllocationSite, weak_next, Object, kWeakNextOffset)
4912 ACCESSORS(AllocationMemento, allocation_site, Object, kAllocationSiteOffset) 4912 ACCESSORS(AllocationMemento, allocation_site, Object, kAllocationSiteOffset)
4913 4913
4914 ACCESSORS(Script, source, Object, kSourceOffset) 4914 ACCESSORS(Script, source, Object, kSourceOffset)
4915 ACCESSORS(Script, name, Object, kNameOffset) 4915 ACCESSORS(Script, name, Object, kNameOffset)
4916 ACCESSORS(Script, id, Smi, kIdOffset) 4916 ACCESSORS(Script, id, Smi, kIdOffset)
4917 ACCESSORS_TO_SMI(Script, line_offset, kLineOffsetOffset) 4917 ACCESSORS_TO_SMI(Script, line_offset, kLineOffsetOffset)
4918 ACCESSORS_TO_SMI(Script, column_offset, kColumnOffsetOffset) 4918 ACCESSORS_TO_SMI(Script, column_offset, kColumnOffsetOffset)
4919 ACCESSORS(Script, data, Object, kDataOffset)
4919 ACCESSORS(Script, context_data, Object, kContextOffset) 4920 ACCESSORS(Script, context_data, Object, kContextOffset)
4920 ACCESSORS(Script, wrapper, Foreign, kWrapperOffset) 4921 ACCESSORS(Script, wrapper, Foreign, kWrapperOffset)
4921 ACCESSORS_TO_SMI(Script, type, kTypeOffset) 4922 ACCESSORS_TO_SMI(Script, type, kTypeOffset)
4922 ACCESSORS(Script, line_ends, Object, kLineEndsOffset) 4923 ACCESSORS(Script, line_ends, Object, kLineEndsOffset)
4923 ACCESSORS(Script, eval_from_shared, Object, kEvalFromSharedOffset) 4924 ACCESSORS(Script, eval_from_shared, Object, kEvalFromSharedOffset)
4924 ACCESSORS_TO_SMI(Script, eval_from_instructions_offset, 4925 ACCESSORS_TO_SMI(Script, eval_from_instructions_offset,
4925 kEvalFrominstructionsOffsetOffset) 4926 kEvalFrominstructionsOffsetOffset)
4926 ACCESSORS_TO_SMI(Script, flags, kFlagsOffset) 4927 ACCESSORS_TO_SMI(Script, flags, kFlagsOffset)
4927 BOOL_ACCESSORS(Script, flags, is_shared_cross_origin, kIsSharedCrossOriginBit) 4928 BOOL_ACCESSORS(Script, flags, is_shared_cross_origin, kIsSharedCrossOriginBit)
4928 4929
(...skipping 1820 matching lines...) Expand 10 before | Expand all | Expand 10 after
6749 #undef READ_UINT32_FIELD 6750 #undef READ_UINT32_FIELD
6750 #undef WRITE_UINT32_FIELD 6751 #undef WRITE_UINT32_FIELD
6751 #undef READ_SHORT_FIELD 6752 #undef READ_SHORT_FIELD
6752 #undef WRITE_SHORT_FIELD 6753 #undef WRITE_SHORT_FIELD
6753 #undef READ_BYTE_FIELD 6754 #undef READ_BYTE_FIELD
6754 #undef WRITE_BYTE_FIELD 6755 #undef WRITE_BYTE_FIELD
6755 6756
6756 } } // namespace v8::internal 6757 } } // namespace v8::internal
6757 6758
6758 #endif // V8_OBJECTS_INL_H_ 6759 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects-debug.cc ('k') | src/objects-printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698