| 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 6233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6244 } | 6244 } |
| 6245 | 6245 |
| 6246 static HObjectAccess ForPropertyCellValue() { | 6246 static HObjectAccess ForPropertyCellValue() { |
| 6247 return HObjectAccess(kInobject, PropertyCell::kValueOffset); | 6247 return HObjectAccess(kInobject, PropertyCell::kValueOffset); |
| 6248 } | 6248 } |
| 6249 | 6249 |
| 6250 static HObjectAccess ForCellValue() { | 6250 static HObjectAccess ForCellValue() { |
| 6251 return HObjectAccess(kInobject, Cell::kValueOffset); | 6251 return HObjectAccess(kInobject, Cell::kValueOffset); |
| 6252 } | 6252 } |
| 6253 | 6253 |
| 6254 static HObjectAccess ForWeakCellValue() { |
| 6255 return HObjectAccess(kInobject, WeakCell::kValueOffset); |
| 6256 } |
| 6257 |
| 6254 static HObjectAccess ForAllocationMementoSite() { | 6258 static HObjectAccess ForAllocationMementoSite() { |
| 6255 return HObjectAccess(kInobject, AllocationMemento::kAllocationSiteOffset); | 6259 return HObjectAccess(kInobject, AllocationMemento::kAllocationSiteOffset); |
| 6256 } | 6260 } |
| 6257 | 6261 |
| 6258 static HObjectAccess ForCounter() { | 6262 static HObjectAccess ForCounter() { |
| 6259 return HObjectAccess(kExternalMemory, 0, Representation::Integer32(), | 6263 return HObjectAccess(kExternalMemory, 0, Representation::Integer32(), |
| 6260 Handle<String>::null(), false, false); | 6264 Handle<String>::null(), false, false); |
| 6261 } | 6265 } |
| 6262 | 6266 |
| 6263 static HObjectAccess ForExternalUInteger8() { | 6267 static HObjectAccess ForExternalUInteger8() { |
| (...skipping 1756 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8020 }; | 8024 }; |
| 8021 | 8025 |
| 8022 | 8026 |
| 8023 | 8027 |
| 8024 #undef DECLARE_INSTRUCTION | 8028 #undef DECLARE_INSTRUCTION |
| 8025 #undef DECLARE_CONCRETE_INSTRUCTION | 8029 #undef DECLARE_CONCRETE_INSTRUCTION |
| 8026 | 8030 |
| 8027 } } // namespace v8::internal | 8031 } } // namespace v8::internal |
| 8028 | 8032 |
| 8029 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 8033 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
| OLD | NEW |