| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 V(ConstantT) \ | 84 V(ConstantT) \ |
| 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(Dummy) \ |
| 94 V(DummyUse) \ | 95 V(DummyUse) \ |
| 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) \ |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 413 void set_gap_instructions_size(int gap_instructions_size) { | 414 void set_gap_instructions_size(int gap_instructions_size) { |
| 414 gap_instructions_size_ = gap_instructions_size; | 415 gap_instructions_size_ = gap_instructions_size; |
| 415 } | 416 } |
| 416 int gap_instructions_size() { return gap_instructions_size_; } | 417 int gap_instructions_size() { return gap_instructions_size_; } |
| 417 | 418 |
| 418 private: | 419 private: |
| 419 int gap_instructions_size_; | 420 int gap_instructions_size_; |
| 420 }; | 421 }; |
| 421 | 422 |
| 422 | 423 |
| 424 class LDummy V8_FINAL : public LTemplateInstruction<1, 0, 0> { |
| 425 public: |
| 426 explicit LDummy() { } |
| 427 DECLARE_CONCRETE_INSTRUCTION(Dummy, "dummy") |
| 428 }; |
| 429 |
| 430 |
| 423 class LDummyUse V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 431 class LDummyUse V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
| 424 public: | 432 public: |
| 425 explicit LDummyUse(LOperand* value) { | 433 explicit LDummyUse(LOperand* value) { |
| 426 inputs_[0] = value; | 434 inputs_[0] = value; |
| 427 } | 435 } |
| 428 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") | 436 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") |
| 429 }; | 437 }; |
| 430 | 438 |
| 431 | 439 |
| 432 class LDeoptimize V8_FINAL : public LTemplateInstruction<0, 0, 0> { | 440 class LDeoptimize V8_FINAL : public LTemplateInstruction<0, 0, 0> { |
| (...skipping 2440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2873 | 2881 |
| 2874 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2882 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2875 }; | 2883 }; |
| 2876 | 2884 |
| 2877 #undef DECLARE_HYDROGEN_ACCESSOR | 2885 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2878 #undef DECLARE_CONCRETE_INSTRUCTION | 2886 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2879 | 2887 |
| 2880 } } // namespace v8::internal | 2888 } } // namespace v8::internal |
| 2881 | 2889 |
| 2882 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2890 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
| OLD | NEW |