| 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 5500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5511 JSArray::kLengthOffset, | 5511 JSArray::kLengthOffset, |
| 5512 IsFastElementsKind(elements_kind) && | 5512 IsFastElementsKind(elements_kind) && |
| 5513 FLAG_track_fields | 5513 FLAG_track_fields |
| 5514 ? Representation::Smi() : Representation::Tagged()); | 5514 ? Representation::Smi() : Representation::Tagged()); |
| 5515 } | 5515 } |
| 5516 | 5516 |
| 5517 static HObjectAccess ForAllocationSiteTransitionInfo() { | 5517 static HObjectAccess ForAllocationSiteTransitionInfo() { |
| 5518 return HObjectAccess(kInobject, AllocationSite::kTransitionInfoOffset); | 5518 return HObjectAccess(kInobject, AllocationSite::kTransitionInfoOffset); |
| 5519 } | 5519 } |
| 5520 | 5520 |
| 5521 static HObjectAccess ForAllocationSiteDependentCode() { |
| 5522 return HObjectAccess(kInobject, AllocationSite::kDependentCodeOffset); |
| 5523 } |
| 5524 |
| 5521 static HObjectAccess ForAllocationSiteWeakNext() { | 5525 static HObjectAccess ForAllocationSiteWeakNext() { |
| 5522 return HObjectAccess(kInobject, AllocationSite::kWeakNextOffset); | 5526 return HObjectAccess(kInobject, AllocationSite::kWeakNextOffset); |
| 5523 } | 5527 } |
| 5524 | 5528 |
| 5525 static HObjectAccess ForAllocationSiteList() { | 5529 static HObjectAccess ForAllocationSiteList() { |
| 5526 return HObjectAccess(kExternalMemory, 0, Representation::Tagged()); | 5530 return HObjectAccess(kExternalMemory, 0, Representation::Tagged()); |
| 5527 } | 5531 } |
| 5528 | 5532 |
| 5529 static HObjectAccess ForFixedArrayLength() { | 5533 static HObjectAccess ForFixedArrayLength() { |
| 5530 return HObjectAccess( | 5534 return HObjectAccess( |
| (...skipping 1313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6844 virtual bool IsDeletable() const V8_OVERRIDE { return true; } | 6848 virtual bool IsDeletable() const V8_OVERRIDE { return true; } |
| 6845 }; | 6849 }; |
| 6846 | 6850 |
| 6847 | 6851 |
| 6848 #undef DECLARE_INSTRUCTION | 6852 #undef DECLARE_INSTRUCTION |
| 6849 #undef DECLARE_CONCRETE_INSTRUCTION | 6853 #undef DECLARE_CONCRETE_INSTRUCTION |
| 6850 | 6854 |
| 6851 } } // namespace v8::internal | 6855 } } // namespace v8::internal |
| 6852 | 6856 |
| 6853 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 6857 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
| OLD | NEW |