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 471 matching lines...) Loading... |
482 class LCallStub V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 482 class LCallStub V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
483 public: | 483 public: |
484 explicit LCallStub(LOperand* context) { | 484 explicit LCallStub(LOperand* context) { |
485 inputs_[0] = context; | 485 inputs_[0] = context; |
486 } | 486 } |
487 | 487 |
488 LOperand* context() { return inputs_[0]; } | 488 LOperand* context() { return inputs_[0]; } |
489 | 489 |
490 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub") | 490 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub") |
491 DECLARE_HYDROGEN_ACCESSOR(CallStub) | 491 DECLARE_HYDROGEN_ACCESSOR(CallStub) |
492 | |
493 TranscendentalCache::Type transcendental_type() { | |
494 return hydrogen()->transcendental_type(); | |
495 } | |
496 }; | 492 }; |
497 | 493 |
498 | 494 |
499 class LUnknownOSRValue V8_FINAL : public LTemplateInstruction<1, 0, 0> { | 495 class LUnknownOSRValue V8_FINAL : public LTemplateInstruction<1, 0, 0> { |
500 public: | 496 public: |
501 virtual bool HasInterestingComment(LCodeGen* gen) const V8_OVERRIDE { | 497 virtual bool HasInterestingComment(LCodeGen* gen) const V8_OVERRIDE { |
502 return false; | 498 return false; |
503 } | 499 } |
504 DECLARE_CONCRETE_INSTRUCTION(UnknownOSRValue, "unknown-osr-value") | 500 DECLARE_CONCRETE_INSTRUCTION(UnknownOSRValue, "unknown-osr-value") |
505 }; | 501 }; |
(...skipping 2295 matching lines...) Loading... |
2801 | 2797 |
2802 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2798 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2803 }; | 2799 }; |
2804 | 2800 |
2805 #undef DECLARE_HYDROGEN_ACCESSOR | 2801 #undef DECLARE_HYDROGEN_ACCESSOR |
2806 #undef DECLARE_CONCRETE_INSTRUCTION | 2802 #undef DECLARE_CONCRETE_INSTRUCTION |
2807 | 2803 |
2808 } } // namespace v8::int | 2804 } } // namespace v8::int |
2809 | 2805 |
2810 #endif // V8_X64_LITHIUM_X64_H_ | 2806 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |