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

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

Issue 7324027: Fix: FunctionTemplate::SetPrototypeAttributes broke prototype object (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: address comments Created 9 years, 5 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.cc ('k') | src/runtime.h » ('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 3231 matching lines...) Expand 10 before | Expand all | Expand 10 after
3242 kIndexedPropertyHandlerOffset) 3242 kIndexedPropertyHandlerOffset)
3243 ACCESSORS(FunctionTemplateInfo, instance_template, Object, 3243 ACCESSORS(FunctionTemplateInfo, instance_template, Object,
3244 kInstanceTemplateOffset) 3244 kInstanceTemplateOffset)
3245 ACCESSORS(FunctionTemplateInfo, class_name, Object, kClassNameOffset) 3245 ACCESSORS(FunctionTemplateInfo, class_name, Object, kClassNameOffset)
3246 ACCESSORS(FunctionTemplateInfo, signature, Object, kSignatureOffset) 3246 ACCESSORS(FunctionTemplateInfo, signature, Object, kSignatureOffset)
3247 ACCESSORS(FunctionTemplateInfo, instance_call_handler, Object, 3247 ACCESSORS(FunctionTemplateInfo, instance_call_handler, Object,
3248 kInstanceCallHandlerOffset) 3248 kInstanceCallHandlerOffset)
3249 ACCESSORS(FunctionTemplateInfo, access_check_info, Object, 3249 ACCESSORS(FunctionTemplateInfo, access_check_info, Object,
3250 kAccessCheckInfoOffset) 3250 kAccessCheckInfoOffset)
3251 ACCESSORS(FunctionTemplateInfo, flag, Smi, kFlagOffset) 3251 ACCESSORS(FunctionTemplateInfo, flag, Smi, kFlagOffset)
3252 ACCESSORS(FunctionTemplateInfo, prototype_attributes, Smi,
3253 kPrototypeAttributesOffset)
3254 3252
3255 ACCESSORS(ObjectTemplateInfo, constructor, Object, kConstructorOffset) 3253 ACCESSORS(ObjectTemplateInfo, constructor, Object, kConstructorOffset)
3256 ACCESSORS(ObjectTemplateInfo, internal_field_count, Object, 3254 ACCESSORS(ObjectTemplateInfo, internal_field_count, Object,
3257 kInternalFieldCountOffset) 3255 kInternalFieldCountOffset)
3258 3256
3259 ACCESSORS(SignatureInfo, receiver, Object, kReceiverOffset) 3257 ACCESSORS(SignatureInfo, receiver, Object, kReceiverOffset)
3260 ACCESSORS(SignatureInfo, args, Object, kArgsOffset) 3258 ACCESSORS(SignatureInfo, args, Object, kArgsOffset)
3261 3259
3262 ACCESSORS(TypeSwitchInfo, types, Object, kTypesOffset) 3260 ACCESSORS(TypeSwitchInfo, types, Object, kTypesOffset)
3263 3261
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
3298 ACCESSORS(SharedFunctionInfo, debug_info, Object, kDebugInfoOffset) 3296 ACCESSORS(SharedFunctionInfo, debug_info, Object, kDebugInfoOffset)
3299 ACCESSORS(SharedFunctionInfo, inferred_name, String, kInferredNameOffset) 3297 ACCESSORS(SharedFunctionInfo, inferred_name, String, kInferredNameOffset)
3300 ACCESSORS(SharedFunctionInfo, this_property_assignments, Object, 3298 ACCESSORS(SharedFunctionInfo, this_property_assignments, Object,
3301 kThisPropertyAssignmentsOffset) 3299 kThisPropertyAssignmentsOffset)
3302 3300
3303 BOOL_ACCESSORS(FunctionTemplateInfo, flag, hidden_prototype, 3301 BOOL_ACCESSORS(FunctionTemplateInfo, flag, hidden_prototype,
3304 kHiddenPrototypeBit) 3302 kHiddenPrototypeBit)
3305 BOOL_ACCESSORS(FunctionTemplateInfo, flag, undetectable, kUndetectableBit) 3303 BOOL_ACCESSORS(FunctionTemplateInfo, flag, undetectable, kUndetectableBit)
3306 BOOL_ACCESSORS(FunctionTemplateInfo, flag, needs_access_check, 3304 BOOL_ACCESSORS(FunctionTemplateInfo, flag, needs_access_check,
3307 kNeedsAccessCheckBit) 3305 kNeedsAccessCheckBit)
3306 BOOL_ACCESSORS(FunctionTemplateInfo, flag, read_only_prototype,
3307 kReadOnlyPrototypeBit)
3308 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_expression, 3308 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_expression,
3309 kIsExpressionBit) 3309 kIsExpressionBit)
3310 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_toplevel, 3310 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_toplevel,
3311 kIsTopLevelBit) 3311 kIsTopLevelBit)
3312 BOOL_GETTER(SharedFunctionInfo, 3312 BOOL_GETTER(SharedFunctionInfo,
3313 compiler_hints, 3313 compiler_hints,
3314 has_only_simple_this_property_assignments, 3314 has_only_simple_this_property_assignments,
3315 kHasOnlySimpleThisPropertyAssignments) 3315 kHasOnlySimpleThisPropertyAssignments)
3316 BOOL_ACCESSORS(SharedFunctionInfo, 3316 BOOL_ACCESSORS(SharedFunctionInfo,
3317 compiler_hints, 3317 compiler_hints,
(...skipping 1145 matching lines...) Expand 10 before | Expand all | Expand 10 after
4463 #undef WRITE_INT_FIELD 4463 #undef WRITE_INT_FIELD
4464 #undef READ_SHORT_FIELD 4464 #undef READ_SHORT_FIELD
4465 #undef WRITE_SHORT_FIELD 4465 #undef WRITE_SHORT_FIELD
4466 #undef READ_BYTE_FIELD 4466 #undef READ_BYTE_FIELD
4467 #undef WRITE_BYTE_FIELD 4467 #undef WRITE_BYTE_FIELD
4468 4468
4469 4469
4470 } } // namespace v8::internal 4470 } } // namespace v8::internal
4471 4471
4472 #endif // V8_OBJECTS_INL_H_ 4472 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698