OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // Review notes: | 5 // Review notes: |
6 // | 6 // |
7 // - The use of macros in these inline functions may seem superfluous | 7 // - The use of macros in these inline functions may seem superfluous |
8 // but it is absolutely needed to make sure gcc generates optimal | 8 // but it is absolutely needed to make sure gcc generates optimal |
9 // code. gcc is not happy when attempting to inline too deep. | 9 // code. gcc is not happy when attempting to inline too deep. |
10 // | 10 // |
(...skipping 6994 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7005 Handle<Object> TypeFeedbackInfo::UninitializedSentinel(Isolate* isolate) { | 7005 Handle<Object> TypeFeedbackInfo::UninitializedSentinel(Isolate* isolate) { |
7006 return isolate->factory()->uninitialized_symbol(); | 7006 return isolate->factory()->uninitialized_symbol(); |
7007 } | 7007 } |
7008 | 7008 |
7009 | 7009 |
7010 Handle<Object> TypeFeedbackInfo::MegamorphicSentinel(Isolate* isolate) { | 7010 Handle<Object> TypeFeedbackInfo::MegamorphicSentinel(Isolate* isolate) { |
7011 return isolate->factory()->megamorphic_symbol(); | 7011 return isolate->factory()->megamorphic_symbol(); |
7012 } | 7012 } |
7013 | 7013 |
7014 | 7014 |
| 7015 Handle<Object> TypeFeedbackInfo::PremonomorphicSentinel(Isolate* isolate) { |
| 7016 return isolate->factory()->megamorphic_symbol(); |
| 7017 } |
| 7018 |
| 7019 |
| 7020 Handle<Object> TypeFeedbackInfo::GenericSentinel(Isolate* isolate) { |
| 7021 return isolate->factory()->generic_symbol(); |
| 7022 } |
| 7023 |
| 7024 |
7015 Handle<Object> TypeFeedbackInfo::MonomorphicArraySentinel(Isolate* isolate, | 7025 Handle<Object> TypeFeedbackInfo::MonomorphicArraySentinel(Isolate* isolate, |
7016 ElementsKind elements_kind) { | 7026 ElementsKind elements_kind) { |
7017 return Handle<Object>(Smi::FromInt(static_cast<int>(elements_kind)), isolate); | 7027 return Handle<Object>(Smi::FromInt(static_cast<int>(elements_kind)), isolate); |
7018 } | 7028 } |
7019 | 7029 |
7020 | 7030 |
7021 Object* TypeFeedbackInfo::RawUninitializedSentinel(Heap* heap) { | 7031 Object* TypeFeedbackInfo::RawUninitializedSentinel(Heap* heap) { |
7022 return heap->uninitialized_symbol(); | 7032 return heap->uninitialized_symbol(); |
7023 } | 7033 } |
7024 | 7034 |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7259 #undef READ_SHORT_FIELD | 7269 #undef READ_SHORT_FIELD |
7260 #undef WRITE_SHORT_FIELD | 7270 #undef WRITE_SHORT_FIELD |
7261 #undef READ_BYTE_FIELD | 7271 #undef READ_BYTE_FIELD |
7262 #undef WRITE_BYTE_FIELD | 7272 #undef WRITE_BYTE_FIELD |
7263 #undef NOBARRIER_READ_BYTE_FIELD | 7273 #undef NOBARRIER_READ_BYTE_FIELD |
7264 #undef NOBARRIER_WRITE_BYTE_FIELD | 7274 #undef NOBARRIER_WRITE_BYTE_FIELD |
7265 | 7275 |
7266 } } // namespace v8::internal | 7276 } } // namespace v8::internal |
7267 | 7277 |
7268 #endif // V8_OBJECTS_INL_H_ | 7278 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |