| OLD | NEW |
| 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 4470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4481 ACCESSORS(FunctionTemplateInfo, indexed_property_handler, Object, | 4481 ACCESSORS(FunctionTemplateInfo, indexed_property_handler, Object, |
| 4482 kIndexedPropertyHandlerOffset) | 4482 kIndexedPropertyHandlerOffset) |
| 4483 ACCESSORS(FunctionTemplateInfo, instance_template, Object, | 4483 ACCESSORS(FunctionTemplateInfo, instance_template, Object, |
| 4484 kInstanceTemplateOffset) | 4484 kInstanceTemplateOffset) |
| 4485 ACCESSORS(FunctionTemplateInfo, class_name, Object, kClassNameOffset) | 4485 ACCESSORS(FunctionTemplateInfo, class_name, Object, kClassNameOffset) |
| 4486 ACCESSORS(FunctionTemplateInfo, signature, Object, kSignatureOffset) | 4486 ACCESSORS(FunctionTemplateInfo, signature, Object, kSignatureOffset) |
| 4487 ACCESSORS(FunctionTemplateInfo, instance_call_handler, Object, | 4487 ACCESSORS(FunctionTemplateInfo, instance_call_handler, Object, |
| 4488 kInstanceCallHandlerOffset) | 4488 kInstanceCallHandlerOffset) |
| 4489 ACCESSORS(FunctionTemplateInfo, access_check_info, Object, | 4489 ACCESSORS(FunctionTemplateInfo, access_check_info, Object, |
| 4490 kAccessCheckInfoOffset) | 4490 kAccessCheckInfoOffset) |
| 4491 ACCESSORS_TO_SMI(FunctionTemplateInfo, flag, kFlagOffset) | 4491 SMI_ACCESSORS(FunctionTemplateInfo, flag, kFlagOffset) |
| 4492 | 4492 |
| 4493 ACCESSORS(ObjectTemplateInfo, constructor, Object, kConstructorOffset) | 4493 ACCESSORS(ObjectTemplateInfo, constructor, Object, kConstructorOffset) |
| 4494 ACCESSORS(ObjectTemplateInfo, internal_field_count, Object, | 4494 ACCESSORS(ObjectTemplateInfo, internal_field_count, Object, |
| 4495 kInternalFieldCountOffset) | 4495 kInternalFieldCountOffset) |
| 4496 | 4496 |
| 4497 ACCESSORS(SignatureInfo, receiver, Object, kReceiverOffset) | 4497 ACCESSORS(SignatureInfo, receiver, Object, kReceiverOffset) |
| 4498 ACCESSORS(SignatureInfo, args, Object, kArgsOffset) | 4498 ACCESSORS(SignatureInfo, args, Object, kArgsOffset) |
| 4499 | 4499 |
| 4500 ACCESSORS(TypeSwitchInfo, types, Object, kTypesOffset) | 4500 ACCESSORS(TypeSwitchInfo, types, Object, kTypesOffset) |
| 4501 | 4501 |
| (...skipping 1717 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6219 int value = Smi::cast(READ_FIELD(this, kStorage2Offset))->value(); | 6219 int value = Smi::cast(READ_FIELD(this, kStorage2Offset))->value(); |
| 6220 int mask = (1 << kTypeChangeChecksumBits) - 1; | 6220 int mask = (1 << kTypeChangeChecksumBits) - 1; |
| 6221 return InlinedTypeChangeChecksum::decode(value) == (checksum & mask); | 6221 return InlinedTypeChangeChecksum::decode(value) == (checksum & mask); |
| 6222 } | 6222 } |
| 6223 | 6223 |
| 6224 | 6224 |
| 6225 ACCESSORS(TypeFeedbackInfo, type_feedback_cells, TypeFeedbackCells, | 6225 ACCESSORS(TypeFeedbackInfo, type_feedback_cells, TypeFeedbackCells, |
| 6226 kTypeFeedbackCellsOffset) | 6226 kTypeFeedbackCellsOffset) |
| 6227 | 6227 |
| 6228 | 6228 |
| 6229 SMI_ACCESSORS(AliasedArgumentsEntry, aliased_context_slot, kAliasedContextSlot) | 6229 SMI_ACCESSORS(AliasedArgumentsEntry, aliased_context_slot, |
| 6230 kAliasedContextSlotOffset) |
| 6230 | 6231 |
| 6231 | 6232 |
| 6232 Relocatable::Relocatable(Isolate* isolate) { | 6233 Relocatable::Relocatable(Isolate* isolate) { |
| 6233 ASSERT(isolate == Isolate::Current()); | 6234 ASSERT(isolate == Isolate::Current()); |
| 6234 isolate_ = isolate; | 6235 isolate_ = isolate; |
| 6235 prev_ = isolate->relocatable_top(); | 6236 prev_ = isolate->relocatable_top(); |
| 6236 isolate->set_relocatable_top(this); | 6237 isolate->set_relocatable_top(this); |
| 6237 } | 6238 } |
| 6238 | 6239 |
| 6239 | 6240 |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6333 #undef WRITE_UINT32_FIELD | 6334 #undef WRITE_UINT32_FIELD |
| 6334 #undef READ_SHORT_FIELD | 6335 #undef READ_SHORT_FIELD |
| 6335 #undef WRITE_SHORT_FIELD | 6336 #undef WRITE_SHORT_FIELD |
| 6336 #undef READ_BYTE_FIELD | 6337 #undef READ_BYTE_FIELD |
| 6337 #undef WRITE_BYTE_FIELD | 6338 #undef WRITE_BYTE_FIELD |
| 6338 | 6339 |
| 6339 | 6340 |
| 6340 } } // namespace v8::internal | 6341 } } // namespace v8::internal |
| 6341 | 6342 |
| 6342 #endif // V8_OBJECTS_INL_H_ | 6343 #endif // V8_OBJECTS_INL_H_ |
| OLD | NEW |