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 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
480 class LCallStub V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 480 class LCallStub V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
481 public: | 481 public: |
482 explicit LCallStub(LOperand* context) { | 482 explicit LCallStub(LOperand* context) { |
483 inputs_[0] = context; | 483 inputs_[0] = context; |
484 } | 484 } |
485 | 485 |
486 LOperand* context() { return inputs_[0]; } | 486 LOperand* context() { return inputs_[0]; } |
487 | 487 |
488 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub") | 488 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub") |
489 DECLARE_HYDROGEN_ACCESSOR(CallStub) | 489 DECLARE_HYDROGEN_ACCESSOR(CallStub) |
490 | |
491 TranscendentalCache::Type transcendental_type() { | |
492 return hydrogen()->transcendental_type(); | |
493 } | |
494 }; | 490 }; |
495 | 491 |
496 | 492 |
497 class LUnknownOSRValue V8_FINAL : public LTemplateInstruction<1, 0, 0> { | 493 class LUnknownOSRValue V8_FINAL : public LTemplateInstruction<1, 0, 0> { |
498 public: | 494 public: |
499 virtual bool HasInterestingComment(LCodeGen* gen) const V8_OVERRIDE { | 495 virtual bool HasInterestingComment(LCodeGen* gen) const V8_OVERRIDE { |
500 return false; | 496 return false; |
501 } | 497 } |
502 DECLARE_CONCRETE_INSTRUCTION(UnknownOSRValue, "unknown-osr-value") | 498 DECLARE_CONCRETE_INSTRUCTION(UnknownOSRValue, "unknown-osr-value") |
503 }; | 499 }; |
(...skipping 2342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2846 | 2842 |
2847 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2843 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2848 }; | 2844 }; |
2849 | 2845 |
2850 #undef DECLARE_HYDROGEN_ACCESSOR | 2846 #undef DECLARE_HYDROGEN_ACCESSOR |
2851 #undef DECLARE_CONCRETE_INSTRUCTION | 2847 #undef DECLARE_CONCRETE_INSTRUCTION |
2852 | 2848 |
2853 } } // namespace v8::internal | 2849 } } // namespace v8::internal |
2854 | 2850 |
2855 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2851 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |