| 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 <cstring> | 8 #include <cstring> |
| 9 #include <iosfwd> | 9 #include <iosfwd> |
| 10 | 10 |
| (...skipping 6088 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6099 | 6099 |
| 6100 static HObjectAccess ForPrototype() { | 6100 static HObjectAccess ForPrototype() { |
| 6101 return HObjectAccess(kMaps, Map::kPrototypeOffset); | 6101 return HObjectAccess(kMaps, Map::kPrototypeOffset); |
| 6102 } | 6102 } |
| 6103 | 6103 |
| 6104 static HObjectAccess ForMapAsInteger32() { | 6104 static HObjectAccess ForMapAsInteger32() { |
| 6105 return HObjectAccess(kMaps, JSObject::kMapOffset, | 6105 return HObjectAccess(kMaps, JSObject::kMapOffset, |
| 6106 Representation::Integer32()); | 6106 Representation::Integer32()); |
| 6107 } | 6107 } |
| 6108 | 6108 |
| 6109 static HObjectAccess ForMapInObjectProperties() { | 6109 static HObjectAccess ForMapInObjectPropertiesOrConstructorFunctionIndex() { |
| 6110 return HObjectAccess(kInobject, | 6110 return HObjectAccess( |
| 6111 Map::kInObjectPropertiesOffset, | 6111 kInobject, Map::kInObjectPropertiesOrConstructorFunctionIndexOffset, |
| 6112 Representation::UInteger8()); | 6112 Representation::UInteger8()); |
| 6113 } | 6113 } |
| 6114 | 6114 |
| 6115 static HObjectAccess ForMapInstanceType() { | 6115 static HObjectAccess ForMapInstanceType() { |
| 6116 return HObjectAccess(kInobject, | 6116 return HObjectAccess(kInobject, |
| 6117 Map::kInstanceTypeOffset, | 6117 Map::kInstanceTypeOffset, |
| 6118 Representation::UInteger8()); | 6118 Representation::UInteger8()); |
| 6119 } | 6119 } |
| 6120 | 6120 |
| 6121 static HObjectAccess ForMapInstanceSize() { | 6121 static HObjectAccess ForMapInstanceSize() { |
| 6122 return HObjectAccess(kInobject, | 6122 return HObjectAccess(kInobject, |
| (...skipping 1938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8061 }; | 8061 }; |
| 8062 | 8062 |
| 8063 | 8063 |
| 8064 | 8064 |
| 8065 #undef DECLARE_INSTRUCTION | 8065 #undef DECLARE_INSTRUCTION |
| 8066 #undef DECLARE_CONCRETE_INSTRUCTION | 8066 #undef DECLARE_CONCRETE_INSTRUCTION |
| 8067 | 8067 |
| 8068 } } // namespace v8::internal | 8068 } } // namespace v8::internal |
| 8069 | 8069 |
| 8070 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 8070 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
| OLD | NEW |