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 6524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6535 if (length() == 0) return this; | 6535 if (length() == 0) return this; |
6536 return GetHeap()->CopyConstantPoolArray(this); | 6536 return GetHeap()->CopyConstantPoolArray(this); |
6537 } | 6537 } |
6538 | 6538 |
6539 | 6539 |
6540 Handle<Object> TypeFeedbackInfo::UninitializedSentinel(Isolate* isolate) { | 6540 Handle<Object> TypeFeedbackInfo::UninitializedSentinel(Isolate* isolate) { |
6541 return isolate->factory()->the_hole_value(); | 6541 return isolate->factory()->the_hole_value(); |
6542 } | 6542 } |
6543 | 6543 |
6544 | 6544 |
| 6545 Handle<Object> TypeFeedbackInfo::PremonomorphicSentinel(Isolate* isolate) { |
| 6546 return isolate->factory()->null_value(); |
| 6547 } |
| 6548 |
| 6549 |
6545 Handle<Object> TypeFeedbackInfo::MegamorphicSentinel(Isolate* isolate) { | 6550 Handle<Object> TypeFeedbackInfo::MegamorphicSentinel(Isolate* isolate) { |
6546 return isolate->factory()->undefined_value(); | 6551 return isolate->factory()->undefined_value(); |
6547 } | 6552 } |
6548 | 6553 |
6549 | 6554 |
6550 Handle<Object> TypeFeedbackInfo::MonomorphicArraySentinel(Isolate* isolate, | 6555 Handle<Object> TypeFeedbackInfo::MonomorphicArraySentinel(Isolate* isolate, |
6551 ElementsKind elements_kind) { | 6556 ElementsKind elements_kind) { |
6552 return Handle<Object>(Smi::FromInt(static_cast<int>(elements_kind)), isolate); | 6557 return Handle<Object>(Smi::FromInt(static_cast<int>(elements_kind)), isolate); |
6553 } | 6558 } |
6554 | 6559 |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6744 #undef READ_UINT32_FIELD | 6749 #undef READ_UINT32_FIELD |
6745 #undef WRITE_UINT32_FIELD | 6750 #undef WRITE_UINT32_FIELD |
6746 #undef READ_SHORT_FIELD | 6751 #undef READ_SHORT_FIELD |
6747 #undef WRITE_SHORT_FIELD | 6752 #undef WRITE_SHORT_FIELD |
6748 #undef READ_BYTE_FIELD | 6753 #undef READ_BYTE_FIELD |
6749 #undef WRITE_BYTE_FIELD | 6754 #undef WRITE_BYTE_FIELD |
6750 | 6755 |
6751 } } // namespace v8::internal | 6756 } } // namespace v8::internal |
6752 | 6757 |
6753 #endif // V8_OBJECTS_INL_H_ | 6758 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |