| 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 6209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6220 } | 6220 } |
| 6221 | 6221 |
| 6222 static HObjectAccess ForCellValue() { | 6222 static HObjectAccess ForCellValue() { |
| 6223 return HObjectAccess(kInobject, Cell::kValueOffset); | 6223 return HObjectAccess(kInobject, Cell::kValueOffset); |
| 6224 } | 6224 } |
| 6225 | 6225 |
| 6226 static HObjectAccess ForWeakCellValue() { | 6226 static HObjectAccess ForWeakCellValue() { |
| 6227 return HObjectAccess(kInobject, WeakCell::kValueOffset); | 6227 return HObjectAccess(kInobject, WeakCell::kValueOffset); |
| 6228 } | 6228 } |
| 6229 | 6229 |
| 6230 static HObjectAccess ForWeakCellNext() { |
| 6231 return HObjectAccess(kInobject, WeakCell::kNextOffset); |
| 6232 } |
| 6233 |
| 6230 static HObjectAccess ForAllocationMementoSite() { | 6234 static HObjectAccess ForAllocationMementoSite() { |
| 6231 return HObjectAccess(kInobject, AllocationMemento::kAllocationSiteOffset); | 6235 return HObjectAccess(kInobject, AllocationMemento::kAllocationSiteOffset); |
| 6232 } | 6236 } |
| 6233 | 6237 |
| 6234 static HObjectAccess ForCounter() { | 6238 static HObjectAccess ForCounter() { |
| 6235 return HObjectAccess(kExternalMemory, 0, Representation::Integer32(), | 6239 return HObjectAccess(kExternalMemory, 0, Representation::Integer32(), |
| 6236 Handle<String>::null(), false, false); | 6240 Handle<String>::null(), false, false); |
| 6237 } | 6241 } |
| 6238 | 6242 |
| 6239 static HObjectAccess ForExternalUInteger8() { | 6243 static HObjectAccess ForExternalUInteger8() { |
| (...skipping 1749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7989 }; | 7993 }; |
| 7990 | 7994 |
| 7991 | 7995 |
| 7992 | 7996 |
| 7993 #undef DECLARE_INSTRUCTION | 7997 #undef DECLARE_INSTRUCTION |
| 7994 #undef DECLARE_CONCRETE_INSTRUCTION | 7998 #undef DECLARE_CONCRETE_INSTRUCTION |
| 7995 | 7999 |
| 7996 } } // namespace v8::internal | 8000 } } // namespace v8::internal |
| 7997 | 8001 |
| 7998 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 8002 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
| OLD | NEW |