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

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

Issue 9837005: Age inline caches after context disposal. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 9 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
« src/objects.h ('K') | « src/objects.h ('k') | no next file » | 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 3478 matching lines...) Expand 10 before | Expand all | Expand 10 after
3489 ACCESSORS(SharedFunctionInfo, initial_map, Object, kInitialMapOffset) 3489 ACCESSORS(SharedFunctionInfo, initial_map, Object, kInitialMapOffset)
3490 ACCESSORS(SharedFunctionInfo, instance_class_name, Object, 3490 ACCESSORS(SharedFunctionInfo, instance_class_name, Object,
3491 kInstanceClassNameOffset) 3491 kInstanceClassNameOffset)
3492 ACCESSORS(SharedFunctionInfo, function_data, Object, kFunctionDataOffset) 3492 ACCESSORS(SharedFunctionInfo, function_data, Object, kFunctionDataOffset)
3493 ACCESSORS(SharedFunctionInfo, script, Object, kScriptOffset) 3493 ACCESSORS(SharedFunctionInfo, script, Object, kScriptOffset)
3494 ACCESSORS(SharedFunctionInfo, debug_info, Object, kDebugInfoOffset) 3494 ACCESSORS(SharedFunctionInfo, debug_info, Object, kDebugInfoOffset)
3495 ACCESSORS(SharedFunctionInfo, inferred_name, String, kInferredNameOffset) 3495 ACCESSORS(SharedFunctionInfo, inferred_name, String, kInferredNameOffset)
3496 ACCESSORS(SharedFunctionInfo, this_property_assignments, Object, 3496 ACCESSORS(SharedFunctionInfo, this_property_assignments, Object,
3497 kThisPropertyAssignmentsOffset) 3497 kThisPropertyAssignmentsOffset)
3498 3498
3499 SMI_ACCESSORS(SharedFunctionInfo,
3500 context_disposed_count,
3501 kContextDisposedCountOffset)
3502
3499 SMI_ACCESSORS(SharedFunctionInfo, profiler_ticks, kProfilerTicksOffset) 3503 SMI_ACCESSORS(SharedFunctionInfo, profiler_ticks, kProfilerTicksOffset)
3500 3504
3501 BOOL_ACCESSORS(FunctionTemplateInfo, flag, hidden_prototype, 3505 BOOL_ACCESSORS(FunctionTemplateInfo, flag, hidden_prototype,
3502 kHiddenPrototypeBit) 3506 kHiddenPrototypeBit)
3503 BOOL_ACCESSORS(FunctionTemplateInfo, flag, undetectable, kUndetectableBit) 3507 BOOL_ACCESSORS(FunctionTemplateInfo, flag, undetectable, kUndetectableBit)
3504 BOOL_ACCESSORS(FunctionTemplateInfo, flag, needs_access_check, 3508 BOOL_ACCESSORS(FunctionTemplateInfo, flag, needs_access_check,
3505 kNeedsAccessCheckBit) 3509 kNeedsAccessCheckBit)
3506 BOOL_ACCESSORS(FunctionTemplateInfo, flag, read_only_prototype, 3510 BOOL_ACCESSORS(FunctionTemplateInfo, flag, read_only_prototype,
3507 kReadOnlyPrototypeBit) 3511 kReadOnlyPrototypeBit)
3508 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_expression, 3512 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_expression,
(...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after
4111 return reinterpret_cast<JSMessageObject*>(obj); 4115 return reinterpret_cast<JSMessageObject*>(obj);
4112 } 4116 }
4113 4117
4114 4118
4115 INT_ACCESSORS(Code, instruction_size, kInstructionSizeOffset) 4119 INT_ACCESSORS(Code, instruction_size, kInstructionSizeOffset)
4116 ACCESSORS(Code, relocation_info, ByteArray, kRelocationInfoOffset) 4120 ACCESSORS(Code, relocation_info, ByteArray, kRelocationInfoOffset)
4117 ACCESSORS(Code, handler_table, FixedArray, kHandlerTableOffset) 4121 ACCESSORS(Code, handler_table, FixedArray, kHandlerTableOffset)
4118 ACCESSORS(Code, deoptimization_data, FixedArray, kDeoptimizationDataOffset) 4122 ACCESSORS(Code, deoptimization_data, FixedArray, kDeoptimizationDataOffset)
4119 ACCESSORS(Code, type_feedback_info, Object, kTypeFeedbackInfoOffset) 4123 ACCESSORS(Code, type_feedback_info, Object, kTypeFeedbackInfoOffset)
4120 ACCESSORS(Code, gc_metadata, Object, kGCMetadataOffset) 4124 ACCESSORS(Code, gc_metadata, Object, kGCMetadataOffset)
4121 4125 INT_ACCESSORS(Code, context_disposed_count, kContextDisposedCountOffset)
4122 4126
4123 byte* Code::instruction_start() { 4127 byte* Code::instruction_start() {
4124 return FIELD_ADDR(this, kHeaderSize); 4128 return FIELD_ADDR(this, kHeaderSize);
4125 } 4129 }
4126 4130
4127 4131
4128 byte* Code::instruction_end() { 4132 byte* Code::instruction_end() {
4129 return instruction_start() + instruction_size(); 4133 return instruction_start() + instruction_size();
4130 } 4134 }
4131 4135
(...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after
4915 #undef WRITE_UINT32_FIELD 4919 #undef WRITE_UINT32_FIELD
4916 #undef READ_SHORT_FIELD 4920 #undef READ_SHORT_FIELD
4917 #undef WRITE_SHORT_FIELD 4921 #undef WRITE_SHORT_FIELD
4918 #undef READ_BYTE_FIELD 4922 #undef READ_BYTE_FIELD
4919 #undef WRITE_BYTE_FIELD 4923 #undef WRITE_BYTE_FIELD
4920 4924
4921 4925
4922 } } // namespace v8::internal 4926 } } // namespace v8::internal
4923 4927
4924 #endif // V8_OBJECTS_INL_H_ 4928 #endif // V8_OBJECTS_INL_H_
OLDNEW
« src/objects.h ('K') | « src/objects.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698