| 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 4854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4865 // Used during GC to code a list of code objects to deoptimize. | 4865 // Used during GC to code a list of code objects to deoptimize. |
| 4866 inline Object* code_to_deoptimize_link(); | 4866 inline Object* code_to_deoptimize_link(); |
| 4867 inline void set_code_to_deoptimize_link(Object* value); | 4867 inline void set_code_to_deoptimize_link(Object* value); |
| 4868 inline Object** code_to_deoptimize_link_slot(); | 4868 inline Object** code_to_deoptimize_link_slot(); |
| 4869 | 4869 |
| 4870 // [gc_metadata]: Field used to hold GC related metadata. The contents of this | 4870 // [gc_metadata]: Field used to hold GC related metadata. The contents of this |
| 4871 // field does not have to be traced during garbage collection since | 4871 // field does not have to be traced during garbage collection since |
| 4872 // it is only used by the garbage collector itself. | 4872 // it is only used by the garbage collector itself. |
| 4873 DECL_ACCESSORS(gc_metadata, Object) | 4873 DECL_ACCESSORS(gc_metadata, Object) |
| 4874 | 4874 |
| 4875 // Profiling budget counter to govern when to invoke the runtime profiler. |
| 4876 DECL_ACCESSORS(profiling_budget, Cell) |
| 4877 |
| 4878 inline void ResetProfilingBudget(int value); |
| 4879 |
| 4875 // [ic_age]: Inline caching age: the value of the Heap::global_ic_age | 4880 // [ic_age]: Inline caching age: the value of the Heap::global_ic_age |
| 4876 // at the moment when this object was created. | 4881 // at the moment when this object was created. |
| 4877 inline void set_ic_age(int count); | 4882 inline void set_ic_age(int count); |
| 4878 inline int ic_age(); | 4883 inline int ic_age(); |
| 4879 | 4884 |
| 4880 // [prologue_offset]: Offset of the function prologue, used for aging | 4885 // [prologue_offset]: Offset of the function prologue, used for aging |
| 4881 // FUNCTIONs and OPTIMIZED_FUNCTIONs. | 4886 // FUNCTIONs and OPTIMIZED_FUNCTIONs. |
| 4882 inline int prologue_offset(); | 4887 inline int prologue_offset(); |
| 4883 inline void set_prologue_offset(int offset); | 4888 inline void set_prologue_offset(int offset); |
| 4884 | 4889 |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5178 | 5183 |
| 5179 // Layout description. | 5184 // Layout description. |
| 5180 static const int kInstructionSizeOffset = HeapObject::kHeaderSize; | 5185 static const int kInstructionSizeOffset = HeapObject::kHeaderSize; |
| 5181 static const int kRelocationInfoOffset = kInstructionSizeOffset + kIntSize; | 5186 static const int kRelocationInfoOffset = kInstructionSizeOffset + kIntSize; |
| 5182 static const int kHandlerTableOffset = kRelocationInfoOffset + kPointerSize; | 5187 static const int kHandlerTableOffset = kRelocationInfoOffset + kPointerSize; |
| 5183 static const int kDeoptimizationDataOffset = | 5188 static const int kDeoptimizationDataOffset = |
| 5184 kHandlerTableOffset + kPointerSize; | 5189 kHandlerTableOffset + kPointerSize; |
| 5185 static const int kTypeFeedbackInfoOffset = | 5190 static const int kTypeFeedbackInfoOffset = |
| 5186 kDeoptimizationDataOffset + kPointerSize; | 5191 kDeoptimizationDataOffset + kPointerSize; |
| 5187 static const int kGCMetadataOffset = kTypeFeedbackInfoOffset + kPointerSize; | 5192 static const int kGCMetadataOffset = kTypeFeedbackInfoOffset + kPointerSize; |
| 5188 static const int kICAgeOffset = | 5193 static const int kProfilingBudgetOffset = kGCMetadataOffset + kPointerSize; |
| 5189 kGCMetadataOffset + kPointerSize; | 5194 static const int kICAgeOffset = kProfilingBudgetOffset + kPointerSize; |
| 5190 static const int kFlagsOffset = kICAgeOffset + kIntSize; | 5195 static const int kFlagsOffset = kICAgeOffset + kIntSize; |
| 5191 static const int kKindSpecificFlags1Offset = kFlagsOffset + kIntSize; | 5196 static const int kKindSpecificFlags1Offset = kFlagsOffset + kIntSize; |
| 5192 static const int kKindSpecificFlags2Offset = | 5197 static const int kKindSpecificFlags2Offset = |
| 5193 kKindSpecificFlags1Offset + kIntSize; | 5198 kKindSpecificFlags1Offset + kIntSize; |
| 5194 // Note: We might be able to squeeze this into the flags above. | 5199 // Note: We might be able to squeeze this into the flags above. |
| 5195 static const int kPrologueOffset = kKindSpecificFlags2Offset + kIntSize; | 5200 static const int kPrologueOffset = kKindSpecificFlags2Offset + kIntSize; |
| 5196 | 5201 |
| 5197 static const int kHeaderPaddingStart = kPrologueOffset + kIntSize; | 5202 static const int kHeaderPaddingStart = kPrologueOffset + kIntSize; |
| 5198 | 5203 |
| 5199 // Add padding to align the instruction start following right after | 5204 // Add padding to align the instruction start following right after |
| (...skipping 5076 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10276 } else { | 10281 } else { |
| 10277 value &= ~(1 << bit_position); | 10282 value &= ~(1 << bit_position); |
| 10278 } | 10283 } |
| 10279 return value; | 10284 return value; |
| 10280 } | 10285 } |
| 10281 }; | 10286 }; |
| 10282 | 10287 |
| 10283 } } // namespace v8::internal | 10288 } } // namespace v8::internal |
| 10284 | 10289 |
| 10285 #endif // V8_OBJECTS_H_ | 10290 #endif // V8_OBJECTS_H_ |
| OLD | NEW |