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

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

Issue 7229007: Add possibility to configure 'prototype' property via FunctionTemplate (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: address comments Created 9 years, 6 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.h ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 3214 matching lines...) Expand 10 before | Expand all | Expand 10 after
3225 kIndexedPropertyHandlerOffset) 3225 kIndexedPropertyHandlerOffset)
3226 ACCESSORS(FunctionTemplateInfo, instance_template, Object, 3226 ACCESSORS(FunctionTemplateInfo, instance_template, Object,
3227 kInstanceTemplateOffset) 3227 kInstanceTemplateOffset)
3228 ACCESSORS(FunctionTemplateInfo, class_name, Object, kClassNameOffset) 3228 ACCESSORS(FunctionTemplateInfo, class_name, Object, kClassNameOffset)
3229 ACCESSORS(FunctionTemplateInfo, signature, Object, kSignatureOffset) 3229 ACCESSORS(FunctionTemplateInfo, signature, Object, kSignatureOffset)
3230 ACCESSORS(FunctionTemplateInfo, instance_call_handler, Object, 3230 ACCESSORS(FunctionTemplateInfo, instance_call_handler, Object,
3231 kInstanceCallHandlerOffset) 3231 kInstanceCallHandlerOffset)
3232 ACCESSORS(FunctionTemplateInfo, access_check_info, Object, 3232 ACCESSORS(FunctionTemplateInfo, access_check_info, Object,
3233 kAccessCheckInfoOffset) 3233 kAccessCheckInfoOffset)
3234 ACCESSORS(FunctionTemplateInfo, flag, Smi, kFlagOffset) 3234 ACCESSORS(FunctionTemplateInfo, flag, Smi, kFlagOffset)
3235 ACCESSORS(FunctionTemplateInfo, prototype_attributes, Smi,
3236 kPrototypeAttributesOffset)
3235 3237
3236 ACCESSORS(ObjectTemplateInfo, constructor, Object, kConstructorOffset) 3238 ACCESSORS(ObjectTemplateInfo, constructor, Object, kConstructorOffset)
3237 ACCESSORS(ObjectTemplateInfo, internal_field_count, Object, 3239 ACCESSORS(ObjectTemplateInfo, internal_field_count, Object,
3238 kInternalFieldCountOffset) 3240 kInternalFieldCountOffset)
3239 3241
3240 ACCESSORS(SignatureInfo, receiver, Object, kReceiverOffset) 3242 ACCESSORS(SignatureInfo, receiver, Object, kReceiverOffset)
3241 ACCESSORS(SignatureInfo, args, Object, kArgsOffset) 3243 ACCESSORS(SignatureInfo, args, Object, kArgsOffset)
3242 3244
3243 ACCESSORS(TypeSwitchInfo, types, Object, kTypesOffset) 3245 ACCESSORS(TypeSwitchInfo, types, Object, kTypesOffset)
3244 3246
(...skipping 1175 matching lines...) Expand 10 before | Expand all | Expand 10 after
4420 #undef WRITE_INT_FIELD 4422 #undef WRITE_INT_FIELD
4421 #undef READ_SHORT_FIELD 4423 #undef READ_SHORT_FIELD
4422 #undef WRITE_SHORT_FIELD 4424 #undef WRITE_SHORT_FIELD
4423 #undef READ_BYTE_FIELD 4425 #undef READ_BYTE_FIELD
4424 #undef WRITE_BYTE_FIELD 4426 #undef WRITE_BYTE_FIELD
4425 4427
4426 4428
4427 } } // namespace v8::internal 4429 } } // namespace v8::internal
4428 4430
4429 #endif // V8_OBJECTS_INL_H_ 4431 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698