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 1416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1427 } | 1427 } |
1428 | 1428 |
1429 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 1429 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
1430 | 1430 |
1431 DECLARE_CONCRETE_INSTRUCTION(Goto) | 1431 DECLARE_CONCRETE_INSTRUCTION(Goto) |
1432 }; | 1432 }; |
1433 | 1433 |
1434 | 1434 |
1435 class HDeoptimize V8_FINAL : public HTemplateControlInstruction<1, 0> { | 1435 class HDeoptimize V8_FINAL : public HTemplateControlInstruction<1, 0> { |
1436 public: | 1436 public: |
1437 static HInstruction* New(Zone* zone, | 1437 static HDeoptimize* New(Zone* zone, |
1438 HValue* context, | 1438 HValue* context, |
1439 const char* reason, | 1439 const char* reason, |
1440 Deoptimizer::BailoutType type, | 1440 Deoptimizer::BailoutType type, |
1441 HBasicBlock* unreachable_continuation) { | 1441 HBasicBlock* unreachable_continuation) { |
1442 return new(zone) HDeoptimize(reason, type, unreachable_continuation); | 1442 return new(zone) HDeoptimize(reason, type, unreachable_continuation); |
1443 } | 1443 } |
1444 | 1444 |
1445 virtual bool KnownSuccessorBlock(HBasicBlock** block) V8_OVERRIDE { | 1445 virtual bool KnownSuccessorBlock(HBasicBlock** block) V8_OVERRIDE { |
1446 *block = NULL; | 1446 *block = NULL; |
1447 return true; | 1447 return true; |
1448 } | 1448 } |
1449 | 1449 |
1450 virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE { | 1450 virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE { |
1451 return Representation::None(); | 1451 return Representation::None(); |
(...skipping 5975 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7427 virtual bool IsDeletable() const V8_OVERRIDE { return true; } | 7427 virtual bool IsDeletable() const V8_OVERRIDE { return true; } |
7428 }; | 7428 }; |
7429 | 7429 |
7430 | 7430 |
7431 #undef DECLARE_INSTRUCTION | 7431 #undef DECLARE_INSTRUCTION |
7432 #undef DECLARE_CONCRETE_INSTRUCTION | 7432 #undef DECLARE_CONCRETE_INSTRUCTION |
7433 | 7433 |
7434 } } // namespace v8::internal | 7434 } } // namespace v8::internal |
7435 | 7435 |
7436 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 7436 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
OLD | NEW |