| 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 5653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5664 JSArray::kLengthOffset, | 5664 JSArray::kLengthOffset, |
| 5665 IsFastElementsKind(elements_kind) && | 5665 IsFastElementsKind(elements_kind) && |
| 5666 FLAG_track_fields | 5666 FLAG_track_fields |
| 5667 ? Representation::Smi() : Representation::Tagged()); | 5667 ? Representation::Smi() : Representation::Tagged()); |
| 5668 } | 5668 } |
| 5669 | 5669 |
| 5670 static HObjectAccess ForAllocationSiteTransitionInfo() { | 5670 static HObjectAccess ForAllocationSiteTransitionInfo() { |
| 5671 return HObjectAccess(kInobject, AllocationSite::kTransitionInfoOffset); | 5671 return HObjectAccess(kInobject, AllocationSite::kTransitionInfoOffset); |
| 5672 } | 5672 } |
| 5673 | 5673 |
| 5674 static HObjectAccess ForAllocationSiteDependentCode() { |
| 5675 return HObjectAccess(kInobject, AllocationSite::kDependentCodeOffset); |
| 5676 } |
| 5677 |
| 5674 static HObjectAccess ForAllocationSiteWeakNext() { | 5678 static HObjectAccess ForAllocationSiteWeakNext() { |
| 5675 return HObjectAccess(kInobject, AllocationSite::kWeakNextOffset); | 5679 return HObjectAccess(kInobject, AllocationSite::kWeakNextOffset); |
| 5676 } | 5680 } |
| 5677 | 5681 |
| 5678 static HObjectAccess ForAllocationSiteList() { | 5682 static HObjectAccess ForAllocationSiteList() { |
| 5679 return HObjectAccess(kExternalMemory, 0, Representation::Tagged()); | 5683 return HObjectAccess(kExternalMemory, 0, Representation::Tagged()); |
| 5680 } | 5684 } |
| 5681 | 5685 |
| 5682 static HObjectAccess ForFixedArrayLength() { | 5686 static HObjectAccess ForFixedArrayLength() { |
| 5683 return HObjectAccess( | 5687 return HObjectAccess( |
| (...skipping 1350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7034 virtual bool IsDeletable() const V8_OVERRIDE { return true; } | 7038 virtual bool IsDeletable() const V8_OVERRIDE { return true; } |
| 7035 }; | 7039 }; |
| 7036 | 7040 |
| 7037 | 7041 |
| 7038 #undef DECLARE_INSTRUCTION | 7042 #undef DECLARE_INSTRUCTION |
| 7039 #undef DECLARE_CONCRETE_INSTRUCTION | 7043 #undef DECLARE_CONCRETE_INSTRUCTION |
| 7040 | 7044 |
| 7041 } } // namespace v8::internal | 7045 } } // namespace v8::internal |
| 7042 | 7046 |
| 7043 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 7047 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
| OLD | NEW |