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 2295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2306 inputs_[0] = value; | 2306 inputs_[0] = value; |
2307 } | 2307 } |
2308 | 2308 |
2309 LOperand* value() { return inputs_[0]; } | 2309 LOperand* value() { return inputs_[0]; } |
2310 | 2310 |
2311 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") | 2311 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") |
2312 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) | 2312 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) |
2313 }; | 2313 }; |
2314 | 2314 |
2315 | 2315 |
2316 class LCheckPrototypeMaps: public LTemplateInstruction<1, 0, 1> { | 2316 class LCheckPrototypeMaps: public LTemplateInstruction<0, 0, 1> { |
2317 public: | 2317 public: |
2318 explicit LCheckPrototypeMaps(LOperand* temp) { | 2318 explicit LCheckPrototypeMaps(LOperand* temp) { |
2319 temps_[0] = temp; | 2319 temps_[0] = temp; |
2320 } | 2320 } |
2321 | 2321 |
2322 LOperand* temp() { return temps_[0]; } | 2322 LOperand* temp() { return temps_[0]; } |
2323 | 2323 |
2324 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") | 2324 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") |
2325 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) | 2325 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) |
2326 | 2326 |
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2843 | 2843 |
2844 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2844 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2845 }; | 2845 }; |
2846 | 2846 |
2847 #undef DECLARE_HYDROGEN_ACCESSOR | 2847 #undef DECLARE_HYDROGEN_ACCESSOR |
2848 #undef DECLARE_CONCRETE_INSTRUCTION | 2848 #undef DECLARE_CONCRETE_INSTRUCTION |
2849 | 2849 |
2850 } } // namespace v8::internal | 2850 } } // namespace v8::internal |
2851 | 2851 |
2852 #endif // V8_IA32_LITHIUM_IA32_H_ | 2852 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |