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 1759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7999 }; | 8003 }; |
8000 | 8004 |
8001 | 8005 |
8002 | 8006 |
8003 #undef DECLARE_INSTRUCTION | 8007 #undef DECLARE_INSTRUCTION |
8004 #undef DECLARE_CONCRETE_INSTRUCTION | 8008 #undef DECLARE_CONCRETE_INSTRUCTION |
8005 | 8009 |
8006 } } // namespace v8::internal | 8010 } } // namespace v8::internal |
8007 | 8011 |
8008 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 8012 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
OLD | NEW |