| 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); | 6279 static HObjectAccess ForScriptContext(int index); |
| 6280 | 6280 |
| 6281 // Create an access to the backing store of an object. | 6281 // Create an access to the backing store of an object. |
| 6282 static HObjectAccess ForBackingStoreOffset(int offset, | 6282 static HObjectAccess ForBackingStoreOffset(int offset, |
| 6283 Representation representation = Representation::Tagged()); | 6283 Representation representation = Representation::Tagged()); |
| 6284 | 6284 |
| 6285 // 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). |
| 6286 static HObjectAccess ForField(Handle<Map> map, int index, | 6286 static HObjectAccess ForField(Handle<Map> map, int index, |
| 6287 Representation representation, | 6287 Representation representation, |
| 6288 Handle<String> name); | 6288 Handle<String> name); |
| 6289 | 6289 |
| (...skipping 1692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7982 }; | 7982 }; |
| 7983 | 7983 |
| 7984 | 7984 |
| 7985 | 7985 |
| 7986 #undef DECLARE_INSTRUCTION | 7986 #undef DECLARE_INSTRUCTION |
| 7987 #undef DECLARE_CONCRETE_INSTRUCTION | 7987 #undef DECLARE_CONCRETE_INSTRUCTION |
| 7988 | 7988 |
| 7989 } } // namespace v8::internal | 7989 } } // namespace v8::internal |
| 7990 | 7990 |
| 7991 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 7991 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
| OLD | NEW |