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 6000 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6011 } | 6011 } |
6012 | 6012 |
6013 static HObjectAccess ForFirstCodeSlot() { | 6013 static HObjectAccess ForFirstCodeSlot() { |
6014 return HObjectAccess(kInobject, SharedFunctionInfo::kFirstCodeSlot); | 6014 return HObjectAccess(kInobject, SharedFunctionInfo::kFirstCodeSlot); |
6015 } | 6015 } |
6016 | 6016 |
6017 static HObjectAccess ForFirstContextSlot() { | 6017 static HObjectAccess ForFirstContextSlot() { |
6018 return HObjectAccess(kInobject, SharedFunctionInfo::kFirstContextSlot); | 6018 return HObjectAccess(kInobject, SharedFunctionInfo::kFirstContextSlot); |
6019 } | 6019 } |
6020 | 6020 |
| 6021 static HObjectAccess ForFirstOsrAstIdSlot() { |
| 6022 return HObjectAccess(kInobject, SharedFunctionInfo::kFirstOsrAstIdSlot); |
| 6023 } |
| 6024 |
6021 static HObjectAccess ForOptimizedCodeMap() { | 6025 static HObjectAccess ForOptimizedCodeMap() { |
6022 return HObjectAccess(kInobject, | 6026 return HObjectAccess(kInobject, |
6023 SharedFunctionInfo::kOptimizedCodeMapOffset); | 6027 SharedFunctionInfo::kOptimizedCodeMapOffset); |
6024 } | 6028 } |
6025 | 6029 |
6026 static HObjectAccess ForFunctionContextPointer() { | 6030 static HObjectAccess ForFunctionContextPointer() { |
6027 return HObjectAccess(kInobject, JSFunction::kContextOffset); | 6031 return HObjectAccess(kInobject, JSFunction::kContextOffset); |
6028 } | 6032 } |
6029 | 6033 |
6030 static HObjectAccess ForMap() { | 6034 static HObjectAccess ForMap() { |
(...skipping 1462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7493 virtual bool IsDeletable() const V8_OVERRIDE { return true; } | 7497 virtual bool IsDeletable() const V8_OVERRIDE { return true; } |
7494 }; | 7498 }; |
7495 | 7499 |
7496 | 7500 |
7497 #undef DECLARE_INSTRUCTION | 7501 #undef DECLARE_INSTRUCTION |
7498 #undef DECLARE_CONCRETE_INSTRUCTION | 7502 #undef DECLARE_CONCRETE_INSTRUCTION |
7499 | 7503 |
7500 } } // namespace v8::internal | 7504 } } // namespace v8::internal |
7501 | 7505 |
7502 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 7506 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
OLD | NEW |