| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 901 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 912 const Runtime::Function* function() const { return hydrogen()->function(); } | 912 const Runtime::Function* function() const { return hydrogen()->function(); } |
| 913 int arity() const { return hydrogen()->argument_count(); } | 913 int arity() const { return hydrogen()->argument_count(); } |
| 914 SaveFPRegsMode save_doubles() const { return hydrogen()->save_doubles(); } | 914 SaveFPRegsMode save_doubles() const { return hydrogen()->save_doubles(); } |
| 915 }; | 915 }; |
| 916 | 916 |
| 917 | 917 |
| 918 class LCallStub V8_FINAL : public LTemplateInstruction<1, 0, 0> { | 918 class LCallStub V8_FINAL : public LTemplateInstruction<1, 0, 0> { |
| 919 public: | 919 public: |
| 920 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub") | 920 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub") |
| 921 DECLARE_HYDROGEN_ACCESSOR(CallStub) | 921 DECLARE_HYDROGEN_ACCESSOR(CallStub) |
| 922 | |
| 923 TranscendentalCache::Type transcendental_type() { | |
| 924 return hydrogen()->transcendental_type(); | |
| 925 } | |
| 926 }; | 922 }; |
| 927 | 923 |
| 928 | 924 |
| 929 class LCheckInstanceType V8_FINAL : public LTemplateInstruction<0, 1, 1> { | 925 class LCheckInstanceType V8_FINAL : public LTemplateInstruction<0, 1, 1> { |
| 930 public: | 926 public: |
| 931 explicit LCheckInstanceType(LOperand* value, LOperand* temp) { | 927 explicit LCheckInstanceType(LOperand* value, LOperand* temp) { |
| 932 inputs_[0] = value; | 928 inputs_[0] = value; |
| 933 temps_[0] = temp; | 929 temps_[0] = temp; |
| 934 } | 930 } |
| 935 | 931 |
| (...skipping 2051 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2987 | 2983 |
| 2988 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2984 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2989 }; | 2985 }; |
| 2990 | 2986 |
| 2991 #undef DECLARE_HYDROGEN_ACCESSOR | 2987 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2992 #undef DECLARE_CONCRETE_INSTRUCTION | 2988 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2993 | 2989 |
| 2994 } } // namespace v8::internal | 2990 } } // namespace v8::internal |
| 2995 | 2991 |
| 2996 #endif // V8_A64_LITHIUM_A64_H_ | 2992 #endif // V8_A64_LITHIUM_A64_H_ |
| OLD | NEW |