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 2213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2224 public: | 2224 public: |
2225 explicit LCheckPrototypeMaps(LOperand* temp) { | 2225 explicit LCheckPrototypeMaps(LOperand* temp) { |
2226 temps_[0] = temp; | 2226 temps_[0] = temp; |
2227 } | 2227 } |
2228 | 2228 |
2229 LOperand* temp() { return temps_[0]; } | 2229 LOperand* temp() { return temps_[0]; } |
2230 | 2230 |
2231 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") | 2231 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") |
2232 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) | 2232 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) |
2233 | 2233 |
2234 Handle<JSObject> prototype() const { return hydrogen()->prototype(); } | 2234 ZoneList<Handle<JSObject> >* prototypes() const { |
2235 Handle<JSObject> holder() const { return hydrogen()->holder(); } | 2235 return hydrogen()->prototypes(); |
| 2236 } |
| 2237 ZoneList<Handle<Map> >* maps() const { return hydrogen()->maps(); } |
2236 }; | 2238 }; |
2237 | 2239 |
2238 | 2240 |
2239 class LCheckSmi: public LTemplateInstruction<0, 1, 0> { | 2241 class LCheckSmi: public LTemplateInstruction<0, 1, 0> { |
2240 public: | 2242 public: |
2241 explicit LCheckSmi(LOperand* value) { | 2243 explicit LCheckSmi(LOperand* value) { |
2242 inputs_[0] = value; | 2244 inputs_[0] = value; |
2243 } | 2245 } |
2244 | 2246 |
2245 LOperand* value() { return inputs_[0]; } | 2247 LOperand* value() { return inputs_[0]; } |
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2731 | 2733 |
2732 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2734 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2733 }; | 2735 }; |
2734 | 2736 |
2735 #undef DECLARE_HYDROGEN_ACCESSOR | 2737 #undef DECLARE_HYDROGEN_ACCESSOR |
2736 #undef DECLARE_CONCRETE_INSTRUCTION | 2738 #undef DECLARE_CONCRETE_INSTRUCTION |
2737 | 2739 |
2738 } } // namespace v8::internal | 2740 } } // namespace v8::internal |
2739 | 2741 |
2740 #endif // V8_IA32_LITHIUM_IA32_H_ | 2742 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |