| 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 2203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2214 public: | 2214 public: |
| 2215 explicit LCheckPrototypeMaps(LOperand* temp) { | 2215 explicit LCheckPrototypeMaps(LOperand* temp) { |
| 2216 temps_[0] = temp; | 2216 temps_[0] = temp; |
| 2217 } | 2217 } |
| 2218 | 2218 |
| 2219 LOperand* temp() { return temps_[0]; } | 2219 LOperand* temp() { return temps_[0]; } |
| 2220 | 2220 |
| 2221 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") | 2221 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") |
| 2222 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) | 2222 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) |
| 2223 | 2223 |
| 2224 Handle<JSObject> prototype() const { return hydrogen()->prototype(); } | 2224 ZoneList< Handle<JSObject> >* prototypes() const { |
| 2225 Handle<JSObject> holder() const { return hydrogen()->holder(); } | 2225 return hydrogen()->prototypes(); |
| 2226 } |
| 2227 ZoneList< Handle<Map> >* maps() const { return hydrogen()->maps(); } |
| 2226 }; | 2228 }; |
| 2227 | 2229 |
| 2228 | 2230 |
| 2229 class LCheckSmi: public LTemplateInstruction<0, 1, 0> { | 2231 class LCheckSmi: public LTemplateInstruction<0, 1, 0> { |
| 2230 public: | 2232 public: |
| 2231 explicit LCheckSmi(LOperand* value) { | 2233 explicit LCheckSmi(LOperand* value) { |
| 2232 inputs_[0] = value; | 2234 inputs_[0] = value; |
| 2233 } | 2235 } |
| 2234 | 2236 |
| 2235 LOperand* value() { return inputs_[0]; } | 2237 LOperand* value() { return inputs_[0]; } |
| (...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2721 | 2723 |
| 2722 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2724 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2723 }; | 2725 }; |
| 2724 | 2726 |
| 2725 #undef DECLARE_HYDROGEN_ACCESSOR | 2727 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2726 #undef DECLARE_CONCRETE_INSTRUCTION | 2728 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2727 | 2729 |
| 2728 } } // namespace v8::internal | 2730 } } // namespace v8::internal |
| 2729 | 2731 |
| 2730 #endif // V8_IA32_LITHIUM_IA32_H_ | 2732 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |