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

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: Always use in ICs, and moved feature behind a flag Created 8 years 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
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 4028 matching lines...) Expand 10 before | Expand all | Expand 10 after
4039 4039
4040 ACCESSORS(ObjectTemplateInfo, constructor, Object, kConstructorOffset) 4040 ACCESSORS(ObjectTemplateInfo, constructor, Object, kConstructorOffset)
4041 ACCESSORS(ObjectTemplateInfo, internal_field_count, Object, 4041 ACCESSORS(ObjectTemplateInfo, internal_field_count, Object,
4042 kInternalFieldCountOffset) 4042 kInternalFieldCountOffset)
4043 4043
4044 ACCESSORS(SignatureInfo, receiver, Object, kReceiverOffset) 4044 ACCESSORS(SignatureInfo, receiver, Object, kReceiverOffset)
4045 ACCESSORS(SignatureInfo, args, Object, kArgsOffset) 4045 ACCESSORS(SignatureInfo, args, Object, kArgsOffset)
4046 4046
4047 ACCESSORS(TypeSwitchInfo, types, Object, kTypesOffset) 4047 ACCESSORS(TypeSwitchInfo, types, Object, kTypesOffset)
4048 4048
4049 ACCESSORS(AllocationSiteInfo, payload, Object, kPayloadOffset)
4050
4049 ACCESSORS(Script, source, Object, kSourceOffset) 4051 ACCESSORS(Script, source, Object, kSourceOffset)
4050 ACCESSORS(Script, name, Object, kNameOffset) 4052 ACCESSORS(Script, name, Object, kNameOffset)
4051 ACCESSORS(Script, id, Object, kIdOffset) 4053 ACCESSORS(Script, id, Object, kIdOffset)
4052 ACCESSORS_TO_SMI(Script, line_offset, kLineOffsetOffset) 4054 ACCESSORS_TO_SMI(Script, line_offset, kLineOffsetOffset)
4053 ACCESSORS_TO_SMI(Script, column_offset, kColumnOffsetOffset) 4055 ACCESSORS_TO_SMI(Script, column_offset, kColumnOffsetOffset)
4054 ACCESSORS(Script, data, Object, kDataOffset) 4056 ACCESSORS(Script, data, Object, kDataOffset)
4055 ACCESSORS(Script, context_data, Object, kContextOffset) 4057 ACCESSORS(Script, context_data, Object, kContextOffset)
4056 ACCESSORS(Script, wrapper, Foreign, kWrapperOffset) 4058 ACCESSORS(Script, wrapper, Foreign, kWrapperOffset)
4057 ACCESSORS_TO_SMI(Script, type, kTypeOffset) 4059 ACCESSORS_TO_SMI(Script, type, kTypeOffset)
4058 ACCESSORS_TO_SMI(Script, compilation_type, kCompilationTypeOffset) 4060 ACCESSORS_TO_SMI(Script, compilation_type, kCompilationTypeOffset)
(...skipping 1707 matching lines...) Expand 10 before | Expand all | Expand 10 after
5766 #undef WRITE_UINT32_FIELD 5768 #undef WRITE_UINT32_FIELD
5767 #undef READ_SHORT_FIELD 5769 #undef READ_SHORT_FIELD
5768 #undef WRITE_SHORT_FIELD 5770 #undef WRITE_SHORT_FIELD
5769 #undef READ_BYTE_FIELD 5771 #undef READ_BYTE_FIELD
5770 #undef WRITE_BYTE_FIELD 5772 #undef WRITE_BYTE_FIELD
5771 5773
5772 5774
5773 } } // namespace v8::internal 5775 } } // namespace v8::internal
5774 5776
5775 #endif // V8_OBJECTS_INL_H_ 5777 #endif // V8_OBJECTS_INL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698