| 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 "src/v8.h" | 8 #include "src/v8.h" |
| 9 | 9 |
| 10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
| (...skipping 6066 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6077 | 6077 |
| 6078 static HObjectAccess ForOptimizedCodeMap() { | 6078 static HObjectAccess ForOptimizedCodeMap() { |
| 6079 return HObjectAccess(kInobject, | 6079 return HObjectAccess(kInobject, |
| 6080 SharedFunctionInfo::kOptimizedCodeMapOffset); | 6080 SharedFunctionInfo::kOptimizedCodeMapOffset); |
| 6081 } | 6081 } |
| 6082 | 6082 |
| 6083 static HObjectAccess ForFunctionContextPointer() { | 6083 static HObjectAccess ForFunctionContextPointer() { |
| 6084 return HObjectAccess(kInobject, JSFunction::kContextOffset); | 6084 return HObjectAccess(kInobject, JSFunction::kContextOffset); |
| 6085 } | 6085 } |
| 6086 | 6086 |
| 6087 static HObjectAccess ForHomeObject() { |
| 6088 return HObjectAccess(kInobject, JSFunction::kHomeObjectOffset); |
| 6089 } |
| 6090 |
| 6087 static HObjectAccess ForMap() { | 6091 static HObjectAccess ForMap() { |
| 6088 return HObjectAccess(kMaps, JSObject::kMapOffset); | 6092 return HObjectAccess(kMaps, JSObject::kMapOffset); |
| 6089 } | 6093 } |
| 6090 | 6094 |
| 6091 static HObjectAccess ForMapAsInteger32() { | 6095 static HObjectAccess ForMapAsInteger32() { |
| 6092 return HObjectAccess(kMaps, JSObject::kMapOffset, | 6096 return HObjectAccess(kMaps, JSObject::kMapOffset, |
| 6093 Representation::Integer32()); | 6097 Representation::Integer32()); |
| 6094 } | 6098 } |
| 6095 | 6099 |
| 6096 static HObjectAccess ForMapInObjectProperties() { | 6100 static HObjectAccess ForMapInObjectProperties() { |
| (...skipping 1760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7857 }; | 7861 }; |
| 7858 | 7862 |
| 7859 | 7863 |
| 7860 | 7864 |
| 7861 #undef DECLARE_INSTRUCTION | 7865 #undef DECLARE_INSTRUCTION |
| 7862 #undef DECLARE_CONCRETE_INSTRUCTION | 7866 #undef DECLARE_CONCRETE_INSTRUCTION |
| 7863 | 7867 |
| 7864 } } // namespace v8::internal | 7868 } } // namespace v8::internal |
| 7865 | 7869 |
| 7866 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 7870 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
| OLD | NEW |