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 2148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2159 temps_[0] = temp; | 2159 temps_[0] = temp; |
2160 temps_[1] = temp2; | 2160 temps_[1] = temp2; |
2161 } | 2161 } |
2162 | 2162 |
2163 LOperand* temp() { return temps_[0]; } | 2163 LOperand* temp() { return temps_[0]; } |
2164 LOperand* temp2() { return temps_[1]; } | 2164 LOperand* temp2() { return temps_[1]; } |
2165 | 2165 |
2166 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") | 2166 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") |
2167 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) | 2167 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) |
2168 | 2168 |
2169 Handle<JSObject> prototype() const { return hydrogen()->prototype(); } | 2169 ZoneList<Handle<JSObject> >* prototypes() const { |
2170 Handle<JSObject> holder() const { return hydrogen()->holder(); } | 2170 return hydrogen()->prototypes(); |
| 2171 } |
| 2172 ZoneList<Handle<Map> >* maps() const { return hydrogen()->maps(); } |
2171 }; | 2173 }; |
2172 | 2174 |
2173 | 2175 |
2174 class LCheckSmi: public LTemplateInstruction<0, 1, 0> { | 2176 class LCheckSmi: public LTemplateInstruction<0, 1, 0> { |
2175 public: | 2177 public: |
2176 explicit LCheckSmi(LOperand* value) { | 2178 explicit LCheckSmi(LOperand* value) { |
2177 inputs_[0] = value; | 2179 inputs_[0] = value; |
2178 } | 2180 } |
2179 | 2181 |
2180 LOperand* value() { return inputs_[0]; } | 2182 LOperand* value() { return inputs_[0]; } |
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2629 | 2631 |
2630 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2632 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2631 }; | 2633 }; |
2632 | 2634 |
2633 #undef DECLARE_HYDROGEN_ACCESSOR | 2635 #undef DECLARE_HYDROGEN_ACCESSOR |
2634 #undef DECLARE_CONCRETE_INSTRUCTION | 2636 #undef DECLARE_CONCRETE_INSTRUCTION |
2635 | 2637 |
2636 } } // namespace v8::internal | 2638 } } // namespace v8::internal |
2637 | 2639 |
2638 #endif // V8_ARM_LITHIUM_ARM_H_ | 2640 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |