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 2140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2151 inputs_[0] = value; | 2151 inputs_[0] = value; |
2152 } | 2152 } |
2153 | 2153 |
2154 LOperand* value() { return inputs_[0]; } | 2154 LOperand* value() { return inputs_[0]; } |
2155 | 2155 |
2156 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") | 2156 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") |
2157 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) | 2157 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) |
2158 }; | 2158 }; |
2159 | 2159 |
2160 | 2160 |
2161 class LCheckPrototypeMaps: public LTemplateInstruction<1, 0, 1> { | 2161 class LCheckPrototypeMaps: public LTemplateInstruction<0, 0, 1> { |
2162 public: | 2162 public: |
2163 explicit LCheckPrototypeMaps(LOperand* temp) { | 2163 explicit LCheckPrototypeMaps(LOperand* temp) { |
2164 temps_[0] = temp; | 2164 temps_[0] = temp; |
2165 } | 2165 } |
2166 | 2166 |
2167 LOperand* temp() { return temps_[0]; } | 2167 LOperand* temp() { return temps_[0]; } |
2168 | 2168 |
2169 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") | 2169 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") |
2170 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) | 2170 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) |
2171 | 2171 |
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2633 | 2633 |
2634 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2634 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2635 }; | 2635 }; |
2636 | 2636 |
2637 #undef DECLARE_HYDROGEN_ACCESSOR | 2637 #undef DECLARE_HYDROGEN_ACCESSOR |
2638 #undef DECLARE_CONCRETE_INSTRUCTION | 2638 #undef DECLARE_CONCRETE_INSTRUCTION |
2639 | 2639 |
2640 } } // namespace v8::int | 2640 } } // namespace v8::int |
2641 | 2641 |
2642 #endif // V8_X64_LITHIUM_X64_H_ | 2642 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |