Chromium Code Reviews| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 69 V(ApplyArguments) \ | 69 V(ApplyArguments) \ |
| 70 V(ArgumentsElements) \ | 70 V(ArgumentsElements) \ |
| 71 V(ArgumentsLength) \ | 71 V(ArgumentsLength) \ |
| 72 V(ArgumentsObject) \ | 72 V(ArgumentsObject) \ |
| 73 V(Bitwise) \ | 73 V(Bitwise) \ |
| 74 V(BitNot) \ | 74 V(BitNot) \ |
| 75 V(BlockEntry) \ | 75 V(BlockEntry) \ |
| 76 V(BoundsCheck) \ | 76 V(BoundsCheck) \ |
| 77 V(BoundsCheckBaseIndexInformation) \ | 77 V(BoundsCheckBaseIndexInformation) \ |
| 78 V(Branch) \ | 78 V(Branch) \ |
| 79 V(Break) \ | |
| 79 V(CallConstantFunction) \ | 80 V(CallConstantFunction) \ |
| 80 V(CallFunction) \ | 81 V(CallFunction) \ |
| 81 V(CallGlobal) \ | 82 V(CallGlobal) \ |
| 82 V(CallKeyed) \ | 83 V(CallKeyed) \ |
| 83 V(CallKnownGlobal) \ | 84 V(CallKnownGlobal) \ |
| 84 V(CallNamed) \ | 85 V(CallNamed) \ |
| 85 V(CallNew) \ | 86 V(CallNew) \ |
| 86 V(CallNewArray) \ | 87 V(CallNewArray) \ |
| 87 V(CallRuntime) \ | 88 V(CallRuntime) \ |
| 88 V(CallStub) \ | 89 V(CallStub) \ |
| (...skipping 1367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1456 class HSoftDeoptimize: public HTemplateInstruction<0> { | 1457 class HSoftDeoptimize: public HTemplateInstruction<0> { |
| 1457 public: | 1458 public: |
| 1458 virtual Representation RequiredInputRepresentation(int index) { | 1459 virtual Representation RequiredInputRepresentation(int index) { |
| 1459 return Representation::None(); | 1460 return Representation::None(); |
| 1460 } | 1461 } |
| 1461 | 1462 |
| 1462 DECLARE_CONCRETE_INSTRUCTION(SoftDeoptimize) | 1463 DECLARE_CONCRETE_INSTRUCTION(SoftDeoptimize) |
| 1463 }; | 1464 }; |
| 1464 | 1465 |
| 1465 | 1466 |
| 1467 class HBreak: public HTemplateInstruction<0> { | |
|
Jakob Kummerow
2013/05/15 11:23:36
I'd prefer to call this instruction HDebugBreak (a
| |
| 1468 public: | |
| 1469 virtual Representation RequiredInputRepresentation(int index) { | |
| 1470 return Representation::None(); | |
| 1471 } | |
| 1472 | |
| 1473 DECLARE_CONCRETE_INSTRUCTION(Break) | |
| 1474 }; | |
| 1475 | |
| 1476 | |
| 1466 class HDeoptimize: public HControlInstruction { | 1477 class HDeoptimize: public HControlInstruction { |
| 1467 public: | 1478 public: |
| 1468 HDeoptimize(int environment_length, Zone* zone) | 1479 HDeoptimize(int environment_length, Zone* zone) |
| 1469 : values_(environment_length, zone) { } | 1480 : values_(environment_length, zone) { } |
| 1470 | 1481 |
| 1471 virtual Representation RequiredInputRepresentation(int index) { | 1482 virtual Representation RequiredInputRepresentation(int index) { |
| 1472 return Representation::None(); | 1483 return Representation::None(); |
| 1473 } | 1484 } |
| 1474 | 1485 |
| 1475 virtual int OperandCount() { return values_.length(); } | 1486 virtual int OperandCount() { return values_.length(); } |
| (...skipping 4973 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 6449 virtual bool IsDeletable() const { return true; } | 6460 virtual bool IsDeletable() const { return true; } |
| 6450 }; | 6461 }; |
| 6451 | 6462 |
| 6452 | 6463 |
| 6453 #undef DECLARE_INSTRUCTION | 6464 #undef DECLARE_INSTRUCTION |
| 6454 #undef DECLARE_CONCRETE_INSTRUCTION | 6465 #undef DECLARE_CONCRETE_INSTRUCTION |
| 6455 | 6466 |
| 6456 } } // namespace v8::internal | 6467 } } // namespace v8::internal |
| 6457 | 6468 |
| 6458 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 6469 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
| OLD | NEW |