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 2214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2225 inputs_[0] = value; | 2225 inputs_[0] = value; |
2226 } | 2226 } |
2227 | 2227 |
2228 LOperand* value() { return inputs_[0]; } | 2228 LOperand* value() { return inputs_[0]; } |
2229 | 2229 |
2230 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") | 2230 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") |
2231 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) | 2231 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) |
2232 }; | 2232 }; |
2233 | 2233 |
2234 | 2234 |
2235 class LCheckPrototypeMaps: public LTemplateInstruction<0, 0, 1> { | 2235 class LCheckPrototypeMaps: public LTemplateInstruction<1, 0, 1> { |
2236 public: | 2236 public: |
2237 explicit LCheckPrototypeMaps(LOperand* temp) { | 2237 explicit LCheckPrototypeMaps(LOperand* temp) { |
2238 temps_[0] = temp; | 2238 temps_[0] = temp; |
2239 } | 2239 } |
2240 | 2240 |
2241 LOperand* temp() { return temps_[0]; } | 2241 LOperand* temp() { return temps_[0]; } |
2242 | 2242 |
2243 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") | 2243 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") |
2244 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) | 2244 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) |
2245 | 2245 |
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2739 | 2739 |
2740 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2740 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2741 }; | 2741 }; |
2742 | 2742 |
2743 #undef DECLARE_HYDROGEN_ACCESSOR | 2743 #undef DECLARE_HYDROGEN_ACCESSOR |
2744 #undef DECLARE_CONCRETE_INSTRUCTION | 2744 #undef DECLARE_CONCRETE_INSTRUCTION |
2745 | 2745 |
2746 } } // namespace v8::internal | 2746 } } // namespace v8::internal |
2747 | 2747 |
2748 #endif // V8_IA32_LITHIUM_IA32_H_ | 2748 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |