| 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 5343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5354 } | 5354 } |
| 5355 | 5355 |
| 5356 static HObjectAccess ForPropertyCellValue() { | 5356 static HObjectAccess ForPropertyCellValue() { |
| 5357 return HObjectAccess(kInobject, PropertyCell::kValueOffset); | 5357 return HObjectAccess(kInobject, PropertyCell::kValueOffset); |
| 5358 } | 5358 } |
| 5359 | 5359 |
| 5360 static HObjectAccess ForCellValue() { | 5360 static HObjectAccess ForCellValue() { |
| 5361 return HObjectAccess(kInobject, Cell::kValueOffset); | 5361 return HObjectAccess(kInobject, Cell::kValueOffset); |
| 5362 } | 5362 } |
| 5363 | 5363 |
| 5364 static HObjectAccess ForAllocationSiteInfoSite() { | 5364 static HObjectAccess ForAllocationMementoSite() { |
| 5365 return HObjectAccess(kInobject, AllocationSiteInfo::kAllocationSiteOffset); | 5365 return HObjectAccess(kInobject, AllocationMemento::kAllocationSiteOffset); |
| 5366 } | 5366 } |
| 5367 | 5367 |
| 5368 // Create an access to an offset in a fixed array header. | 5368 // Create an access to an offset in a fixed array header. |
| 5369 static HObjectAccess ForFixedArrayHeader(int offset); | 5369 static HObjectAccess ForFixedArrayHeader(int offset); |
| 5370 | 5370 |
| 5371 // Create an access to an in-object property in a JSObject. | 5371 // Create an access to an in-object property in a JSObject. |
| 5372 static HObjectAccess ForJSObjectOffset(int offset); | 5372 static HObjectAccess ForJSObjectOffset(int offset); |
| 5373 | 5373 |
| 5374 // Create an access to an in-object property in a JSArray. | 5374 // Create an access to an in-object property in a JSArray. |
| 5375 static HObjectAccess ForJSArrayOffset(int offset); | 5375 static HObjectAccess ForJSArrayOffset(int offset); |
| (...skipping 1309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6685 virtual bool IsDeletable() const { return true; } | 6685 virtual bool IsDeletable() const { return true; } |
| 6686 }; | 6686 }; |
| 6687 | 6687 |
| 6688 | 6688 |
| 6689 #undef DECLARE_INSTRUCTION | 6689 #undef DECLARE_INSTRUCTION |
| 6690 #undef DECLARE_CONCRETE_INSTRUCTION | 6690 #undef DECLARE_CONCRETE_INSTRUCTION |
| 6691 | 6691 |
| 6692 } } // namespace v8::internal | 6692 } } // namespace v8::internal |
| 6693 | 6693 |
| 6694 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 6694 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
| OLD | NEW |