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 4474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4485 // [relocation_info]: Code relocation information | 4485 // [relocation_info]: Code relocation information |
4486 DECL_ACCESSORS(relocation_info, ByteArray) | 4486 DECL_ACCESSORS(relocation_info, ByteArray) |
4487 void InvalidateRelocation(); | 4487 void InvalidateRelocation(); |
4488 | 4488 |
4489 // [handler_table]: Fixed array containing offsets of exception handlers. | 4489 // [handler_table]: Fixed array containing offsets of exception handlers. |
4490 DECL_ACCESSORS(handler_table, FixedArray) | 4490 DECL_ACCESSORS(handler_table, FixedArray) |
4491 | 4491 |
4492 // [deoptimization_data]: Array containing data for deopt. | 4492 // [deoptimization_data]: Array containing data for deopt. |
4493 DECL_ACCESSORS(deoptimization_data, FixedArray) | 4493 DECL_ACCESSORS(deoptimization_data, FixedArray) |
4494 | 4494 |
| 4495 // [deopt_counter_cells]: Array containing data for deopt counters. |
| 4496 DECL_ACCESSORS(deopt_counter_cells, FixedArray) |
| 4497 |
4495 // [type_feedback_info]: Struct containing type feedback information for | 4498 // [type_feedback_info]: Struct containing type feedback information for |
4496 // unoptimized code. Optimized code can temporarily store the head of | 4499 // unoptimized code. Optimized code can temporarily store the head of |
4497 // the list of the dependent optimized functions during deoptimization. | 4500 // the list of the dependent optimized functions during deoptimization. |
4498 // STUBs can use this slot to store arbitrary information as a Smi. | 4501 // STUBs can use this slot to store arbitrary information as a Smi. |
4499 // Will contain either a TypeFeedbackInfo object, or JSFunction object, | 4502 // Will contain either a TypeFeedbackInfo object, or JSFunction object, |
4500 // or undefined, or a Smi. | 4503 // or undefined, or a Smi. |
4501 DECL_ACCESSORS(type_feedback_info, Object) | 4504 DECL_ACCESSORS(type_feedback_info, Object) |
4502 inline void InitializeTypeFeedbackInfoNoWriteBarrier(Object* value); | 4505 inline void InitializeTypeFeedbackInfoNoWriteBarrier(Object* value); |
4503 inline int stub_info(); | 4506 inline int stub_info(); |
4504 inline void set_stub_info(int info); | 4507 inline void set_stub_info(int info); |
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4811 // Max loop nesting marker used to postpose OSR. We don't take loop | 4814 // Max loop nesting marker used to postpose OSR. We don't take loop |
4812 // nesting that is deeper than 5 levels into account. | 4815 // nesting that is deeper than 5 levels into account. |
4813 static const int kMaxLoopNestingMarker = 6; | 4816 static const int kMaxLoopNestingMarker = 6; |
4814 | 4817 |
4815 // Layout description. | 4818 // Layout description. |
4816 static const int kInstructionSizeOffset = HeapObject::kHeaderSize; | 4819 static const int kInstructionSizeOffset = HeapObject::kHeaderSize; |
4817 static const int kRelocationInfoOffset = kInstructionSizeOffset + kIntSize; | 4820 static const int kRelocationInfoOffset = kInstructionSizeOffset + kIntSize; |
4818 static const int kHandlerTableOffset = kRelocationInfoOffset + kPointerSize; | 4821 static const int kHandlerTableOffset = kRelocationInfoOffset + kPointerSize; |
4819 static const int kDeoptimizationDataOffset = | 4822 static const int kDeoptimizationDataOffset = |
4820 kHandlerTableOffset + kPointerSize; | 4823 kHandlerTableOffset + kPointerSize; |
| 4824 static const int kDeoptCounterCellsOffset = |
| 4825 kDeoptimizationDataOffset + kPointerSize; |
4821 static const int kTypeFeedbackInfoOffset = | 4826 static const int kTypeFeedbackInfoOffset = |
4822 kDeoptimizationDataOffset + kPointerSize; | 4827 kDeoptCounterCellsOffset + kPointerSize; |
4823 static const int kGCMetadataOffset = kTypeFeedbackInfoOffset + kPointerSize; | 4828 static const int kGCMetadataOffset = kTypeFeedbackInfoOffset + kPointerSize; |
4824 static const int kICAgeOffset = | 4829 static const int kICAgeOffset = |
4825 kGCMetadataOffset + kPointerSize; | 4830 kGCMetadataOffset + kPointerSize; |
4826 static const int kFlagsOffset = kICAgeOffset + kIntSize; | 4831 static const int kFlagsOffset = kICAgeOffset + kIntSize; |
4827 static const int kKindSpecificFlags1Offset = kFlagsOffset + kIntSize; | 4832 static const int kKindSpecificFlags1Offset = kFlagsOffset + kIntSize; |
4828 static const int kKindSpecificFlags2Offset = | 4833 static const int kKindSpecificFlags2Offset = |
4829 kKindSpecificFlags1Offset + kIntSize; | 4834 kKindSpecificFlags1Offset + kIntSize; |
4830 // Note: We might be able to squeeze this into the flags above. | 4835 // Note: We might be able to squeeze this into the flags above. |
4831 static const int kPrologueOffset = kKindSpecificFlags2Offset + kIntSize; | 4836 static const int kPrologueOffset = kKindSpecificFlags2Offset + kIntSize; |
4832 | 4837 |
(...skipping 4796 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9629 } else { | 9634 } else { |
9630 value &= ~(1 << bit_position); | 9635 value &= ~(1 << bit_position); |
9631 } | 9636 } |
9632 return value; | 9637 return value; |
9633 } | 9638 } |
9634 }; | 9639 }; |
9635 | 9640 |
9636 } } // namespace v8::internal | 9641 } } // namespace v8::internal |
9637 | 9642 |
9638 #endif // V8_OBJECTS_H_ | 9643 #endif // V8_OBJECTS_H_ |
OLD | NEW |