| 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 5329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5340 } | 5340 } |
| 5341 | 5341 |
| 5342 static HObjectAccess ForElementsPointer() { | 5342 static HObjectAccess ForElementsPointer() { |
| 5343 return HObjectAccess(kElementsPointer, JSObject::kElementsOffset); | 5343 return HObjectAccess(kElementsPointer, JSObject::kElementsOffset); |
| 5344 } | 5344 } |
| 5345 | 5345 |
| 5346 static HObjectAccess ForArrayLength() { | 5346 static HObjectAccess ForArrayLength() { |
| 5347 return HObjectAccess(kArrayLengths, JSArray::kLengthOffset); | 5347 return HObjectAccess(kArrayLengths, JSArray::kLengthOffset); |
| 5348 } | 5348 } |
| 5349 | 5349 |
| 5350 static HObjectAccess ForAllocationSitePayload() { | 5350 static HObjectAccess ForAllocationSiteTransitionInfo() { |
| 5351 return HObjectAccess(kInobject, AllocationSite::kPayloadOffset); | 5351 return HObjectAccess(kInobject, AllocationSite::kTransitionInfoOffset); |
| 5352 } | 5352 } |
| 5353 | 5353 |
| 5354 static HObjectAccess ForFixedArrayLength() { | 5354 static HObjectAccess ForFixedArrayLength() { |
| 5355 return HObjectAccess(kArrayLengths, FixedArray::kLengthOffset); | 5355 return HObjectAccess(kArrayLengths, FixedArray::kLengthOffset); |
| 5356 } | 5356 } |
| 5357 | 5357 |
| 5358 static HObjectAccess ForPropertiesPointer() { | 5358 static HObjectAccess ForPropertiesPointer() { |
| 5359 return HObjectAccess(kInobject, JSObject::kPropertiesOffset); | 5359 return HObjectAccess(kInobject, JSObject::kPropertiesOffset); |
| 5360 } | 5360 } |
| 5361 | 5361 |
| (...skipping 1348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6710 virtual bool IsDeletable() const { return true; } | 6710 virtual bool IsDeletable() const { return true; } |
| 6711 }; | 6711 }; |
| 6712 | 6712 |
| 6713 | 6713 |
| 6714 #undef DECLARE_INSTRUCTION | 6714 #undef DECLARE_INSTRUCTION |
| 6715 #undef DECLARE_CONCRETE_INSTRUCTION | 6715 #undef DECLARE_CONCRETE_INSTRUCTION |
| 6716 | 6716 |
| 6717 } } // namespace v8::internal | 6717 } } // namespace v8::internal |
| 6718 | 6718 |
| 6719 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 6719 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
| OLD | NEW |