| 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 5872 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5883 } | 5883 } |
| 5884 | 5884 |
| 5885 static HObjectAccess ForCodeEntryPointer() { | 5885 static HObjectAccess ForCodeEntryPointer() { |
| 5886 return HObjectAccess(kInobject, JSFunction::kCodeEntryOffset); | 5886 return HObjectAccess(kInobject, JSFunction::kCodeEntryOffset); |
| 5887 } | 5887 } |
| 5888 | 5888 |
| 5889 static HObjectAccess ForCodeOffset() { | 5889 static HObjectAccess ForCodeOffset() { |
| 5890 return HObjectAccess(kInobject, SharedFunctionInfo::kCodeOffset); | 5890 return HObjectAccess(kInobject, SharedFunctionInfo::kCodeOffset); |
| 5891 } | 5891 } |
| 5892 | 5892 |
| 5893 static HObjectAccess ForFirstCodeSlot() { | |
| 5894 return HObjectAccess(kInobject, SharedFunctionInfo::kFirstCodeSlot); | |
| 5895 } | |
| 5896 | |
| 5897 static HObjectAccess ForFirstContextSlot() { | |
| 5898 return HObjectAccess(kInobject, SharedFunctionInfo::kFirstContextSlot); | |
| 5899 } | |
| 5900 | |
| 5901 static HObjectAccess ForFirstOsrAstIdSlot() { | |
| 5902 return HObjectAccess(kInobject, SharedFunctionInfo::kFirstOsrAstIdSlot); | |
| 5903 } | |
| 5904 | |
| 5905 static HObjectAccess ForOptimizedCodeMap() { | 5893 static HObjectAccess ForOptimizedCodeMap() { |
| 5906 return HObjectAccess(kInobject, | 5894 return HObjectAccess(kInobject, |
| 5907 SharedFunctionInfo::kOptimizedCodeMapOffset); | 5895 SharedFunctionInfo::kOptimizedCodeMapOffset); |
| 5908 } | 5896 } |
| 5909 | 5897 |
| 5910 static HObjectAccess ForFunctionContextPointer() { | 5898 static HObjectAccess ForFunctionContextPointer() { |
| 5911 return HObjectAccess(kInobject, JSFunction::kContextOffset); | 5899 return HObjectAccess(kInobject, JSFunction::kContextOffset); |
| 5912 } | 5900 } |
| 5913 | 5901 |
| 5914 static HObjectAccess ForMap() { | 5902 static HObjectAccess ForMap() { |
| (...skipping 1570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7485 virtual bool IsDeletable() const V8_OVERRIDE { return true; } | 7473 virtual bool IsDeletable() const V8_OVERRIDE { return true; } |
| 7486 }; | 7474 }; |
| 7487 | 7475 |
| 7488 | 7476 |
| 7489 #undef DECLARE_INSTRUCTION | 7477 #undef DECLARE_INSTRUCTION |
| 7490 #undef DECLARE_CONCRETE_INSTRUCTION | 7478 #undef DECLARE_CONCRETE_INSTRUCTION |
| 7491 | 7479 |
| 7492 } } // namespace v8::internal | 7480 } } // namespace v8::internal |
| 7493 | 7481 |
| 7494 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 7482 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
| OLD | NEW |