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 1285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1296 : reason_(reason), type_(type) {} | 1296 : reason_(reason), type_(type) {} |
1297 | 1297 |
1298 const char* reason_; | 1298 const char* reason_; |
1299 Deoptimizer::BailoutType type_; | 1299 Deoptimizer::BailoutType type_; |
1300 }; | 1300 }; |
1301 | 1301 |
1302 | 1302 |
1303 // Inserts an int3/stop break instruction for debugging purposes. | 1303 // Inserts an int3/stop break instruction for debugging purposes. |
1304 class HDebugBreak V8_FINAL : public HTemplateInstruction<0> { | 1304 class HDebugBreak V8_FINAL : public HTemplateInstruction<0> { |
1305 public: | 1305 public: |
1306 DECLARE_INSTRUCTION_FACTORY_P0(HDebugBreak); | |
1307 | |
1308 virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE { | 1306 virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE { |
1309 return Representation::None(); | 1307 return Representation::None(); |
1310 } | 1308 } |
1311 | 1309 |
1312 DECLARE_CONCRETE_INSTRUCTION(DebugBreak) | 1310 DECLARE_CONCRETE_INSTRUCTION(DebugBreak) |
1313 }; | 1311 }; |
1314 | 1312 |
1315 | 1313 |
1316 class HGoto V8_FINAL : public HTemplateControlInstruction<1, 0> { | 1314 class HGoto V8_FINAL : public HTemplateControlInstruction<1, 0> { |
1317 public: | 1315 public: |
(...skipping 5653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6971 virtual bool IsDeletable() const V8_OVERRIDE { return true; } | 6969 virtual bool IsDeletable() const V8_OVERRIDE { return true; } |
6972 }; | 6970 }; |
6973 | 6971 |
6974 | 6972 |
6975 #undef DECLARE_INSTRUCTION | 6973 #undef DECLARE_INSTRUCTION |
6976 #undef DECLARE_CONCRETE_INSTRUCTION | 6974 #undef DECLARE_CONCRETE_INSTRUCTION |
6977 | 6975 |
6978 } } // namespace v8::internal | 6976 } } // namespace v8::internal |
6979 | 6977 |
6980 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 6978 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
OLD | NEW |