| 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 1277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1288 | 1288 |
| 1289 class LCallKeyed: public LTemplateInstruction<1, 1, 0> { | 1289 class LCallKeyed: public LTemplateInstruction<1, 1, 0> { |
| 1290 public: | 1290 public: |
| 1291 explicit LCallKeyed(LOperand* key) { | 1291 explicit LCallKeyed(LOperand* key) { |
| 1292 inputs_[0] = key; | 1292 inputs_[0] = key; |
| 1293 } | 1293 } |
| 1294 | 1294 |
| 1295 DECLARE_CONCRETE_INSTRUCTION(CallKeyed, "call-keyed") | 1295 DECLARE_CONCRETE_INSTRUCTION(CallKeyed, "call-keyed") |
| 1296 DECLARE_HYDROGEN_ACCESSOR(CallKeyed) | 1296 DECLARE_HYDROGEN_ACCESSOR(CallKeyed) |
| 1297 | 1297 |
| 1298 LOperand* key() { return inputs_[0]; } |
| 1299 |
| 1298 virtual void PrintDataTo(StringStream* stream); | 1300 virtual void PrintDataTo(StringStream* stream); |
| 1299 | 1301 |
| 1300 int arity() const { return hydrogen()->argument_count() - 1; } | 1302 int arity() const { return hydrogen()->argument_count() - 1; } |
| 1301 }; | 1303 }; |
| 1302 | 1304 |
| 1303 | 1305 |
| 1304 class LCallNamed: public LTemplateInstruction<1, 0, 0> { | 1306 class LCallNamed: public LTemplateInstruction<1, 0, 0> { |
| 1305 public: | 1307 public: |
| 1306 DECLARE_CONCRETE_INSTRUCTION(CallNamed, "call-named") | 1308 DECLARE_CONCRETE_INSTRUCTION(CallNamed, "call-named") |
| 1307 DECLARE_HYDROGEN_ACCESSOR(CallNamed) | 1309 DECLARE_HYDROGEN_ACCESSOR(CallNamed) |
| (...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2013 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2015 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2014 }; | 2016 }; |
| 2015 | 2017 |
| 2016 #undef DECLARE_HYDROGEN_ACCESSOR | 2018 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2017 #undef DECLARE_INSTRUCTION | 2019 #undef DECLARE_INSTRUCTION |
| 2018 #undef DECLARE_CONCRETE_INSTRUCTION | 2020 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2019 | 2021 |
| 2020 } } // namespace v8::int | 2022 } } // namespace v8::int |
| 2021 | 2023 |
| 2022 #endif // V8_X64_LITHIUM_X64_H_ | 2024 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |