| 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 5240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5251 } | 5251 } |
| 5252 | 5252 |
| 5253 static HObjectAccess ForPrototypeOrInitialMap() { | 5253 static HObjectAccess ForPrototypeOrInitialMap() { |
| 5254 return HObjectAccess(kInobject, JSFunction::kPrototypeOrInitialMapOffset); | 5254 return HObjectAccess(kInobject, JSFunction::kPrototypeOrInitialMapOffset); |
| 5255 } | 5255 } |
| 5256 | 5256 |
| 5257 static HObjectAccess ForMap() { | 5257 static HObjectAccess ForMap() { |
| 5258 return HObjectAccess(kMaps, JSObject::kMapOffset); | 5258 return HObjectAccess(kMaps, JSObject::kMapOffset); |
| 5259 } | 5259 } |
| 5260 | 5260 |
| 5261 static HObjectAccess ForAllocationSitePayload() { | 5261 static HObjectAccess ForPropertyCellValue() { |
| 5262 return HObjectAccess(kInobject, JSGlobalPropertyCell::kValueOffset); |
| 5263 } |
| 5264 |
| 5265 static HObjectAccess ForAllocationSiteInfoPayload() { |
| 5262 return HObjectAccess(kInobject, AllocationSiteInfo::kPayloadOffset); | 5266 return HObjectAccess(kInobject, AllocationSiteInfo::kPayloadOffset); |
| 5263 } | 5267 } |
| 5264 | 5268 |
| 5265 // Create an access to an offset in a fixed array header. | 5269 // Create an access to an offset in a fixed array header. |
| 5266 static HObjectAccess ForFixedArrayHeader(int offset); | 5270 static HObjectAccess ForFixedArrayHeader(int offset); |
| 5267 | 5271 |
| 5268 // Create an access to an in-object property in a JSObject. | 5272 // Create an access to an in-object property in a JSObject. |
| 5269 static HObjectAccess ForJSObjectOffset(int offset); | 5273 static HObjectAccess ForJSObjectOffset(int offset); |
| 5270 | 5274 |
| 5271 // Create an access to an in-object property in a JSArray. | 5275 // Create an access to an in-object property in a JSArray. |
| (...skipping 1290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6562 virtual bool IsDeletable() const { return true; } | 6566 virtual bool IsDeletable() const { return true; } |
| 6563 }; | 6567 }; |
| 6564 | 6568 |
| 6565 | 6569 |
| 6566 #undef DECLARE_INSTRUCTION | 6570 #undef DECLARE_INSTRUCTION |
| 6567 #undef DECLARE_CONCRETE_INSTRUCTION | 6571 #undef DECLARE_CONCRETE_INSTRUCTION |
| 6568 | 6572 |
| 6569 } } // namespace v8::internal | 6573 } } // namespace v8::internal |
| 6570 | 6574 |
| 6571 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 6575 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
| OLD | NEW |