| 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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 void set_gap_instructions_size(int gap_instructions_size) { | 416 void set_gap_instructions_size(int gap_instructions_size) { |
| 416 gap_instructions_size_ = gap_instructions_size; | 417 gap_instructions_size_ = gap_instructions_size; |
| 417 } | 418 } |
| 418 int gap_instructions_size() { return gap_instructions_size_; } | 419 int gap_instructions_size() { return gap_instructions_size_; } |
| 419 | 420 |
| 420 private: | 421 private: |
| 421 int gap_instructions_size_; | 422 int gap_instructions_size_; |
| 422 }; | 423 }; |
| 423 | 424 |
| 424 | 425 |
| 426 class LDummy V8_FINAL : public LTemplateInstruction<1, 0, 0> { |
| 427 public: |
| 428 explicit LDummy() { } |
| 429 DECLARE_CONCRETE_INSTRUCTION(Dummy, "dummy") |
| 430 }; |
| 431 |
| 432 |
| 425 class LDummyUse V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 433 class LDummyUse V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
| 426 public: | 434 public: |
| 427 explicit LDummyUse(LOperand* value) { | 435 explicit LDummyUse(LOperand* value) { |
| 428 inputs_[0] = value; | 436 inputs_[0] = value; |
| 429 } | 437 } |
| 430 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") | 438 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") |
| 431 }; | 439 }; |
| 432 | 440 |
| 433 | 441 |
| 434 class LDeoptimize V8_FINAL : public LTemplateInstruction<0, 0, 0> { | 442 class LDeoptimize V8_FINAL : public LTemplateInstruction<0, 0, 0> { |
| (...skipping 2276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2711 | 2719 |
| 2712 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2720 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2713 }; | 2721 }; |
| 2714 | 2722 |
| 2715 #undef DECLARE_HYDROGEN_ACCESSOR | 2723 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2716 #undef DECLARE_CONCRETE_INSTRUCTION | 2724 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2717 | 2725 |
| 2718 } } // namespace v8::int | 2726 } } // namespace v8::int |
| 2719 | 2727 |
| 2720 #endif // V8_X64_LITHIUM_X64_H_ | 2728 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |