| 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 2084 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2095 public: | 2095 public: |
| 2096 explicit LCheckPrototypeMaps(LOperand* temp) { | 2096 explicit LCheckPrototypeMaps(LOperand* temp) { |
| 2097 temps_[0] = temp; | 2097 temps_[0] = temp; |
| 2098 } | 2098 } |
| 2099 | 2099 |
| 2100 LOperand* temp() { return temps_[0]; } | 2100 LOperand* temp() { return temps_[0]; } |
| 2101 | 2101 |
| 2102 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") | 2102 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") |
| 2103 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) | 2103 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) |
| 2104 | 2104 |
| 2105 Handle<JSObject> prototype() const { return hydrogen()->prototype(); } | 2105 ZoneList<Handle<JSObject> >* prototypes() const { |
| 2106 Handle<JSObject> holder() const { return hydrogen()->holder(); } | 2106 return hydrogen()->prototypes(); |
| 2107 } |
| 2108 ZoneList<Handle<Map> >* maps() const { return hydrogen()->maps(); } |
| 2107 }; | 2109 }; |
| 2108 | 2110 |
| 2109 | 2111 |
| 2110 class LCheckSmi: public LTemplateInstruction<0, 1, 0> { | 2112 class LCheckSmi: public LTemplateInstruction<0, 1, 0> { |
| 2111 public: | 2113 public: |
| 2112 explicit LCheckSmi(LOperand* value) { | 2114 explicit LCheckSmi(LOperand* value) { |
| 2113 inputs_[0] = value; | 2115 inputs_[0] = value; |
| 2114 } | 2116 } |
| 2115 | 2117 |
| 2116 LOperand* value() { return inputs_[0]; } | 2118 LOperand* value() { return inputs_[0]; } |
| (...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2549 | 2551 |
| 2550 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2552 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2551 }; | 2553 }; |
| 2552 | 2554 |
| 2553 #undef DECLARE_HYDROGEN_ACCESSOR | 2555 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2554 #undef DECLARE_CONCRETE_INSTRUCTION | 2556 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2555 | 2557 |
| 2556 } } // namespace v8::int | 2558 } } // namespace v8::int |
| 2557 | 2559 |
| 2558 #endif // V8_X64_LITHIUM_X64_H_ | 2560 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |