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 1525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1536 ToBooleanStub::Types, | 1536 ToBooleanStub::Types, |
1537 HBasicBlock*, HBasicBlock*); | 1537 HBasicBlock*, HBasicBlock*); |
1538 | 1538 |
1539 virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE { | 1539 virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE { |
1540 return Representation::None(); | 1540 return Representation::None(); |
1541 } | 1541 } |
1542 virtual Representation observed_input_representation(int index) V8_OVERRIDE; | 1542 virtual Representation observed_input_representation(int index) V8_OVERRIDE; |
1543 | 1543 |
1544 virtual bool KnownSuccessorBlock(HBasicBlock** block) V8_OVERRIDE; | 1544 virtual bool KnownSuccessorBlock(HBasicBlock** block) V8_OVERRIDE; |
1545 | 1545 |
| 1546 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
| 1547 |
1546 ToBooleanStub::Types expected_input_types() const { | 1548 ToBooleanStub::Types expected_input_types() const { |
1547 return expected_input_types_; | 1549 return expected_input_types_; |
1548 } | 1550 } |
1549 | 1551 |
1550 DECLARE_CONCRETE_INSTRUCTION(Branch) | 1552 DECLARE_CONCRETE_INSTRUCTION(Branch) |
1551 | 1553 |
1552 private: | 1554 private: |
1553 HBranch(HValue* value, | 1555 HBranch(HValue* value, |
1554 ToBooleanStub::Types expected_input_types = ToBooleanStub::Types(), | 1556 ToBooleanStub::Types expected_input_types = ToBooleanStub::Types(), |
1555 HBasicBlock* true_target = NULL, | 1557 HBasicBlock* true_target = NULL, |
(...skipping 6008 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7564 virtual bool IsDeletable() const V8_OVERRIDE { return true; } | 7566 virtual bool IsDeletable() const V8_OVERRIDE { return true; } |
7565 }; | 7567 }; |
7566 | 7568 |
7567 | 7569 |
7568 #undef DECLARE_INSTRUCTION | 7570 #undef DECLARE_INSTRUCTION |
7569 #undef DECLARE_CONCRETE_INSTRUCTION | 7571 #undef DECLARE_CONCRETE_INSTRUCTION |
7570 | 7572 |
7571 } } // namespace v8::internal | 7573 } } // namespace v8::internal |
7572 | 7574 |
7573 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 7575 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
OLD | NEW |