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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 V(CmpT) \ | 86 V(CmpT) \ |
87 V(ConstantD) \ | 87 V(ConstantD) \ |
88 V(ConstantI) \ | 88 V(ConstantI) \ |
89 V(ConstantT) \ | 89 V(ConstantT) \ |
90 V(Context) \ | 90 V(Context) \ |
91 V(DeclareGlobals) \ | 91 V(DeclareGlobals) \ |
92 V(DeleteProperty) \ | 92 V(DeleteProperty) \ |
93 V(Deoptimize) \ | 93 V(Deoptimize) \ |
94 V(DivI) \ | 94 V(DivI) \ |
95 V(DoubleToI) \ | 95 V(DoubleToI) \ |
| 96 V(DummyUse) \ |
96 V(ElementsKind) \ | 97 V(ElementsKind) \ |
97 V(FastLiteral) \ | 98 V(FastLiteral) \ |
98 V(FixedArrayBaseLength) \ | 99 V(FixedArrayBaseLength) \ |
99 V(MapEnumLength) \ | 100 V(MapEnumLength) \ |
100 V(FunctionLiteral) \ | 101 V(FunctionLiteral) \ |
101 V(GetCachedArrayIndex) \ | 102 V(GetCachedArrayIndex) \ |
102 V(GlobalObject) \ | 103 V(GlobalObject) \ |
103 V(GlobalReceiver) \ | 104 V(GlobalReceiver) \ |
104 V(Goto) \ | 105 V(Goto) \ |
105 V(HasCachedArrayIndexAndBranch) \ | 106 V(HasCachedArrayIndexAndBranch) \ |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 void set_gap_instructions_size(int gap_instructions_size) { | 398 void set_gap_instructions_size(int gap_instructions_size) { |
398 gap_instructions_size_ = gap_instructions_size; | 399 gap_instructions_size_ = gap_instructions_size; |
399 } | 400 } |
400 int gap_instructions_size() { return gap_instructions_size_; } | 401 int gap_instructions_size() { return gap_instructions_size_; } |
401 | 402 |
402 private: | 403 private: |
403 int gap_instructions_size_; | 404 int gap_instructions_size_; |
404 }; | 405 }; |
405 | 406 |
406 | 407 |
| 408 class LDummyUse: public LTemplateInstruction<1, 1, 0> { |
| 409 public: |
| 410 explicit LDummyUse(LOperand* value) { |
| 411 inputs_[0] = value; |
| 412 } |
| 413 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") |
| 414 }; |
| 415 |
| 416 |
407 class LDeoptimize: public LTemplateInstruction<0, 0, 0> { | 417 class LDeoptimize: public LTemplateInstruction<0, 0, 0> { |
408 public: | 418 public: |
409 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize") | 419 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize") |
410 }; | 420 }; |
411 | 421 |
412 | 422 |
413 class LLabel: public LGap { | 423 class LLabel: public LGap { |
414 public: | 424 public: |
415 explicit LLabel(HBasicBlock* block) | 425 explicit LLabel(HBasicBlock* block) |
416 : LGap(block), replacement_(NULL) { } | 426 : LGap(block), replacement_(NULL) { } |
(...skipping 2120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2537 | 2547 |
2538 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2548 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2539 }; | 2549 }; |
2540 | 2550 |
2541 #undef DECLARE_HYDROGEN_ACCESSOR | 2551 #undef DECLARE_HYDROGEN_ACCESSOR |
2542 #undef DECLARE_CONCRETE_INSTRUCTION | 2552 #undef DECLARE_CONCRETE_INSTRUCTION |
2543 | 2553 |
2544 } } // namespace v8::int | 2554 } } // namespace v8::int |
2545 | 2555 |
2546 #endif // V8_X64_LITHIUM_X64_H_ | 2556 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |