OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 5873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5884 } | 5884 } |
5885 | 5885 |
5886 static HObjectAccess ForCodeOffset() { | 5886 static HObjectAccess ForCodeOffset() { |
5887 return HObjectAccess(kInobject, SharedFunctionInfo::kCodeOffset); | 5887 return HObjectAccess(kInobject, SharedFunctionInfo::kCodeOffset); |
5888 } | 5888 } |
5889 | 5889 |
5890 static HObjectAccess ForFirstCodeSlot() { | 5890 static HObjectAccess ForFirstCodeSlot() { |
5891 return HObjectAccess(kInobject, SharedFunctionInfo::kFirstCodeSlot); | 5891 return HObjectAccess(kInobject, SharedFunctionInfo::kFirstCodeSlot); |
5892 } | 5892 } |
5893 | 5893 |
| 5894 static HObjectAccess ForFirstLiteralsSlot() { |
| 5895 return HObjectAccess(kInobject, SharedFunctionInfo::kFirstLiteralsSlot); |
| 5896 } |
| 5897 |
5894 static HObjectAccess ForFirstContextSlot() { | 5898 static HObjectAccess ForFirstContextSlot() { |
5895 return HObjectAccess(kInobject, SharedFunctionInfo::kFirstContextSlot); | 5899 return HObjectAccess(kInobject, SharedFunctionInfo::kFirstContextSlot); |
5896 } | 5900 } |
5897 | 5901 |
5898 static HObjectAccess ForFirstOsrAstIdSlot() { | 5902 static HObjectAccess ForFirstOsrAstIdSlot() { |
5899 return HObjectAccess(kInobject, SharedFunctionInfo::kFirstOsrAstIdSlot); | 5903 return HObjectAccess(kInobject, SharedFunctionInfo::kFirstOsrAstIdSlot); |
5900 } | 5904 } |
5901 | 5905 |
5902 static HObjectAccess ForOptimizedCodeMap() { | 5906 static HObjectAccess ForOptimizedCodeMap() { |
5903 return HObjectAccess(kInobject, | 5907 return HObjectAccess(kInobject, |
(...skipping 1578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7482 virtual bool IsDeletable() const V8_OVERRIDE { return true; } | 7486 virtual bool IsDeletable() const V8_OVERRIDE { return true; } |
7483 }; | 7487 }; |
7484 | 7488 |
7485 | 7489 |
7486 #undef DECLARE_INSTRUCTION | 7490 #undef DECLARE_INSTRUCTION |
7487 #undef DECLARE_CONCRETE_INSTRUCTION | 7491 #undef DECLARE_CONCRETE_INSTRUCTION |
7488 | 7492 |
7489 } } // namespace v8::internal | 7493 } } // namespace v8::internal |
7490 | 7494 |
7491 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 7495 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
OLD | NEW |