| 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 1405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1416 | 1416 |
| 1417 int arity() const { return hydrogen()->argument_count() - 1; } | 1417 int arity() const { return hydrogen()->argument_count() - 1; } |
| 1418 }; | 1418 }; |
| 1419 | 1419 |
| 1420 | 1420 |
| 1421 class LCallRuntime: public LTemplateInstruction<1, 0, 0> { | 1421 class LCallRuntime: public LTemplateInstruction<1, 0, 0> { |
| 1422 public: | 1422 public: |
| 1423 DECLARE_CONCRETE_INSTRUCTION(CallRuntime, "call-runtime") | 1423 DECLARE_CONCRETE_INSTRUCTION(CallRuntime, "call-runtime") |
| 1424 DECLARE_HYDROGEN_ACCESSOR(CallRuntime) | 1424 DECLARE_HYDROGEN_ACCESSOR(CallRuntime) |
| 1425 | 1425 |
| 1426 Runtime::Function* function() const { return hydrogen()->function(); } | 1426 const Runtime::Function* function() const { return hydrogen()->function(); } |
| 1427 int arity() const { return hydrogen()->argument_count(); } | 1427 int arity() const { return hydrogen()->argument_count(); } |
| 1428 }; | 1428 }; |
| 1429 | 1429 |
| 1430 | 1430 |
| 1431 class LInteger32ToDouble: public LTemplateInstruction<1, 1, 0> { | 1431 class LInteger32ToDouble: public LTemplateInstruction<1, 1, 0> { |
| 1432 public: | 1432 public: |
| 1433 explicit LInteger32ToDouble(LOperand* value) { | 1433 explicit LInteger32ToDouble(LOperand* value) { |
| 1434 inputs_[0] = value; | 1434 inputs_[0] = value; |
| 1435 } | 1435 } |
| 1436 | 1436 |
| (...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2085 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2085 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2086 }; | 2086 }; |
| 2087 | 2087 |
| 2088 #undef DECLARE_HYDROGEN_ACCESSOR | 2088 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2089 #undef DECLARE_INSTRUCTION | 2089 #undef DECLARE_INSTRUCTION |
| 2090 #undef DECLARE_CONCRETE_INSTRUCTION | 2090 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2091 | 2091 |
| 2092 } } // namespace v8::int | 2092 } } // namespace v8::int |
| 2093 | 2093 |
| 2094 #endif // V8_X64_LITHIUM_X64_H_ | 2094 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |