| 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 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 413 public: | 413 public: |
| 414 explicit LDummyUse(LOperand* value) { | 414 explicit LDummyUse(LOperand* value) { |
| 415 inputs_[0] = value; | 415 inputs_[0] = value; |
| 416 } | 416 } |
| 417 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") | 417 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") |
| 418 }; | 418 }; |
| 419 | 419 |
| 420 | 420 |
| 421 class LDeoptimize: public LTemplateInstruction<0, 0, 0> { | 421 class LDeoptimize: public LTemplateInstruction<0, 0, 0> { |
| 422 public: | 422 public: |
| 423 explicit LDeoptimize(bool soft_deopt = false) { |
| 424 soft_deopt_ = soft_deopt; |
| 425 } |
| 426 |
| 427 bool is_soft_deopt() const { return soft_deopt_; } |
| 423 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize") | 428 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize") |
| 429 |
| 430 private: |
| 431 bool soft_deopt_; |
| 424 }; | 432 }; |
| 425 | 433 |
| 426 | 434 |
| 427 class LLabel: public LGap { | 435 class LLabel: public LGap { |
| 428 public: | 436 public: |
| 429 explicit LLabel(HBasicBlock* block) | 437 explicit LLabel(HBasicBlock* block) |
| 430 : LGap(block), replacement_(NULL) { } | 438 : LGap(block), replacement_(NULL) { } |
| 431 | 439 |
| 432 virtual bool HasInterestingComment(LCodeGen* gen) const { return false; } | 440 virtual bool HasInterestingComment(LCodeGen* gen) const { return false; } |
| 433 DECLARE_CONCRETE_INSTRUCTION(Label, "label") | 441 DECLARE_CONCRETE_INSTRUCTION(Label, "label") |
| (...skipping 2553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2987 | 2995 |
| 2988 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2996 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2989 }; | 2997 }; |
| 2990 | 2998 |
| 2991 #undef DECLARE_HYDROGEN_ACCESSOR | 2999 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2992 #undef DECLARE_CONCRETE_INSTRUCTION | 3000 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2993 | 3001 |
| 2994 } } // namespace v8::internal | 3002 } } // namespace v8::internal |
| 2995 | 3003 |
| 2996 #endif // V8_IA32_LITHIUM_IA32_H_ | 3004 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |