| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 1482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1493 LOperand* constructor() { return inputs_[1]; } | 1493 LOperand* constructor() { return inputs_[1]; } |
| 1494 int arity() const { return hydrogen()->argument_count() - 1; } | 1494 int arity() const { return hydrogen()->argument_count() - 1; } |
| 1495 }; | 1495 }; |
| 1496 | 1496 |
| 1497 | 1497 |
| 1498 class LCallRuntime: public LTemplateInstruction<1, 0, 0> { | 1498 class LCallRuntime: public LTemplateInstruction<1, 0, 0> { |
| 1499 public: | 1499 public: |
| 1500 DECLARE_CONCRETE_INSTRUCTION(CallRuntime, "call-runtime") | 1500 DECLARE_CONCRETE_INSTRUCTION(CallRuntime, "call-runtime") |
| 1501 DECLARE_HYDROGEN_ACCESSOR(CallRuntime) | 1501 DECLARE_HYDROGEN_ACCESSOR(CallRuntime) |
| 1502 | 1502 |
| 1503 Runtime::Function* function() const { return hydrogen()->function(); } | 1503 const Runtime::Function* function() const { return hydrogen()->function(); } |
| 1504 int arity() const { return hydrogen()->argument_count(); } | 1504 int arity() const { return hydrogen()->argument_count(); } |
| 1505 }; | 1505 }; |
| 1506 | 1506 |
| 1507 | 1507 |
| 1508 class LInteger32ToDouble: public LTemplateInstruction<1, 1, 0> { | 1508 class LInteger32ToDouble: public LTemplateInstruction<1, 1, 0> { |
| 1509 public: | 1509 public: |
| 1510 explicit LInteger32ToDouble(LOperand* value) { | 1510 explicit LInteger32ToDouble(LOperand* value) { |
| 1511 inputs_[0] = value; | 1511 inputs_[0] = value; |
| 1512 } | 1512 } |
| 1513 | 1513 |
| (...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2161 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2161 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2162 }; | 2162 }; |
| 2163 | 2163 |
| 2164 #undef DECLARE_HYDROGEN_ACCESSOR | 2164 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2165 #undef DECLARE_INSTRUCTION | 2165 #undef DECLARE_INSTRUCTION |
| 2166 #undef DECLARE_CONCRETE_INSTRUCTION | 2166 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2167 | 2167 |
| 2168 } } // namespace v8::internal | 2168 } } // namespace v8::internal |
| 2169 | 2169 |
| 2170 #endif // V8_IA32_LITHIUM_IA32_H_ | 2170 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |