| 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(FunctionLiteral) \ | 100 V(FunctionLiteral) \ |
| 100 V(GetCachedArrayIndex) \ | 101 V(GetCachedArrayIndex) \ |
| 101 V(GlobalObject) \ | 102 V(GlobalObject) \ |
| 102 V(GlobalReceiver) \ | 103 V(GlobalReceiver) \ |
| 103 V(Goto) \ | 104 V(Goto) \ |
| 104 V(HasCachedArrayIndexAndBranch) \ | 105 V(HasCachedArrayIndexAndBranch) \ |
| 105 V(HasInstanceTypeAndBranch) \ | 106 V(HasInstanceTypeAndBranch) \ |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 void set_gap_instructions_size(int gap_instructions_size) { | 395 void set_gap_instructions_size(int gap_instructions_size) { |
| 395 gap_instructions_size_ = gap_instructions_size; | 396 gap_instructions_size_ = gap_instructions_size; |
| 396 } | 397 } |
| 397 int gap_instructions_size() { return gap_instructions_size_; } | 398 int gap_instructions_size() { return gap_instructions_size_; } |
| 398 | 399 |
| 399 private: | 400 private: |
| 400 int gap_instructions_size_; | 401 int gap_instructions_size_; |
| 401 }; | 402 }; |
| 402 | 403 |
| 403 | 404 |
| 405 class LDummyUse: public LTemplateInstruction<1, 1, 0> { |
| 406 public: |
| 407 explicit LDummyUse(LOperand* value) { |
| 408 inputs_[0] = value; |
| 409 } |
| 410 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") |
| 411 }; |
| 412 |
| 413 |
| 404 class LDeoptimize: public LTemplateInstruction<0, 0, 0> { | 414 class LDeoptimize: public LTemplateInstruction<0, 0, 0> { |
| 405 public: | 415 public: |
| 406 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize") | 416 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize") |
| 407 }; | 417 }; |
| 408 | 418 |
| 409 | 419 |
| 410 class LLabel: public LGap { | 420 class LLabel: public LGap { |
| 411 public: | 421 public: |
| 412 explicit LLabel(HBasicBlock* block) | 422 explicit LLabel(HBasicBlock* block) |
| 413 : LGap(block), replacement_(NULL) { } | 423 : LGap(block), replacement_(NULL) { } |
| (...skipping 2165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2579 | 2589 |
| 2580 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2590 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2581 }; | 2591 }; |
| 2582 | 2592 |
| 2583 #undef DECLARE_HYDROGEN_ACCESSOR | 2593 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2584 #undef DECLARE_CONCRETE_INSTRUCTION | 2594 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2585 | 2595 |
| 2586 } } // namespace v8::internal | 2596 } } // namespace v8::internal |
| 2587 | 2597 |
| 2588 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2598 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
| OLD | NEW |