| OLD | NEW | 
|---|
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #ifndef V8_HYDROGEN_INSTRUCTIONS_H_ | 5 #ifndef V8_HYDROGEN_INSTRUCTIONS_H_ | 
| 6 #define V8_HYDROGEN_INSTRUCTIONS_H_ | 6 #define V8_HYDROGEN_INSTRUCTIONS_H_ | 
| 7 | 7 | 
| 8 #include <iosfwd> | 8 #include <iosfwd> | 
| 9 | 9 | 
| 10 #include "src/v8.h" | 10 #include "src/v8.h" | 
| (...skipping 6258 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 6269   static HObjectAccess ForObservableJSObjectOffset(int offset, | 6269   static HObjectAccess ForObservableJSObjectOffset(int offset, | 
| 6270       Representation representation = Representation::Tagged()) { | 6270       Representation representation = Representation::Tagged()) { | 
| 6271     return ForMapAndOffset(Handle<Map>::null(), offset, representation); | 6271     return ForMapAndOffset(Handle<Map>::null(), offset, representation); | 
| 6272   } | 6272   } | 
| 6273 | 6273 | 
| 6274   // Create an access to an in-object property in a JSArray. | 6274   // Create an access to an in-object property in a JSArray. | 
| 6275   static HObjectAccess ForJSArrayOffset(int offset); | 6275   static HObjectAccess ForJSArrayOffset(int offset); | 
| 6276 | 6276 | 
| 6277   static HObjectAccess ForContextSlot(int index); | 6277   static HObjectAccess ForContextSlot(int index); | 
| 6278 | 6278 | 
|  | 6279   static HObjectAccess ForGlobalContext(int index); | 
|  | 6280 | 
| 6279   // Create an access to the backing store of an object. | 6281   // Create an access to the backing store of an object. | 
| 6280   static HObjectAccess ForBackingStoreOffset(int offset, | 6282   static HObjectAccess ForBackingStoreOffset(int offset, | 
| 6281       Representation representation = Representation::Tagged()); | 6283       Representation representation = Representation::Tagged()); | 
| 6282 | 6284 | 
| 6283   // Create an access to a resolved field (in-object or backing store). | 6285   // Create an access to a resolved field (in-object or backing store). | 
| 6284   static HObjectAccess ForField(Handle<Map> map, int index, | 6286   static HObjectAccess ForField(Handle<Map> map, int index, | 
| 6285                                 Representation representation, | 6287                                 Representation representation, | 
| 6286                                 Handle<String> name); | 6288                                 Handle<String> name); | 
| 6287 | 6289 | 
| 6288   // Create an access for the payload of a Cell or JSGlobalPropertyCell. | 6290   // Create an access for the payload of a Cell or JSGlobalPropertyCell. | 
| (...skipping 1691 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 7980 }; | 7982 }; | 
| 7981 | 7983 | 
| 7982 | 7984 | 
| 7983 | 7985 | 
| 7984 #undef DECLARE_INSTRUCTION | 7986 #undef DECLARE_INSTRUCTION | 
| 7985 #undef DECLARE_CONCRETE_INSTRUCTION | 7987 #undef DECLARE_CONCRETE_INSTRUCTION | 
| 7986 | 7988 | 
| 7987 } }  // namespace v8::internal | 7989 } }  // namespace v8::internal | 
| 7988 | 7990 | 
| 7989 #endif  // V8_HYDROGEN_INSTRUCTIONS_H_ | 7991 #endif  // V8_HYDROGEN_INSTRUCTIONS_H_ | 
| OLD | NEW | 
|---|