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

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

Issue 11663005: Adapt Danno's Track Allocation Info idea to fast literals. When allocating a literal array, (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: A few more review comments Created 7 years, 11 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 4046 matching lines...) Expand 10 before | Expand all | Expand 10 after
4057 4057
4058 ACCESSORS(ObjectTemplateInfo, constructor, Object, kConstructorOffset) 4058 ACCESSORS(ObjectTemplateInfo, constructor, Object, kConstructorOffset)
4059 ACCESSORS(ObjectTemplateInfo, internal_field_count, Object, 4059 ACCESSORS(ObjectTemplateInfo, internal_field_count, Object,
4060 kInternalFieldCountOffset) 4060 kInternalFieldCountOffset)
4061 4061
4062 ACCESSORS(SignatureInfo, receiver, Object, kReceiverOffset) 4062 ACCESSORS(SignatureInfo, receiver, Object, kReceiverOffset)
4063 ACCESSORS(SignatureInfo, args, Object, kArgsOffset) 4063 ACCESSORS(SignatureInfo, args, Object, kArgsOffset)
4064 4064
4065 ACCESSORS(TypeSwitchInfo, types, Object, kTypesOffset) 4065 ACCESSORS(TypeSwitchInfo, types, Object, kTypesOffset)
4066 4066
4067 ACCESSORS(AllocationSiteInfo, payload, Object, kPayloadOffset)
4068
4067 ACCESSORS(Script, source, Object, kSourceOffset) 4069 ACCESSORS(Script, source, Object, kSourceOffset)
4068 ACCESSORS(Script, name, Object, kNameOffset) 4070 ACCESSORS(Script, name, Object, kNameOffset)
4069 ACCESSORS(Script, id, Object, kIdOffset) 4071 ACCESSORS(Script, id, Object, kIdOffset)
4070 ACCESSORS_TO_SMI(Script, line_offset, kLineOffsetOffset) 4072 ACCESSORS_TO_SMI(Script, line_offset, kLineOffsetOffset)
4071 ACCESSORS_TO_SMI(Script, column_offset, kColumnOffsetOffset) 4073 ACCESSORS_TO_SMI(Script, column_offset, kColumnOffsetOffset)
4072 ACCESSORS(Script, data, Object, kDataOffset) 4074 ACCESSORS(Script, data, Object, kDataOffset)
4073 ACCESSORS(Script, context_data, Object, kContextOffset) 4075 ACCESSORS(Script, context_data, Object, kContextOffset)
4074 ACCESSORS(Script, wrapper, Foreign, kWrapperOffset) 4076 ACCESSORS(Script, wrapper, Foreign, kWrapperOffset)
4075 ACCESSORS_TO_SMI(Script, type, kTypeOffset) 4077 ACCESSORS_TO_SMI(Script, type, kTypeOffset)
4076 ACCESSORS_TO_SMI(Script, compilation_type, kCompilationTypeOffset) 4078 ACCESSORS_TO_SMI(Script, compilation_type, kCompilationTypeOffset)
(...skipping 1704 matching lines...) Expand 10 before | Expand all | Expand 10 after
5781 #undef WRITE_UINT32_FIELD 5783 #undef WRITE_UINT32_FIELD
5782 #undef READ_SHORT_FIELD 5784 #undef READ_SHORT_FIELD
5783 #undef WRITE_SHORT_FIELD 5785 #undef WRITE_SHORT_FIELD
5784 #undef READ_BYTE_FIELD 5786 #undef READ_BYTE_FIELD
5785 #undef WRITE_BYTE_FIELD 5787 #undef WRITE_BYTE_FIELD
5786 5788
5787 5789
5788 } } // namespace v8::internal 5790 } } // namespace v8::internal
5789 5791
5790 #endif // V8_OBJECTS_INL_H_ 5792 #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