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 2419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2430 } | 2430 } |
2431 | 2431 |
2432 LOperand* value() { return inputs_[0]; } | 2432 LOperand* value() { return inputs_[0]; } |
2433 LOperand* temp() { return temps_[0]; } | 2433 LOperand* temp() { return temps_[0]; } |
2434 | 2434 |
2435 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type") | 2435 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type") |
2436 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType) | 2436 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType) |
2437 }; | 2437 }; |
2438 | 2438 |
2439 | 2439 |
2440 class LCheckMaps: public LTemplateInstruction<0, 1, 0> { | 2440 class LCheckMaps: public LTemplateInstruction<0, 2, 0> { |
danno
2013/08/05 10:07:36
I think these are not needed given my previous com
| |
2441 public: | 2441 public: |
2442 explicit LCheckMaps(LOperand* value) { | 2442 explicit LCheckMaps(LOperand* context, |
2443 inputs_[0] = value; | 2443 LOperand* value) { |
2444 inputs_[0] = context; | |
2445 inputs_[1] = value; | |
2444 } | 2446 } |
2445 | 2447 |
2446 LOperand* value() { return inputs_[0]; } | 2448 LOperand* context() { return inputs_[0]; } |
2449 LOperand* value() { return inputs_[1]; } | |
2447 | 2450 |
2448 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") | 2451 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") |
2449 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) | 2452 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) |
2450 }; | 2453 }; |
2451 | 2454 |
2452 | 2455 |
2453 class LCheckSmi: public LTemplateInstruction<1, 1, 0> { | 2456 class LCheckSmi: public LTemplateInstruction<1, 1, 0> { |
2454 public: | 2457 public: |
2455 explicit LCheckSmi(LOperand* value) { | 2458 explicit LCheckSmi(LOperand* value) { |
2456 inputs_[0] = value; | 2459 inputs_[0] = value; |
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2899 | 2902 |
2900 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2903 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2901 }; | 2904 }; |
2902 | 2905 |
2903 #undef DECLARE_HYDROGEN_ACCESSOR | 2906 #undef DECLARE_HYDROGEN_ACCESSOR |
2904 #undef DECLARE_CONCRETE_INSTRUCTION | 2907 #undef DECLARE_CONCRETE_INSTRUCTION |
2905 | 2908 |
2906 } } // namespace v8::internal | 2909 } } // namespace v8::internal |
2907 | 2910 |
2908 #endif // V8_IA32_LITHIUM_IA32_H_ | 2911 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |