| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 V(Context) \ | 85 V(Context) \ |
| 86 V(DateField) \ | 86 V(DateField) \ |
| 87 V(DebugBreak) \ | 87 V(DebugBreak) \ |
| 88 V(DeclareGlobals) \ | 88 V(DeclareGlobals) \ |
| 89 V(Deoptimize) \ | 89 V(Deoptimize) \ |
| 90 V(DivI) \ | 90 V(DivI) \ |
| 91 V(DoubleToI) \ | 91 V(DoubleToI) \ |
| 92 V(DoubleToSmi) \ | 92 V(DoubleToSmi) \ |
| 93 V(Drop) \ | 93 V(Drop) \ |
| 94 V(DummyUse) \ | 94 V(DummyUse) \ |
| 95 V(Dummy) \ |
| 95 V(ElementsKind) \ | 96 V(ElementsKind) \ |
| 96 V(ForInCacheArray) \ | 97 V(ForInCacheArray) \ |
| 97 V(ForInPrepareMap) \ | 98 V(ForInPrepareMap) \ |
| 98 V(FunctionLiteral) \ | 99 V(FunctionLiteral) \ |
| 99 V(GetCachedArrayIndex) \ | 100 V(GetCachedArrayIndex) \ |
| 100 V(GlobalObject) \ | 101 V(GlobalObject) \ |
| 101 V(GlobalReceiver) \ | 102 V(GlobalReceiver) \ |
| 102 V(Goto) \ | 103 V(Goto) \ |
| 103 V(HasCachedArrayIndexAndBranch) \ | 104 V(HasCachedArrayIndexAndBranch) \ |
| 104 V(HasInstanceTypeAndBranch) \ | 105 V(HasInstanceTypeAndBranch) \ |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 void set_gap_instructions_size(int gap_instructions_size) { | 417 void set_gap_instructions_size(int gap_instructions_size) { |
| 417 gap_instructions_size_ = gap_instructions_size; | 418 gap_instructions_size_ = gap_instructions_size; |
| 418 } | 419 } |
| 419 int gap_instructions_size() { return gap_instructions_size_; } | 420 int gap_instructions_size() { return gap_instructions_size_; } |
| 420 | 421 |
| 421 private: | 422 private: |
| 422 int gap_instructions_size_; | 423 int gap_instructions_size_; |
| 423 }; | 424 }; |
| 424 | 425 |
| 425 | 426 |
| 427 class LDummy V8_FINAL : public LTemplateInstruction<1, 0, 0> { |
| 428 public: |
| 429 explicit LDummy() { } |
| 430 DECLARE_CONCRETE_INSTRUCTION(Dummy, "dummy") |
| 431 }; |
| 432 |
| 433 |
| 426 class LDummyUse V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 434 class LDummyUse V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
| 427 public: | 435 public: |
| 428 explicit LDummyUse(LOperand* value) { | 436 explicit LDummyUse(LOperand* value) { |
| 429 inputs_[0] = value; | 437 inputs_[0] = value; |
| 430 } | 438 } |
| 431 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") | 439 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") |
| 432 }; | 440 }; |
| 433 | 441 |
| 434 | 442 |
| 435 class LDeoptimize V8_FINAL : public LTemplateInstruction<0, 0, 0> { | 443 class LDeoptimize V8_FINAL : public LTemplateInstruction<0, 0, 0> { |
| (...skipping 2286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2722 | 2730 |
| 2723 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2731 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2724 }; | 2732 }; |
| 2725 | 2733 |
| 2726 #undef DECLARE_HYDROGEN_ACCESSOR | 2734 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2727 #undef DECLARE_CONCRETE_INSTRUCTION | 2735 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2728 | 2736 |
| 2729 } } // namespace v8::int | 2737 } } // namespace v8::int |
| 2730 | 2738 |
| 2731 #endif // V8_X64_LITHIUM_X64_H_ | 2739 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |