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