| 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 6051 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6062 (Map::kInstanceTypeOffset & ~1)); | 6062 (Map::kInstanceTypeOffset & ~1)); |
| 6063 return HObjectAccess(kInobject, | 6063 return HObjectAccess(kInobject, |
| 6064 Map::kInstanceTypeAndBitFieldOffset, | 6064 Map::kInstanceTypeAndBitFieldOffset, |
| 6065 Representation::UInteger16()); | 6065 Representation::UInteger16()); |
| 6066 } | 6066 } |
| 6067 | 6067 |
| 6068 static HObjectAccess ForPropertyCellValue() { | 6068 static HObjectAccess ForPropertyCellValue() { |
| 6069 return HObjectAccess(kInobject, PropertyCell::kValueOffset); | 6069 return HObjectAccess(kInobject, PropertyCell::kValueOffset); |
| 6070 } | 6070 } |
| 6071 | 6071 |
| 6072 static HObjectAccess ForPropertyCellDetails() { |
| 6073 return HObjectAccess(kInobject, PropertyCell::kDetailsOffset, |
| 6074 Representation::Smi()); |
| 6075 } |
| 6076 |
| 6072 static HObjectAccess ForCellValue() { | 6077 static HObjectAccess ForCellValue() { |
| 6073 return HObjectAccess(kInobject, Cell::kValueOffset); | 6078 return HObjectAccess(kInobject, Cell::kValueOffset); |
| 6074 } | 6079 } |
| 6075 | 6080 |
| 6076 static HObjectAccess ForWeakCellValue() { | 6081 static HObjectAccess ForWeakCellValue() { |
| 6077 return HObjectAccess(kInobject, WeakCell::kValueOffset); | 6082 return HObjectAccess(kInobject, WeakCell::kValueOffset); |
| 6078 } | 6083 } |
| 6079 | 6084 |
| 6080 static HObjectAccess ForWeakCellNext() { | 6085 static HObjectAccess ForWeakCellNext() { |
| 6081 return HObjectAccess(kInobject, WeakCell::kNextOffset); | 6086 return HObjectAccess(kInobject, WeakCell::kNextOffset); |
| (...skipping 1881 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7963 }; | 7968 }; |
| 7964 | 7969 |
| 7965 | 7970 |
| 7966 | 7971 |
| 7967 #undef DECLARE_INSTRUCTION | 7972 #undef DECLARE_INSTRUCTION |
| 7968 #undef DECLARE_CONCRETE_INSTRUCTION | 7973 #undef DECLARE_CONCRETE_INSTRUCTION |
| 7969 | 7974 |
| 7970 } } // namespace v8::internal | 7975 } } // namespace v8::internal |
| 7971 | 7976 |
| 7972 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 7977 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
| OLD | NEW |